2016-06-08 06:23:11 +00:00
|
|
|
<rd-header>
|
2016-07-07 00:44:58 +00:00
|
|
|
<rd-header-title title="Network details">
|
|
|
|
<i id="loadingViewSpinner" class="fa fa-cog fa-spin"></i>
|
|
|
|
</rd-header-title>
|
2016-06-08 06:23:11 +00:00
|
|
|
<rd-header-content>
|
|
|
|
Networks > <a ui-sref="network({id: network.Id})">{{ network.Name }}</a>
|
|
|
|
</rd-header-content>
|
|
|
|
</rd-header>
|
|
|
|
|
2016-06-02 05:34:03 +00:00
|
|
|
<div class="row">
|
2016-09-14 05:48:20 +00:00
|
|
|
<div class="col-lg-12 col-md-12 col-xs-12">
|
2016-06-02 05:34:03 +00:00
|
|
|
<rd-widget>
|
|
|
|
<rd-widget-header icon="fa-sitemap" title="Network details"></rd-widget-header>
|
|
|
|
<rd-widget-body classes="no-padding">
|
|
|
|
<table class="table">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
2016-09-14 05:48:20 +00:00
|
|
|
<td>Name</td>
|
|
|
|
<td>{{ network.Name }}</td>
|
2016-06-02 05:34:03 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2016-09-14 05:48:20 +00:00
|
|
|
<td>ID</td>
|
|
|
|
<td>
|
|
|
|
{{ network.Id }}
|
2016-10-27 08:33:39 +00:00
|
|
|
<button class="btn btn-xs btn-danger" ng-click="removeNetwork(network.Id)"><i class="fa fa-trash space-right" aria-hidden="true"></i>Delete this network</button>
|
2016-09-14 05:48:20 +00:00
|
|
|
</td>
|
2016-06-02 05:34:03 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Driver</td>
|
|
|
|
<td>{{ network.Driver }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2016-09-14 05:48:20 +00:00
|
|
|
<td>Scope</td>
|
|
|
|
<td>{{ network.Scope }}</td>
|
2016-06-02 05:34:03 +00:00
|
|
|
</tr>
|
2016-09-14 05:48:20 +00:00
|
|
|
<tr ng-if="network.IPAM.Config[0].Subnet">
|
|
|
|
<td>Subnet</td>
|
|
|
|
<td>{{ network.IPAM.Config[0].Subnet }}</td>
|
2016-06-02 05:34:03 +00:00
|
|
|
</tr>
|
2016-09-14 05:48:20 +00:00
|
|
|
<tr ng-if="network.IPAM.Config[0].Gateway">
|
|
|
|
<td>Gateway</td>
|
|
|
|
<td>{{ network.IPAM.Config[0].Gateway }}</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</rd-widget-body>
|
|
|
|
</rd-widget>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row" ng-if="!(network.Options | emptyobject)">
|
|
|
|
<div class="col-lg-12 col-md-12 col-xs-12">
|
|
|
|
<rd-widget>
|
|
|
|
<rd-widget-header icon="fa-cogs" title="Network options"></rd-widget-header>
|
|
|
|
<rd-widget-body classes="no-padding">
|
|
|
|
<table class="table">
|
|
|
|
<tbody>
|
|
|
|
<tr ng-repeat="(key, value) in network.Options">
|
|
|
|
<td>{{ key }}</td>
|
|
|
|
<td>{{ value }}</td>
|
2016-06-02 05:34:03 +00:00
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</rd-widget-body>
|
|
|
|
</rd-widget>
|
|
|
|
</div>
|
|
|
|
</div>
|