From 4297ef6abf96b5fd1d6e0f1078a1ee9a76dc3f32 Mon Sep 17 00:00:00 2001 From: Daniel Malachovsky Date: Sun, 7 Feb 2016 22:07:30 +0100 Subject: Inventory rework 2 - added detail page - lot of design changes - lot of css overrides Change-Id: Ia1735272297c0913f971728acc6775cce93d4646 Signed-off-by: Daniel Malachovsky --- .../src/main/resources/vpp/views/index.tpl.html | 23 +++++-- .../resources/vpp/views/inventory-detail.tpl.html | 70 ++++++++++++++++++++++ .../resources/vpp/views/inventory-table.tpl.html | 66 +++++++++++--------- .../main/resources/vpp/views/new-vpp-dialog.html | 4 +- 4 files changed, 129 insertions(+), 34 deletions(-) create mode 100644 vbd/gui/module/src/main/resources/vpp/views/inventory-detail.tpl.html (limited to 'vbd/gui/module/src/main/resources/vpp/views') diff --git a/vbd/gui/module/src/main/resources/vpp/views/index.tpl.html b/vbd/gui/module/src/main/resources/vpp/views/index.tpl.html index add7f7854..72115cf7b 100644 --- a/vbd/gui/module/src/main/resources/vpp/views/index.tpl.html +++ b/vbd/gui/module/src/main/resources/vpp/views/index.tpl.html @@ -1,5 +1,19 @@
- + + + +
+
+
+
+ + +
+
+
+
+ +
\ No newline at end of file diff --git a/vbd/gui/module/src/main/resources/vpp/views/inventory-detail.tpl.html b/vbd/gui/module/src/main/resources/vpp/views/inventory-detail.tpl.html new file mode 100644 index 000000000..1fc3fa617 --- /dev/null +++ b/vbd/gui/module/src/main/resources/vpp/views/inventory-detail.tpl.html @@ -0,0 +1,70 @@ +
+
+ +
+ +

Topology

+
+
+
+ + +
+ +

VPP Detail

+ + + + + + + + + + + + + + + + + + + + +
VPP Name + + {{vpp.name}} + +
IP Address{{selectedVpp.ipAddress}}
Port{{selectedVpp.port}}
Connection Status{{selectedVpp.status}}
+
+
+
+ +
+ +
+ +

Interface list

+ + + + + + + + + + + + + + + + + +
NameOper StatusAdmin StatusMAC Address
{{interface.name}}{{interface['oper-status']}}{{interface['admin-status']}}{{interface['phys-address']}}
+
+
+
+
\ No newline at end of file diff --git a/vbd/gui/module/src/main/resources/vpp/views/inventory-table.tpl.html b/vbd/gui/module/src/main/resources/vpp/views/inventory-table.tpl.html index 3335ad395..ab62c75c3 100644 --- a/vbd/gui/module/src/main/resources/vpp/views/inventory-table.tpl.html +++ b/vbd/gui/module/src/main/resources/vpp/views/inventory-table.tpl.html @@ -1,31 +1,41 @@
- Mount VPP - Reload VPPs +
+
+ +
+

VPP List

+
+
+ Mount VPP + Reload VPPs +
- - - - - - - - - - - - - - - - - - - - -
VPP NameIP AddressPortConnection StatusActions
{{vpp.name}}{{vpp.ipAddress}}{{vpp.port}}{{vpp.status}} - View Topology - Edit - Delete -
-
+ + + + + + + + + + + + + + + + + + + +
VPP NameIP AddressPortConnection StatusActions
{{vpp.name}}{{vpp.ipAddress}}{{vpp.port}}{{vpp.status}} + + Detail + Edit + Delete +
+
+
+
\ No newline at end of file diff --git a/vbd/gui/module/src/main/resources/vpp/views/new-vpp-dialog.html b/vbd/gui/module/src/main/resources/vpp/views/new-vpp-dialog.html index 39178716d..bd502b31c 100644 --- a/vbd/gui/module/src/main/resources/vpp/views/new-vpp-dialog.html +++ b/vbd/gui/module/src/main/resources/vpp/views/new-vpp-dialog.html @@ -58,8 +58,8 @@ - - Mount + + Mount -- cgit 1.2.3-korg