nfv/nfv/nfv-vim/nfv_vim/webserver/templates/instance_groups.handlebars

43 lines
1.5 KiB
Handlebars

<div class="tab-headers">
<ul id="instance_groups" class="nav nav-tabs" data-sticky-tabs="sticky">
<li class="active">
<a><h4>Instance Groups</h4></a>
</li>
</ul>
</div>
<div class="tab-content">
<div class="tab-pane active">
<table class="table table-bordered table-striped main-table">
<thead>
<tr>
<th class="sortable normal_column">UUID</th>
<th class="sortable normal_column">Name</th>
<th class="sortable normal_column">Members</th>
<th class="sortable normal_column">Policies </th>
</tr>
</thead>
<tbody>
{{#instance_groups}}
<tr>
<td>{{uuid}}</td>
<td>{{name}}</td>
<td>{{members}}</td>
<td>{{policies}}</td>
</tr>
{{/instance_groups}}
<tfoot>
<tr>
<td colspan="4">
{{#ifCompare instance_groups.length '==' '1'}}
<span class="table_count">Displaying {{instance_groups.length}} item</span>
{{else}}
<span class="table_count">Displaying {{instance_groups.length}} items</span>
{{/ifCompare}}
</td>
</tr>
</tfoot>
</table>
</div>
</div>