fix test & analysis view

pull/1/head
yann300 6 years ago
parent 1205d8637b
commit 02b80e98dd
  1. 4
      src/app/staticanalysis/staticAnalysisView.js
  2. 4
      src/app/staticanalysis/styles/staticAnalysisView-styles.js
  3. 4
      src/app/tabs/styles/test-tab-styles.js
  4. 2
      src/app/tabs/test-tab.js

@ -68,7 +68,9 @@ staticAnalysisView.prototype.render = function () {
<div id="staticanalysismodules" class="list-group list-group-flush ${css.container}"> <div id="staticanalysismodules" class="list-group list-group-flush ${css.container}">
${this.modulesView} ${this.modulesView}
</div> </div>
<div class="${css.result}" "id='staticanalysisresult'></div> <hr>
<div><h6>Results:</h6></div>
<div class="${css.result}" id='staticanalysisresult'></div>
</div> </div>
` `
if (!this.view) { if (!this.view) {

@ -7,6 +7,8 @@ var css = csjs`
} }
.result { .result {
margin-top: 1%; margin-top: 1%;
max-height: 400px;
overflow-y: auto;
} }
.buttons { .buttons {
margin: 1rem 0; margin: 1rem 0;
@ -26,7 +28,7 @@ var css = csjs`
align-items: center; align-items: center;
} }
.container { .container {
max-height: 500px; max-height: 400px;
overflow-y: auto; overflow-y: auto;
} }
` `

@ -11,13 +11,15 @@ var css = csjs`
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin: 2%; margin: 2%;
max-height: 500px; max-height: 300px;
overflow-y: auto; overflow-y: auto;
} }
.container { .container {
margin: 2%; margin: 2%;
padding-bottom: 5%; padding-bottom: 5%;
max-height: 300px;
overflow-y: auto;
} }
.outputTitle { .outputTitle {
font-weight: bold; font-weight: bold;

@ -187,6 +187,8 @@ module.exports = class TestTab extends ApiFactory {
</label> </label>
</div> </div>
${this.testList} ${this.testList}
<hr>
<div class="${css.buttons}" ><h6>Results:</h6></div>
${this.testsOutput} ${this.testsOutput}
${this.testsSummary} ${this.testsSummary}
</div> </div>

Loading…
Cancel
Save