Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
8ca43113
Commit
8ca43113
authored
Mar 27, 2019
by
LianaHus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-restyleing of landing page.
-bg color for tabs
parent
26e4bd47
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
16 deletions
+7
-16
tab-proxy.js
src/app/panels/tab-proxy.js
+1
-1
landing-page.js
src/app/ui/landing-page/landing-page.js
+3
-12
section.js
src/app/ui/landing-page/section.js
+2
-2
dropdown-styles.js
src/app/ui/styles/dropdown-styles.js
+1
-1
No files found.
src/app/panels/tab-proxy.js
View file @
8ca43113
...
...
@@ -107,7 +107,7 @@ export class TabProxy {
</div>
`
let
tabsbar
=
yo
`
<div class="d-flex">
<div class="d-flex
bg-light
">
<div class="m-1">
<span class="p-1">
<i class="m-1 fa fa-plus" style="color: var(--text-dark)" onclick=
${
increase
}
aria-hidden="true" title="increase editor font size"></i>
...
...
src/app/ui/landing-page/landing-page.js
View file @
8ca43113
...
...
@@ -28,6 +28,7 @@ var css = csjs`
height : 100%;
padding : 20px;
background-color: var(--bg-light);
margin-left : 75px;
}
.im:hover {
}
...
...
@@ -61,18 +62,10 @@ export class LandingPage extends ApiFactory {
var
actionsLearn
=
[
{
label
:
'Remix documentation'
,
type
:
`link`
,
payload
:
`https://remix.readthedocs.io/en/latest/#`
},
{
label
:
'GitHub repository'
,
type
:
`link`
,
payload
:
`https://github.com/ethereum/remix-ide`
},
{
label
:
'Access local file system. remixd'
,
type
:
`link`
,
payload
:
`https://remix.readthedocs.io/en/latest/tutorial_remixd_filesystem.html`
},
{
label
:
'npm module for remixd'
,
type
:
`link`
,
payload
:
`https://www.npmjs.com/package/remixd`
},
{
label
:
'Medium posts'
,
type
:
`link`
,
payload
:
`https://medium.com/remix-ide`
},
{
label
:
'Tutorials'
,
type
:
`link`
,
payload
:
`https://github.com/ethereum/remix-workshops`
}
]
var
actionsPlugins
=
[
{
label
:
'Remix plugins & modules'
,
type
:
`link`
,
payload
:
`https://github.com/ethereum/remix-plugin/blob/master/readme.md`
},
{
label
:
'Repository on GitHub'
,
type
:
`link`
,
payload
:
`https://github.com/ethereum/remix-plugin`
},
{
label
:
'Examples'
,
type
:
`link`
,
payload
:
`https://github.com/ethereum/remix-plugin/tree/master/examples`
},
{
label
:
'Build a plugin for Remix'
,
type
:
`link`
,
payload
:
`https://medium.com/remix-ide/build-a-plugin-for-remix-90d43b209c5a`
}
{
label
:
'Plugins & modules'
,
type
:
`link`
,
payload
:
`https://github.com/ethereum/remix-plugin/blob/master/readme.md`
},
{
label
:
'GitHub repo'
,
type
:
`link`
,
payload
:
`https://github.com/ethereum/remix-ide`
},
]
var
actionsHelp
=
[
...
...
@@ -83,7 +76,6 @@ export class LandingPage extends ApiFactory {
// var sectionStart = new Section('Start', actionsStart)
var
sectionLearn
=
new
Section
(
'Learn'
,
actionsLearn
)
var
sectionPlugins
=
new
Section
(
'Plugins'
,
actionsPlugins
)
var
sectionHelp
=
new
Section
(
'Help'
,
actionsHelp
)
var
sectionsWorkspaces
=
[]
...
...
@@ -109,7 +101,6 @@ export class LandingPage extends ApiFactory {
this
.
sections
.
push
(
sectionWorkspace
)
// this.sections.push(sectionStart)
this
.
sections
.
push
(
sectionLearn
)
this
.
sections
.
push
(
sectionPlugins
)
this
.
sections
.
push
(
sectionHelp
)
}
...
...
src/app/ui/landing-page/section.js
View file @
8ca43113
...
...
@@ -25,12 +25,12 @@ class Section {
constructor
(
title
,
actions
)
{
this
.
title
=
title
this
.
actions
=
actions
this
.
cardStyle
=
(
this
.
title
===
'Workspaces'
)
?
'bg-success text-light'
:
'bg-light text-dark
border-dark
'
this
.
cardStyle
=
(
this
.
title
===
'Workspaces'
)
?
'bg-success text-light'
:
'bg-light text-dark'
}
render
()
{
let
sectionLook
=
yo
`
<div class="card
${
this
.
cardStyle
}
p-3" style="min-width: 300px;">
<div class="card
${
this
.
cardStyle
}
p-3" style="min-width: 300px;
min-height: 190px;
">
<div class="card-header font-weight-bold">
${
this
.
title
}
</div>
<p></p>
</div>
...
...
src/app/ui/styles/dropdown-styles.js
View file @
8ca43113
...
...
@@ -33,7 +33,7 @@ var css = csjs`
display : flex;
flex-direction : column;
align-items : end;
top : 3
0
px;
top : 3
2
px;
right : 0;
width : 230px;
border : 1px solid var(--dark);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment