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
43f5ef05
Commit
43f5ef05
authored
Apr 27, 2020
by
LianaHus
Committed by
Liana Husikyan
Apr 27, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style more readable
parent
62424e83
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
56 deletions
+26
-56
app.js
src/app.js
+8
-6
vertical-icons.js
src/app/components/vertical-icons.js
+18
-50
No files found.
src/app.js
View file @
43f5ef05
...
@@ -123,12 +123,14 @@ class App {
...
@@ -123,12 +123,14 @@ class App {
var
self
=
this
var
self
=
this
self
.
_components
=
{}
self
.
_components
=
{}
self
.
_view
=
{}
self
.
_view
=
{}
self
.
_view
.
splashScreen
=
yo
`<div class=
${
css
.
centered
}
>
self
.
_view
.
splashScreen
=
yo
`
${
basicLogo
()}
<div class=
${
css
.
centered
}
>
<div class="info-secondary" style="text-align:center">
${
basicLogo
()}
REMIX IDE
<div class="info-secondary" style="text-align:center">
</div>
REMIX IDE
</div>`
</div>
</div>
`
document
.
body
.
appendChild
(
self
.
_view
.
splashScreen
)
document
.
body
.
appendChild
(
self
.
_view
.
splashScreen
)
// setup storage
// setup storage
...
...
src/app/components/vertical-icons.js
View file @
43f5ef05
...
@@ -224,57 +224,25 @@ export class VerticalIcons extends Plugin {
...
@@ -224,57 +224,25 @@ export class VerticalIcons extends Plugin {
render
()
{
render
()
{
let
home
=
yo
`
let
home
=
yo
`
<div
<div
class="
${
css
.
homeIcon
}
"
class="
${
css
.
homeIcon
}
"
onclick="
${(
e
)
=>
{
onclick="
${(
e
)
=>
{
this
.
appManager
.
ensureActivated
(
'home'
)
this
.
appManager
.
ensureActivated
(
'home'
)
}}
"
}}
"
plugin="
home
" title="
Home
"
plugin="
home
" title="
Home
"
data-id="
verticalIconsHomeIcon
"
data-id="
verticalIconsHomeIcon
"
>
>
${basicLogo()}
${basicLogo()}
</div>
</div>`
this.iconKind['fileexplorer'] = yo`
<div id='fileExplorerIcons' data-id="
verticalIconsFileExplorerIcons
">
</div>
`
this.iconKind['compiler'] = yo`
<div id='compileIcons'>
</div>
`
this.iconKind['udapp'] = yo`
<div id='runIcons'>
</div>
`
this.iconKind['testing'] = yo`
<div id='testingIcons'>
</div>
`
this.iconKind['analysis'] = yo`
<div id='analysisIcons'>
</div>
`
this.iconKind['debugging'] = yo`
<div id='debuggingIcons' data-id="
verticalIconsDebuggingIcons
">
</div>
`
this.iconKind['none'] = yo`
<div id='otherIcons'>
</div>
`
this.iconKind['settings'] = yo`
<div id='settingsIcons' data-id="
verticalIconsSettingsIcons
">
</div>
`
`
this.iconKind['fileexplorer'] = yo`<div id='fileExplorerIcons' data-id="
verticalIconsFileExplorerIcons
"></div>`
this.iconKind['compiler'] = yo`<div id='compileIcons'></div>`
this.iconKind['udapp'] = yo`<div id='runIcons'></div>`
this.iconKind['testing'] = yo`<div id='testingIcons'></div>`
this.iconKind['analysis'] = yo`<div id='analysisIcons'></div>`
this.iconKind['debugging'] = yo`<div id='debuggingIcons' data-id="
verticalIconsDebuggingIcons
"></div>`
this.iconKind['none'] = yo`<div id='otherIcons'></div>`
this.iconKind['settings'] = yo`<div id='settingsIcons' data-id="
verticalIconsSettingsIcons
"></div>`
this.view = yo`
this.view = yo`
<div class=${css.icons}>
<div class=${css.icons}>
...
...
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