From 3df18819d90ed3910b383493c8a0cc9c4b4ee7e6 Mon Sep 17 00:00:00 2001 From: Alon Heller Date: Tue, 6 Feb 2018 12:24:10 +0200 Subject: [PATCH] Show equivalences in template, Added type column in template list Change-Id: I01f7f6aecd842a82b6f2f12ee3dd5c9de1b38c5b --- .../template/templateContainer.html | 41 +++++++++++++++---- .../project/templateList/templateList.html | 9 ++-- 2 files changed, 39 insertions(+), 11 deletions(-) diff --git a/vitrage_dashboard/dashboard/static/dashboard/project/components/template/templateContainer.html b/vitrage_dashboard/dashboard/static/dashboard/project/components/template/templateContainer.html index 1aa79c2..986a615 100644 --- a/vitrage_dashboard/dashboard/static/dashboard/project/components/template/templateContainer.html +++ b/vitrage_dashboard/dashboard/static/dashboard/project/components/template/templateContainer.html @@ -10,7 +10,7 @@ {$ data.metadata.name $}
-
+

Entities

@@ -26,7 +26,7 @@

-
+

Relationships

@@ -42,19 +42,44 @@

-
-

Scenarios

+ + +
+

Equivalences

+
    +
  • +

    Equivalence

    +
    +
    + {$ equ.entity.name $} +
    +
      +
    • + {$ property $}: {$ value $} +
    • +
    +
    +
    +
    +
+ +
+
+ + +
+

Scenarios

{$ scenario.scenario.condition $}
Actions:
    -
    +
    • action: {$ action.action.action_type $}
    • -
    • +
    • {$ key $}: {$ value $}
    • @@ -67,8 +92,8 @@
-
-
+
+
diff --git a/vitrage_dashboard/dashboard/static/dashboard/project/templateList/templateList.html b/vitrage_dashboard/dashboard/static/dashboard/project/templateList/templateList.html
index bddedc1..051abe6 100644
--- a/vitrage_dashboard/dashboard/static/dashboard/project/templateList/templateList.html
+++ b/vitrage_dashboard/dashboard/static/dashboard/project/templateList/templateList.html
@@ -1,11 +1,13 @@
 
-
+
- +
+ @@ -22,8 +24,9 @@ + - +
{$ 'Name' | translate $} {$ 'Status' | translate $}{$ 'Type' | translate $} {$ 'Details' | translate $} {$ 'Timestamp' | translate $} {$ 'Show' | translate $}
{$template.name$} {$template.status$}{$template.type$} {$template["status details"]$} {$template.date | date:"yyyy-MM-dd hh:mm:ss"$} {$template.date | date:"yyyy-MM-dd hh:mm:ss"$}