2016-06-08 06:23:11 +00:00
|
|
|
<rd-header>
|
2016-06-14 02:32:44 +00:00
|
|
|
<rd-header-title title="Network list">
|
|
|
|
<a data-toggle="tooltip" title="Refresh" ui-sref="networks" ui-sref-opts="{reload: true}">
|
|
|
|
<i class="fa fa-refresh" aria-hidden="true"></i>
|
|
|
|
</a>
|
|
|
|
</rd-header-title>
|
2016-06-08 06:23:11 +00:00
|
|
|
<rd-header-content>Networks</rd-header-content>
|
|
|
|
</rd-header>
|
|
|
|
|
2016-06-02 05:34:03 +00:00
|
|
|
<div class="col-lg-12">
|
|
|
|
<rd-widget>
|
|
|
|
<rd-widget-header icon="fa-sitemap" title="Networks">
|
2016-07-07 00:44:58 +00:00
|
|
|
<div class="pull-right">
|
|
|
|
<i id="loadNetworksSpinner" class="fa fa-cog fa-2x fa-spin" style="margin-top: 5px;"></i>
|
|
|
|
</div>
|
2016-06-02 05:34:03 +00:00
|
|
|
</rd-widget-header>
|
|
|
|
<rd-widget-taskbar classes="col-lg-12">
|
|
|
|
<div class="pull-left">
|
2016-09-14 03:30:52 +00:00
|
|
|
<button type="button" class="btn btn-danger" ng-click="removeAction()" ng-disabled="!state.selectedItemCount"><i class="fa fa-trash btn-ico" aria-hidden="true"></i>Remove</button>
|
2016-08-17 05:25:42 +00:00
|
|
|
<a class="btn btn-default" type="button" ui-sref="actions.create.network">Add network</a>
|
2016-06-02 05:34:03 +00:00
|
|
|
</div>
|
|
|
|
<div class="pull-right">
|
|
|
|
<input type="text" id="filter" ng-model="state.filter" placeholder="Filter..." class="form-control input-sm" />
|
|
|
|
</div>
|
|
|
|
</rd-widget-taskbar>
|
|
|
|
<rd-widget-body classes="no-padding">
|
|
|
|
<div class="table-responsive">
|
2016-07-13 23:03:40 +00:00
|
|
|
<table class="table table-hover">
|
2016-06-02 05:34:03 +00:00
|
|
|
<thead>
|
|
|
|
<tr>
|
2016-08-03 23:17:34 +00:00
|
|
|
<th></th>
|
2016-06-02 05:34:03 +00:00
|
|
|
<th>
|
2016-06-14 02:13:52 +00:00
|
|
|
<a ui-sref="networks" ng-click="order('Name')">
|
2016-06-02 05:34:03 +00:00
|
|
|
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>
|
2016-08-17 05:25:42 +00:00
|
|
|
<th>
|
|
|
|
<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>
|
2016-06-02 05:34:03 +00:00
|
|
|
<th>
|
2016-06-14 02:13:52 +00:00
|
|
|
<a ui-sref="networks" ng-click="order('Scope')">
|
2016-06-02 05:34:03 +00:00
|
|
|
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>
|
2016-08-17 05:25:42 +00:00
|
|
|
<th>
|
|
|
|
<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 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>
|
2016-06-02 05:34:03 +00:00
|
|
|
<th>
|
2016-06-14 02:13:52 +00:00
|
|
|
<a ui-sref="networks" ng-click="order('IPAM.Config[0].Subnet')">
|
2016-08-17 05:25:42 +00:00
|
|
|
IPAM Subnet
|
2016-06-02 05:34:03 +00:00
|
|
|
<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>
|
2016-06-14 02:13:52 +00:00
|
|
|
<a ui-sref="networks" ng-click="order('IPAM.Config[0].Gateway')">
|
2016-08-17 05:25:42 +00:00
|
|
|
IPAM Gateway
|
2016-06-02 05:34:03 +00:00
|
|
|
<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 ( state.filteredNetworks = (networks | filter:state.filter | orderBy:sortType:sortReverse))">
|
|
|
|
<td><input type="checkbox" ng-model="network.Checked" ng-change="selectItem(network)"/></td>
|
2016-07-06 07:04:45 +00:00
|
|
|
<td><a ui-sref="network({id: network.Id})">{{ network.Name|truncate:40}}</a></td>
|
2016-08-17 05:25:42 +00:00
|
|
|
<td>{{ network.Id }}</td>
|
2016-06-02 05:34:03 +00:00
|
|
|
<td>{{ network.Scope }}</td>
|
2016-08-17 05:25:42 +00:00
|
|
|
<td>{{ network.Driver }}</td>
|
|
|
|
<td>{{ network.IPAM.Driver }}</td>
|
2016-07-06 07:04:45 +00:00
|
|
|
<td>{{ network.IPAM.Config[0].Subnet ? network.IPAM.Config[0].Subnet : '-' }}</td>
|
|
|
|
<td>{{ network.IPAM.Config[0].Gateway ? network.IPAM.Config[0].Gateway : '-' }}</td>
|
2016-06-02 05:34:03 +00:00
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</rd-widget-body>
|
|
|
|
<rd-widget>
|
2015-12-18 05:35:04 +00:00
|
|
|
</div>
|