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
c54bcbce
Unverified
Commit
c54bcbce
authored
Jul 09, 2019
by
Liana Husikyan
Committed by
GitHub
Jul 09, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2147 from ethereum/removeRemoveingPlugins
remove cleanup of plugins before new workspace load
parents
851292f3
8c45ea38
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
77 deletions
+1
-77
landing-page.js
src/app/ui/landing-page/landing-page.js
+1
-7
section.js
src/app/ui/landing-page/section.js
+0
-70
No files found.
src/app/ui/landing-page/landing-page.js
View file @
c54bcbce
...
...
@@ -23,14 +23,8 @@ let css = csjs`
.homeContainer {
user-select:none;
}
.jumbotronContainer {
/* margin: 50px 60px 0; */
/* width: 80%; */
}
.thisJumboton {
padding: 2.5rem 0rem;
/* display: flex;*/
/* justify-content: space-between;*/
margin-bottom: 4rem;
}
.hpLogoContainer {
...
...
@@ -183,7 +177,7 @@ export class LandingPage extends ViewPlugin {
document
.
location
.
reload
()
}
let
container
=
yo
`<div class="
${
css
.
homeContainer
}
bg-light">
<div
class="
${
css
.
jumbotronContainer
}
"
>
<div>
<div class="alert alert-info clearfix
${
css
.
thisJumboton
}
">
<div class="
${
css
.
headlineContainer
}
">
<h2 class="">The new layout has arrived</h2>
...
...
src/app/ui/landing-page/section.js
deleted
100644 → 0
View file @
851292f3
let
yo
=
require
(
'yo-yo'
)
let
csjs
=
require
(
'csjs-inject'
)
var
css
=
csjs
`
.text {
cursor: pointer;
font-weight: normal;
max-width: 300px;
user-select: none;
padding-left: 14px;
}
.text:hover {
font-weight: bold;
}
.link {
cursor: pointer;
font-weight: normal;
text-decoration : none;
user-select: none;
padding-left: 14px;
}
.link:hover {
font-weight: bold;
text-decoration : none;
}
`
class
Section
{
constructor
(
title
,
actions
)
{
this
.
title
=
title
this
.
actions
=
actions
}
render
()
{
let
sectionLook
=
yo
`
<div class="card border-0 bg-light text-dark p-1" style="min-width: 300px; min-height: 180px;">
<div class="card-header h5 font-weight-bold" style="user-select: none;">
${
this
.
title
}
</div>
<p></p>
</div>
`
for
(
var
i
=
0
;
i
<
this
.
actions
.
length
;
i
++
)
{
if
(
this
.
actions
[
i
].
type
===
`callback`
)
{
sectionLook
.
appendChild
(
yo
`
<div>
<span class="
${
css
.
text
}
h6 text-dark" onclick=
${
this
.
actions
[
i
].
payload
}
>
${
this
.
actions
[
i
].
label
}
</span>
</div>
`
)
}
else
if
(
this
.
actions
[
i
].
type
===
`link`
)
{
sectionLook
.
appendChild
(
yo
`
<div >
<a class="
${
css
.
link
}
text-dark h6 text-decoration-none" href=
${
this
.
actions
[
i
].
payload
}
target="_blank" >
${
this
.
actions
[
i
].
label
}
</a>
</div>
`
)
}
}
if
(
!
this
.
_view
)
{
this
.
_view
=
sectionLook
}
return
this
.
_view
}
}
module
.
exports
=
Section
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