|
|
|
@ -9,7 +9,6 @@
|
|
|
|
|
<li><a tabindex="-1" href="" ng-click="removeAction()">Remove</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
</li>
|
|
|
|
|
<!--<li><a data-toggle="modal" data-target="#pull-modal" href="">Pull</a></li>-->
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
<div class="pull-right form-inline">
|
|
|
|
@ -20,18 +19,60 @@
|
|
|
|
|
<table class="table table-striped">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th><input type="checkbox" ng-model="toggle" ng-change="toggleSelectAll()"/> Select</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Id</th>
|
|
|
|
|
<th>Scope</th>
|
|
|
|
|
<th>Driver</th>
|
|
|
|
|
<th>IPAM Driver</th>
|
|
|
|
|
<th>IPAM Subnet</th>
|
|
|
|
|
<th>IPAM Gateway</th>
|
|
|
|
|
<th><label><input type="checkbox" ng-model="toggle" ng-change="toggleSelectAll()"/> Select</label></th>
|
|
|
|
|
<th>
|
|
|
|
|
<a href="#/networks/" ng-click="order('Name')">
|
|
|
|
|
Name
|
|
|
|
|
<span ng-show="sortType == 'Name' && !sortReverse" class="glyphicon glyphicon-chevron-down"></span>
|
|
|
|
|
<span ng-show="sortType == 'Name' && sortReverse" class="glyphicon glyphicon-chevron-up"></span>
|
|
|
|
|
</a>
|
|
|
|
|
</th>
|
|
|
|
|
<th>
|
|
|
|
|
<a href="#/networks/" ng-click="order('Id')">
|
|
|
|
|
Id
|
|
|
|
|
<span ng-show="sortType == 'Id' && !sortReverse" class="glyphicon glyphicon-chevron-down"></span>
|
|
|
|
|
<span ng-show="sortType == 'Id' && sortReverse" class="glyphicon glyphicon-chevron-up"></span>
|
|
|
|
|
</a>
|
|
|
|
|
</th>
|
|
|
|
|
<th>
|
|
|
|
|
<a href="#/networks/" ng-click="order('Scope')">
|
|
|
|
|
Scope
|
|
|
|
|
<span ng-show="sortType == 'Scope' && !sortReverse" class="glyphicon glyphicon-chevron-down"></span>
|
|
|
|
|
<span ng-show="sortType == 'Scope' && sortReverse" class="glyphicon glyphicon-chevron-up"></span>
|
|
|
|
|
</a>
|
|
|
|
|
</th>
|
|
|
|
|
<th>
|
|
|
|
|
<a href="#/networks/" ng-click="order('Driver')">
|
|
|
|
|
Driver
|
|
|
|
|
<span ng-show="sortType == 'Driver' && !sortReverse" class="glyphicon glyphicon-chevron-down"></span>
|
|
|
|
|
<span ng-show="sortType == 'Driver' && sortReverse" class="glyphicon glyphicon-chevron-up"></span>
|
|
|
|
|
</a>
|
|
|
|
|
</th>
|
|
|
|
|
<th>
|
|
|
|
|
<a href="#/networks/" ng-click="order('IPAM.Driver')">
|
|
|
|
|
IPAM Driver
|
|
|
|
|
<span ng-show="sortType == 'IPAM.Driver' && !sortReverse" class="glyphicon glyphicon-chevron-down"></span>
|
|
|
|
|
<span ng-show="sortType == 'IPAM.Driver' && sortReverse" class="glyphicon glyphicon-chevron-up"></span>
|
|
|
|
|
</a>
|
|
|
|
|
</th>
|
|
|
|
|
<th>
|
|
|
|
|
<a href="#/networks/" ng-click="order('IPAM.Config[0].Subnet')">
|
|
|
|
|
IPAM Subnet
|
|
|
|
|
<span ng-show="sortType == 'IPAM.Config[0].Subnet' && !sortReverse" class="glyphicon glyphicon-chevron-down"></span>
|
|
|
|
|
<span ng-show="sortType == 'IPAM.Config[0].Subnet' && sortReverse" class="glyphicon glyphicon-chevron-up"></span>
|
|
|
|
|
</a>
|
|
|
|
|
</th>
|
|
|
|
|
<th>
|
|
|
|
|
<a href="#/networks/" ng-click="order('IPAM.Config[0].Gateway')">
|
|
|
|
|
IPAM Gateway
|
|
|
|
|
<span ng-show="sortType == 'IPAM.Config[0].Gateway' && !sortReverse" class="glyphicon glyphicon-chevron-down"></span>
|
|
|
|
|
<span ng-show="sortType == 'IPAM.Config[0].Gateway' && sortReverse" class="glyphicon glyphicon-chevron-up"></span>
|
|
|
|
|
</a>
|
|
|
|
|
</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr ng-repeat="network in networks | filter:filter | orderBy:predicate">
|
|
|
|
|
<tr ng-repeat="network in networks | filter:filter | orderBy:sortType:sortReverse">
|
|
|
|
|
<td><input type="checkbox" ng-model="network.Checked"/></td>
|
|
|
|
|
<td><a href="#/networks/{{ network.Id }}/">{{ network.Name|truncate:20}}</a></td>
|
|
|
|
|
<td>{{ network.Id }}</td>
|
|
|
|
|