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
38cb9139
Commit
38cb9139
authored
Feb 27, 2019
by
Rob Stupay
Committed by
yann300
Mar 04, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remvoing style-guide colorsand take out of flex-box in warning
parent
61f8a620
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
33 deletions
+27
-33
staticAnalysisView.js
src/app/staticanalysis/staticAnalysisView.js
+22
-20
staticAnalysisView-styles.js
src/app/staticanalysis/styles/staticAnalysisView-styles.js
+4
-10
analysis-tab.js
src/app/tabs/analysis-tab.js
+1
-1
analysis-tab-styles.js
src/app/tabs/styles/analysis-tab-styles.js
+0
-2
No files found.
src/app/staticanalysis/staticAnalysisView.js
View file @
38cb9139
...
...
@@ -42,28 +42,30 @@ staticAnalysisView.prototype.render = function () {
var
self
=
this
var
view
=
yo
`
<div class="
${
css
.
analysis
}
">
<div id="staticanalysismodules">
<div id="staticanalysismodules"
class="list-group list-group-flush"
>
${
this
.
modulesView
}
</div>
<div class="
${
css
.
buttons
}
">
<button class="
${
css
.
buttonRun
}
" onclick="
${
function
()
{
self
.
run
()
}
}" >Run</button>
<label class="
${
css
.
label
}
" for="autorunstaticanalysis">
<input id="autorunstaticanalysis"
type="checkbox"
style="vertical-align:bottom"
checked="true"
>
Auto run
</label>
<label class="
${
css
.
label
}
" for="checkAllEntries">
<input id="checkAllEntries"
type="checkbox"
onclick="
${
function
(
event
)
{
self
.
checkAll
(
event
)
}
}"
style="vertical-align:bottom"
checked="true"
>
Check/Uncheck all
</label>
<div class="
${
css
.
buttonsInner
}
">
<button class="
${
css
.
buttonRun
}
btn btn-sm btn-primary" onclick="
${
function
()
{
self
.
run
()
}
}" >Run</button>
<label class="
${
css
.
label
}
" for="autorunstaticanalysis">
<input id="autorunstaticanalysis"
type="checkbox"
style="vertical-align:bottom"
checked="true"
>
Auto run
</label>
<label class="
${
css
.
label
}
" for="checkAllEntries">
<input id="checkAllEntries"
type="checkbox"
onclick="
${
function
(
event
)
{
self
.
checkAll
(
event
)
}
}"
style="vertical-align:bottom"
checked="true"
>
Check/Uncheck all
</label>
</div>
</div>
<div class="
${
css
.
result
}
" "id='staticanalysisresult'></div>
</div>
...
...
@@ -166,7 +168,7 @@ staticAnalysisView.prototype.renderModules = function () {
</label>
`
})
return
yo
`<div class="
${
css
.
analysisModulesContainer
}
">
return
yo
`<div class="
${
css
.
analysisModulesContainer
}
list-group-item
">
<label class="
${
css
.
label
}
"><b>
${
category
[
0
].
categoryDisplayName
}
</b></label>
${
entriesDom
}
</div>`
...
...
src/app/staticanalysis/styles/staticAnalysisView-styles.js
View file @
38cb9139
var
csjs
=
require
(
'csjs-inject'
)
var
styleGuide
=
require
(
'../../ui/styles-guide/theme-chooser'
)
var
styles
=
styleGuide
.
chooser
()
var
css
=
csjs
`
.analysis {
display: flex;
...
...
@@ -12,20 +9,17 @@ var css = csjs`
margin-top: 1%;
}
.buttons {
${
styles
.
rightPanel
.
analysisTab
.
box_AnalysisContainer
}
margin: 1rem 0;
}
.buttonsInner {
display: flex;
align-items: center;
justify-content: space-around;
}
.buttonRun {
${
styles
.
rightPanel
.
analysisTab
.
button_Run_AnalysisTab
}
margin-right: 1%;
}
.analysisModulesContainer {
${
styles
.
rightPanel
.
analysisTab
.
box_AnalysisContainer
}
margin-bottom: 1%;
line-height: 2em;
display: flex;
flex-direction: column;
}
.label {
display: flex;
...
...
src/app/tabs/analysis-tab.js
View file @
38cb9139
...
...
@@ -25,7 +25,7 @@ class AnalysisTab {
this
.
registry
.
put
({
api
:
staticanalysis
,
name
:
'staticanalysis'
})
if
(
this
.
el
)
return
this
.
el
this
.
el
=
yo
`<div class="
${
css
.
analysisTabView
}
"
id="staticanalysisView">
${
staticanalysis
.
render
()}
</div>`
this
.
el
=
yo
`<div class="
${
css
.
analysisTabView
}
"
id="staticanalysisView">
${
staticanalysis
.
render
()}
</div>`
return
this
.
el
}
}
...
...
src/app/tabs/styles/analysis-tab-styles.js
View file @
38cb9139
...
...
@@ -4,8 +4,6 @@ const css = csjs`
.analysisTabView {
padding: 2%;
padding-bottom: 3em;
display: flex;
flex-direction: column;
}
`
...
...
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