From 4c43c292a7b0d4bbf3e950aeff385ac5890bf2e6 Mon Sep 17 00:00:00 2001 From: LianaHus Date: Sat, 25 Apr 2020 18:18:02 +0200 Subject: [PATCH] UI style changes --- .../tabs/staticanalysis/staticAnalysisView.js | 18 +++++++++--------- .../styles/staticAnalysisView-styles.js | 8 -------- 2 files changed, 9 insertions(+), 17 deletions(-) diff --git a/src/app/tabs/staticanalysis/staticAnalysisView.js b/src/app/tabs/staticanalysis/staticAnalysisView.js index a0c8fd23e8..56631be014 100644 --- a/src/app/tabs/staticanalysis/staticAnalysisView.js +++ b/src/app/tabs/staticanalysis/staticAnalysisView.js @@ -41,13 +41,10 @@ function staticAnalysisView (localRegistry, analysisModule) { } staticAnalysisView.prototype.render = function () { - this.runBtn = yo`` + this.runBtn = yo`` const view = yo`
-
-
- No file compiled -
+
${this.runBtn}
@@ -57,7 +54,7 @@ staticAnalysisView.prototype.render = function () { checked="true" >
@@ -68,7 +65,7 @@ staticAnalysisView.prototype.render = function () { checked="true" >
@@ -76,7 +73,10 @@ staticAnalysisView.prototype.render = function () {
${this.modulesView}
-
Results:
+
+ Analysis for: + No file compiled +
` @@ -200,7 +200,7 @@ staticAnalysisView.prototype.renderModules = function () { -
+
${entriesDom}
diff --git a/src/app/tabs/staticanalysis/styles/staticAnalysisView-styles.js b/src/app/tabs/staticanalysis/styles/staticAnalysisView-styles.js index c46d4ddd02..576ae5c534 100644 --- a/src/app/tabs/staticanalysis/styles/staticAnalysisView-styles.js +++ b/src/app/tabs/staticanalysis/styles/staticAnalysisView-styles.js @@ -10,17 +10,9 @@ var css = csjs` max-height: 300px; word-break: break-all; } - .resultTitle { - padding-top: 20px; - } .buttons { margin: 1rem 0; } - .buttonsInner { - display: flex; - align-items: center; - justify-content: space-around; - } .label { display: flex; align-items: center;