|
|
|
@ -28,49 +28,49 @@
|
|
|
|
|
<tr>
|
|
|
|
|
<th><label><input type="checkbox" ng-model="state.toggle" ng-change="toggleSelectAll()"/> Select</label></th>
|
|
|
|
|
<th>
|
|
|
|
|
<a href="#/networks/" ng-click="order('Name')">
|
|
|
|
|
<a ui-sref="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')">
|
|
|
|
|
<a ui-sref="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')">
|
|
|
|
|
<a ui-sref="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')">
|
|
|
|
|
<a ui-sref="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')">
|
|
|
|
|
<a ui-sref="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')">
|
|
|
|
|
<a ui-sref="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')">
|
|
|
|
|
<a ui-sref="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>
|
|
|
|
@ -81,7 +81,7 @@
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr ng-repeat="network in ( state.filteredNetworks = (networks | filter:state.filter | orderBy:sortType:sortReverse))">
|
|
|
|
|
<td><input type="checkbox" ng-model="network.Checked" ng-change="selectItem(network)"/></td>
|
|
|
|
|
<td><a href="#/networks/{{ network.Id }}/">{{ network.Name|truncate:20}}</a></td>
|
|
|
|
|
<td><a ui-sref="network({id: network.Id})">{{ network.Name|truncate:20}}</a></td>
|
|
|
|
|
<td>{{ network.Id }}</td>
|
|
|
|
|
<td>{{ network.Scope }}</td>
|
|
|
|
|
<td>{{ network.Driver }}</td>
|
|
|
|
|