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
a007399a
Commit
a007399a
authored
Mar 28, 2019
by
LianaHus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove selection from landing page
fix styles on consol menu
parent
c49385ca
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
29 additions
and
16 deletions
+29
-16
terminal-styles.js
src/app/panels/styles/terminal-styles.js
+5
-3
terminal.js
src/app/panels/terminal.js
+2
-2
dropdown.js
src/app/ui/dropdown.js
+12
-4
landing-page.js
src/app/ui/landing-page/landing-page.js
+1
-0
section.js
src/app/ui/landing-page/section.js
+3
-1
dropdown-styles.js
src/app/ui/styles/dropdown-styles.js
+6
-6
No files found.
src/app/panels/styles/terminal-styles.js
View file @
a007399a
...
...
@@ -22,6 +22,7 @@ var css = csjs`
align-items : center;
width : 100%;
border-bottom-style : ridge;
max-height : 35px;
}
.clear {
margin-right : 20px;
...
...
@@ -92,7 +93,8 @@ var css = csjs`
.search {
display: flex;
align-items: center;
margin-right: 10px;
width: 200px;
padding-left: 20px;
}
.filter {
width : 200px;
...
...
@@ -102,13 +104,14 @@ var css = csjs`
border-bottom-left-radius : 0px;
}
.searchIcon {
height :
25px
;
height :
100%
;
width : 25px;
border-top-left-radius : 3px;
border-bottom-left-radius : 3px;
display : flex;
align-items : center;
justify-content : center;
margin-right : 5px;
}
.listen {
margin-right: 30px;
...
...
@@ -123,7 +126,6 @@ var css = csjs`
.verticalLine {
border-left : 1px solid var(--secondary)
height : 65%;
margin-right : 30px;
}
.pendingTx {
border : 1px solid var(--secondary);
...
...
src/app/panels/terminal.js
View file @
a007399a
...
...
@@ -128,7 +128,7 @@ class Terminal {
self
.
_view
.
bar
=
yo
`
<div class="
${
css
.
bar
}
">
${
self
.
_view
.
dragbar
}
<div class=
${
css
.
menu
}
>
<div class=
"
${
css
.
menu
}
bg-light"
>
${
self
.
_view
.
icon
}
<div class=
${
css
.
clear
}
onclick=
${
clear
}
>
<i class="fa fa-ban" aria-hidden="true" title="Clear console"
...
...
@@ -143,7 +143,7 @@ class Terminal {
</div>
${
self
.
_view
.
dropdown
}
<div class=
${
css
.
search
}
>
<i class="fa fa-search
${
css
.
searchIcon
}
bg-light btn" aria-hidden="true"></i>
<i class="fa fa-search
${
css
.
searchIcon
}
bg-light btn
-light
" aria-hidden="true"></i>
<input spellcheck="false" type="text" class=
${
css
.
filter
}
onkeydown=
${
filter
}
placeholder="Search transactions">
</div>
</div>
...
...
src/app/ui/dropdown.js
View file @
a007399a
...
...
@@ -45,11 +45,19 @@ class Dropdown {
</div>
`
self
.
_view
.
el
=
yo
`
<div
class="
${
css
.
dropdown
}
" onclick=
${
show
}
>
<div
name="dropdown" class="
${
css
.
dropdown
}
form-control form-control-sm
" onclick=
${
show
}
>
${
self
.
_view
.
selected
}
<div class="
${
css
.
options
}
bg-light" style="display: none;">
<div class="
${
css
.
options
}
bg-light" style="display: none;
}
">
${
self
.
data
.
_options
.
map
(
label
=>
{
var
input
=
yo
`<input data-idx=
${
self
.
data
.
_elements
.
length
}
onchange=
${
emit
}
type="checkbox" />`
let
index
=
self
.
data
.
_elements
.
length
var
input
=
yo
`
<input
data-idx=
${
index
}
onchange=
${
emit
}
type="
${
index
===
2
?
'checkbox'
:
'radio'
}
"
id="
${
label
}
"
/>
`
if
(
self
.
data
.
selected
.
indexOf
(
label
)
!==
-
1
)
{
input
.
checked
=
true
self
.
event
.
trigger
(
'select'
,
[
label
])
...
...
@@ -58,7 +66,7 @@ class Dropdown {
return
yo
`
<div class=
${
css
.
option
}
>
${
input
}
<label>
${
label
}
</label>
<label
for="
${
label
}
"
>
${
label
}
</label>
</div>
`
})}
...
...
src/app/ui/landing-page/landing-page.js
View file @
a007399a
...
...
@@ -29,6 +29,7 @@ var css = csjs`
padding : 20px;
background-color: var(--bg-light);
margin-left : 75px;
user-select : none;
}
.im:hover {
}
...
...
src/app/ui/landing-page/section.js
View file @
a007399a
...
...
@@ -6,6 +6,7 @@ var css = csjs`
cursor: pointer;
font-weight: normal;
max-width: 300px;
user-select: none;
}
.text:hover {
font-weight: bold;
...
...
@@ -14,6 +15,7 @@ var css = csjs`
cursor: pointer;
font-weight: normal;
text-decoration : none;
user-select: none;
}
.link:hover {
font-weight: bold;
...
...
@@ -31,7 +33,7 @@ class Section {
render
()
{
let
sectionLook
=
yo
`
<div class="card
${
this
.
cardStyle
}
p-3" style="min-width: 300px; min-height: 190px;">
<div class="card-header font-weight-bold">
${
this
.
title
}
</div>
<div class="card-header font-weight-bold"
style="user-select: none;"
>
${
this
.
title
}
</div>
<p></p>
</div>
`
...
...
src/app/ui/styles/dropdown-styles.js
View file @
a007399a
...
...
@@ -6,24 +6,22 @@ var css = csjs`
position : relative;
display : flex;
flex-direction : column;
margin-right : 10px;
margin-left : 10px;
width : auto;
}
.selectbox {
display : flex;
align-items : center;
margin : 3px;
cursor : pointer;
}
.selected {
display : inline-block;
min-width : 30ch;
max-width : 30ch;
white-space : nowrap;
text-overflow : ellipsis;
overflow : hidden;
padding : 3px;
margin-right : 10px;
min-width : 200px;
}
.icon {
padding : 0px 5px;
...
...
@@ -34,15 +32,17 @@ var css = csjs`
flex-direction : column;
align-items : end;
top : 32px;
right
: 0;
width : 2
30
px;
left
: 0;
width : 2
45
px;
border : 1px solid var(--dark);
border-radius : 3px;
border-top : 0;
padding-left : 5px;
}
.option {
margin-left : 5px;
margin-top : 5px;
width : -webkit-fill-available;
}
`
...
...
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