summaryrefslogtreecommitdiffstats
path: root/vbd/gui/module/src/main/resources/vpp/views
diff options
context:
space:
mode:
authorDaniel Malachovsky <daniel.malachovsky@pantheon.sk>2016-02-05 16:24:59 +0100
committerGerrit Code Review <gerrit@fd.io>2016-02-05 17:14:33 +0000
commit843fe81ebf7f11920a52f625bf863a1fad4d29de (patch)
treeddb2326f0589a983640c7988e3a510850c244d8d /vbd/gui/module/src/main/resources/vpp/views
parentbfea3b08066a364b29a7e192a8d380572e129349 (diff)
UI-Grid initial commit
- added angular-ui-grid library for handling expandable table - removed old service (http) and old inventory controller - fixed bridge domains page formatting - fixes bugs due to old code's css - applied Dave's comments Change-Id: Ie10d05bb0da3cb9bac666b66cf7168696c45254f Signed-off-by: Daniel Malachovsky <daniel.malachovsky@pantheon.sk> Signed-off-by: Varun Seereeram <vseereer@cisco.com>
Diffstat (limited to 'vbd/gui/module/src/main/resources/vpp/views')
-rw-r--r--vbd/gui/module/src/main/resources/vpp/views/inventory-table-interfaces-subgrid.tpl.html1
-rw-r--r--vbd/gui/module/src/main/resources/vpp/views/inventory-table.tpl.html8
-rw-r--r--vbd/gui/module/src/main/resources/vpp/views/new-vpp-dialog.html2
3 files changed, 8 insertions, 3 deletions
diff --git a/vbd/gui/module/src/main/resources/vpp/views/inventory-table-interfaces-subgrid.tpl.html b/vbd/gui/module/src/main/resources/vpp/views/inventory-table-interfaces-subgrid.tpl.html
new file mode 100644
index 000000000..c47617cb1
--- /dev/null
+++ b/vbd/gui/module/src/main/resources/vpp/views/inventory-table-interfaces-subgrid.tpl.html
@@ -0,0 +1 @@
+<div ui-grid="row.entity.subGridOptions" style="height:150px;"></div> \ 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 ad24bce14..4f15332de 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,7 +1,8 @@
<div ng-controller="InventoryTableController">
<md-button ng-click="addVppShowForm()">Mount VPP</md-button>
<md-button ng-click="getVppList()">Reload VPPs</md-button>
- <table class="footable">
+ <!--FIXME: decide which element to use, if static, or ui-grid-->
+ <!--<table class="footable">
<thead>
<tr>
<th>VPP Name</th>
@@ -24,5 +25,8 @@
</td>
</tr>
</tbody>
- </table>
+ </table>-->
+ <div ng-controller="InventoryTableDefinitonController" class="black">
+ <div ui-grid="gridOptions" ui-grid-expandable class="grid"></div>
+ </div>
</div> \ 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 d0ce47604..39178716d 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
@@ -59,7 +59,7 @@
<md-dialog-actions layout="row">
<span flex></span>
<md-button ng-click="NewVppDialogCtrl.updateConfig();" style="margin-right:20px;" class="md-accent">
- Mount
+ <span style="color: black">Mount</span>
</md-button>
</md-dialog-actions>
</form>