From 9506fe3d2a38ea8b513df5a0eaef041bcaa87e58 Mon Sep 17 00:00:00 2001 From: Nabil Adouani Date: Thu, 19 Nov 2020 07:19:12 +0100 Subject: [PATCH] #1669 Refactor severity and tlp components --- frontend/app/views/directives/tlp.html | 39 ++++++++----------- .../app/views/partials/case/case.details.html | 2 +- .../partials/observables/details/summary.html | 2 +- 3 files changed, 19 insertions(+), 24 deletions(-) diff --git a/frontend/app/views/directives/tlp.html b/frontend/app/views/directives/tlp.html index 2b4b76e5ab..a72abb610d 100644 --- a/frontend/app/views/directives/tlp.html +++ b/frontend/app/views/directives/tlp.html @@ -1,23 +1,18 @@ - -
- - WHITE - GREEN - AMBER - RED -
- - - {{namespace || 'TLP'}}:WHITE - {{namespace || 'TLP'}}:GREEN - {{namespace || 'TLP'}}:AMBER - {{namespace || 'TLP'}}:RED - - - - - - - - +
+ WHITE + GREEN + AMBER + RED +
+ + {{namespace || 'TLP'}}:WHITE + {{namespace || 'TLP'}}:GREEN + {{namespace || 'TLP'}}:AMBER + {{namespace || 'TLP'}}:RED + + + + + + diff --git a/frontend/app/views/partials/case/case.details.html b/frontend/app/views/partials/case/case.details.html index 8a9b2cc1ca..79ead25542 100644 --- a/frontend/app/views/partials/case/case.details.html +++ b/frontend/app/views/partials/case/case.details.html @@ -16,7 +16,7 @@

Summary

Severity
- +
diff --git a/frontend/app/views/partials/observables/details/summary.html b/frontend/app/views/partials/observables/details/summary.html index 741319e11a..360ea6f016 100644 --- a/frontend/app/views/partials/observables/details/summary.html +++ b/frontend/app/views/partials/observables/details/summary.html @@ -25,7 +25,7 @@

TLP
- +