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
c609cd8b
Commit
c609cd8b
authored
Aug 30, 2019
by
LianaHus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
implemented a filtering of nighly builds
parent
2741b0fb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
11 deletions
+19
-11
compilerContainer.js
src/app/tabs/compileTab/compilerContainer.js
+12
-11
compile-tab-styles.js
src/app/tabs/styles/compile-tab-styles.js
+7
-0
No files found.
src/app/tabs/compileTab/compilerContainer.js
View file @
c609cd8b
...
@@ -175,6 +175,9 @@ class CompilerContainer {
...
@@ -175,6 +175,9 @@ class CompilerContainer {
this
.
_view
.
compilationButton
=
this
.
compilationButton
()
this
.
_view
.
compilationButton
=
this
.
compilationButton
()
this
.
_view
.
includeNightlies
=
yo
`
<input class="mr-0 ml-1" id="nightlies" type="checkbox" onchange=
${
this
.
_updateVersionSelector
.
bind
(
this
)}
>
`
this
.
_view
.
compileContainer
=
yo
`
this
.
_view
.
compileContainer
=
yo
`
<section>
<section>
<!-- Select Compiler Version -->
<!-- Select Compiler Version -->
...
@@ -186,15 +189,9 @@ class CompilerContainer {
...
@@ -186,15 +189,9 @@ class CompilerContainer {
</div>
</div>
<div class="col-sm-8">
<div class="col-sm-8">
${
this
.
_view
.
versionSelector
}
${
this
.
_view
.
versionSelector
}
<div style="
<div class="pt-0
${
css
.
nightlyBuilds
}
">
display: flex;
<label for="nightlies" class="text-dark p-0 m-0">Include nightly builds</label>
flex-direction: row;
${
this
.
_view
.
includeNightlies
}
justify-content: flex-end;
align-content: center;
align-content: center;
align-items: center;">
<input id="nightlies" type="checkbox">
<label for="nightlies" class="p-0 m-0">Show Nightly builds</label>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -227,7 +224,7 @@ class CompilerContainer {
...
@@ -227,7 +224,7 @@ class CompilerContainer {
</li>
</li>
<li class="list-group-item form-group
${
css
.
compilerConfig
}
">
<li class="list-group-item form-group
${
css
.
compilerConfig
}
">
${
this
.
_view
.
optimize
}
${
this
.
_view
.
optimize
}
<label for="optimize">Enable
O
ptimization</label>
<label for="optimize">Enable
o
ptimization</label>
</li>
</li>
<li class="list-group-item form-group
${
css
.
compilerConfig
}
">
<li class="list-group-item form-group
${
css
.
compilerConfig
}
">
${
this
.
_view
.
hideWarningsBox
}
${
this
.
_view
.
hideWarningsBox
}
...
@@ -293,7 +290,11 @@ class CompilerContainer {
...
@@ -293,7 +290,11 @@ class CompilerContainer {
const
option
=
build
.
path
===
this
.
data
.
selectedVersion
const
option
=
build
.
path
===
this
.
data
.
selectedVersion
?
yo
`<option value="
${
build
.
path
}
" selected>
${
build
.
longVersion
}
</option>`
?
yo
`<option value="
${
build
.
path
}
" selected>
${
build
.
longVersion
}
</option>`
:
yo
`<option value="
${
build
.
path
}
">
${
build
.
longVersion
}
</option>`
:
yo
`<option value="
${
build
.
path
}
">
${
build
.
longVersion
}
</option>`
this
.
_view
.
versionSelector
.
appendChild
(
option
)
if
(
!
option
.
innerText
.
includes
(
"nightly"
)
||
(
option
.
innerText
.
includes
(
"nightly"
)
&&
this
.
_view
.
includeNightlies
.
checked
))
{
this
.
_view
.
versionSelector
.
appendChild
(
option
)
}
})
})
this
.
_view
.
versionSelector
.
removeAttribute
(
'disabled'
)
this
.
_view
.
versionSelector
.
removeAttribute
(
'disabled'
)
this
.
queryParams
.
update
({
version
:
this
.
data
.
selectedVersion
})
this
.
queryParams
.
update
({
version
:
this
.
data
.
selectedVersion
})
...
...
src/app/tabs/styles/compile-tab-styles.js
View file @
c609cd8b
...
@@ -37,6 +37,13 @@ const css = csjs`
...
@@ -37,6 +37,13 @@ const css = csjs`
display: block;
display: block;
margin: 3% 0;
margin: 3% 0;
}
}
.nightlyBuilds {
display: flex;
flex-direction: row;
justify-content: flex-end;
align-content: center;
align-items: center;
}
.autocompileContainer {
.autocompileContainer {
display: flex;
display: flex;
align-items: center;
align-items: center;
...
...
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