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
812cc09e
Commit
812cc09e
authored
Apr 05, 2019
by
LianaHus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
terminal bg and landing page restyling
parent
96e92ed7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
7 deletions
+13
-7
terminal-styles.js
src/app/panels/styles/terminal-styles.js
+0
-2
terminal.js
src/app/panels/terminal.js
+9
-1
landing-page.js
src/app/ui/landing-page/landing-page.js
+0
-0
section.js
src/app/ui/landing-page/section.js
+4
-4
No files found.
src/app/panels/styles/terminal-styles.js
View file @
812cc09e
...
@@ -20,7 +20,6 @@ var css = csjs`
...
@@ -20,7 +20,6 @@ var css = csjs`
display : flex;
display : flex;
align-items : center;
align-items : center;
width : 100%;
width : 100%;
border-bottom-style : ridge;
max-height : 35px;
max-height : 35px;
}
}
.clear {
.clear {
...
@@ -148,7 +147,6 @@ var css = csjs`
...
@@ -148,7 +147,6 @@ var css = csjs`
left : 0;
left : 0;
cursor : ns-resize;
cursor : ns-resize;
z-index : 999;
z-index : 999;
border-top : 2px solid var(--primary);
}
}
.ghostbar {
.ghostbar {
position : absolute;
position : absolute;
...
...
src/app/panels/terminal.js
View file @
812cc09e
...
@@ -156,6 +156,14 @@ class Terminal {
...
@@ -156,6 +156,14 @@ class Terminal {
`
`
self
.
_view
.
term
=
yo
`
self
.
_view
.
term
=
yo
`
<div class="
${
css
.
terminal_container
}
" onscroll=
${
throttle
(
reattach
,
10
)}
onclick=
${
focusinput
}
>
<div class="
${
css
.
terminal_container
}
" onscroll=
${
throttle
(
reattach
,
10
)}
onclick=
${
focusinput
}
>
<div style="
background-color: grey;
position: absolute;
height: 100%;
width: 100%;
opacity: 0.1;
z-index: -1;
"></div>
<div class=
${
css
.
terminal
}
>
<div class=
${
css
.
terminal
}
>
${
self
.
_view
.
journal
}
${
self
.
_view
.
journal
}
${
self
.
_view
.
cli
}
${
self
.
_view
.
cli
}
...
@@ -163,7 +171,7 @@ class Terminal {
...
@@ -163,7 +171,7 @@ class Terminal {
</div>
</div>
`
`
self
.
_view
.
el
=
yo
`
self
.
_view
.
el
=
yo
`
<div class="
border
${
css
.
panel
}
" style="height: 180px;">
<div class="
${
css
.
panel
}
" style="height: 180px;">
${
self
.
_view
.
bar
}
${
self
.
_view
.
bar
}
${
self
.
_view
.
term
}
${
self
.
_view
.
term
}
</div>
</div>
...
...
src/app/ui/landing-page/landing-page.js
View file @
812cc09e
This diff is collapsed.
Click to expand it.
src/app/ui/landing-page/section.js
View file @
812cc09e
...
@@ -31,8 +31,8 @@ class Section {
...
@@ -31,8 +31,8 @@ class Section {
render
()
{
render
()
{
let
sectionLook
=
yo
`
let
sectionLook
=
yo
`
<div class="card border-0 bg-light
bd-light text-dark p-1" style="min-width: 300px; min-height: 21
0px;">
<div class="card border-0 bg-light
text-dark p-1" style="min-width: 300px; min-height: 18
0px;">
<div class="card-header font-weight-bold" style="user-select: none;">
${
this
.
title
}
</div>
<div class="card-header
h5
font-weight-bold" style="user-select: none;">
${
this
.
title
}
</div>
<p></p>
<p></p>
</div>
</div>
`
`
...
@@ -40,7 +40,7 @@ class Section {
...
@@ -40,7 +40,7 @@ class Section {
if
(
this
.
actions
[
i
].
type
===
`callback`
)
{
if
(
this
.
actions
[
i
].
type
===
`callback`
)
{
sectionLook
.
appendChild
(
yo
`
sectionLook
.
appendChild
(
yo
`
<div>
<div>
<span class="
${
css
.
text
}
text-dark" onclick=
${
this
.
actions
[
i
].
payload
}
>
<span class="
${
css
.
text
}
p-3 h6
text-dark" onclick=
${
this
.
actions
[
i
].
payload
}
>
${
this
.
actions
[
i
].
label
}
${
this
.
actions
[
i
].
label
}
</span>
</span>
</div>
</div>
...
@@ -48,7 +48,7 @@ class Section {
...
@@ -48,7 +48,7 @@ class Section {
}
else
if
(
this
.
actions
[
i
].
type
===
`link`
)
{
}
else
if
(
this
.
actions
[
i
].
type
===
`link`
)
{
sectionLook
.
appendChild
(
yo
`
sectionLook
.
appendChild
(
yo
`
<div >
<div >
<a class="
${
css
.
link
}
text-dark text-decoration-none" href=
${
this
.
actions
[
i
].
payload
}
target="_blank" >
<a class="
${
css
.
link
}
text-dark
p-3 h6
text-decoration-none" href=
${
this
.
actions
[
i
].
payload
}
target="_blank" >
${
this
.
actions
[
i
].
label
}
${
this
.
actions
[
i
].
label
}
</a>
</a>
</div>
</div>
...
...
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