2016-06-08 06:23:11 +00:00
|
|
|
<rd-header>
|
2016-07-13 22:58:39 +00:00
|
|
|
<rd-header-title title="Home">
|
|
|
|
<i id="loadingViewSpinner" class="fa fa-cog fa-spin"></i>
|
|
|
|
</rd-header-title>
|
2016-06-08 06:23:11 +00:00
|
|
|
<rd-header-content>Dashboard</rd-header-content>
|
|
|
|
</rd-header>
|
|
|
|
|
2016-06-02 05:34:03 +00:00
|
|
|
<div class="row">
|
2016-09-23 04:54:58 +00:00
|
|
|
<div class="col-lg-12 col-md-12 col-xs-12" ng-if="swarm_mode || !swarm">
|
2016-06-02 05:34:03 +00:00
|
|
|
<rd-widget>
|
2016-08-03 09:45:35 +00:00
|
|
|
<rd-widget-header icon="fa-tachometer" title="Node info"></rd-widget-header>
|
2016-07-13 22:58:39 +00:00
|
|
|
<rd-widget-body classes="no-padding">
|
|
|
|
<table class="table">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>Name</td>
|
|
|
|
<td>{{ infoData.Name }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Docker version</td>
|
|
|
|
<td>{{ infoData.ServerVersion }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>CPU</td>
|
|
|
|
<td>{{ infoData.NCPU }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Memory</td>
|
|
|
|
<td>{{ infoData.MemTotal|humansize }}</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2016-06-02 05:34:03 +00:00
|
|
|
</rd-widget-body>
|
|
|
|
</rd-widget>
|
|
|
|
</div>
|
2016-09-23 04:54:58 +00:00
|
|
|
<div class="col-lg-12 col-md-12 col-xs-12" ng-if="swarm && !swarm_mode">
|
2016-06-02 05:34:03 +00:00
|
|
|
<rd-widget>
|
2016-08-03 09:45:35 +00:00
|
|
|
<rd-widget-header icon="fa-tachometer" title="Cluster info"></rd-widget-header>
|
2016-07-13 22:58:39 +00:00
|
|
|
<rd-widget-body classes="no-padding">
|
|
|
|
<table class="table">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>Nodes</td>
|
|
|
|
<td>{{ infoData.SystemStatus[3][1] }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Swarm version</td>
|
|
|
|
<td>{{ infoData.ServerVersion|swarmversion }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Total CPU</td>
|
|
|
|
<td>{{ infoData.NCPU }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Total memory</td>
|
|
|
|
<td>{{ infoData.MemTotal|humansize }}</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2016-06-02 05:34:03 +00:00
|
|
|
</rd-widget-body>
|
|
|
|
</rd-widget>
|
|
|
|
</div>
|
2016-09-23 04:54:58 +00:00
|
|
|
<div class="col-lg-12 col-md-12 col-xs-12" ng-if="swarm && swarm_mode">
|
|
|
|
<rd-widget>
|
|
|
|
<rd-widget-header icon="fa-tachometer" title="Swarm info"></rd-widget-header>
|
|
|
|
<rd-widget-body classes="no-padding">
|
|
|
|
<table class="table">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td colspan="2"><span class="small text-muted">This node is part of a Swarm cluster</span></td>
|
|
|
|
</tr>
|
|
|
|
<tr >
|
|
|
|
<td>Node role</td>
|
|
|
|
<td>{{ infoData.Swarm.ControlAvailable ? 'Manager' : 'Worker' }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr ng-if="infoData.Swarm.ControlAvailable">
|
|
|
|
<td>Nodes in the cluster</td>
|
|
|
|
<td>{{ infoData.Swarm.Nodes }}</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</rd-widget-body>
|
|
|
|
</rd-widget>
|
|
|
|
</div>
|
2016-06-02 05:34:03 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
2016-07-13 22:58:39 +00:00
|
|
|
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
|
|
|
|
<a ui-sref="containers">
|
|
|
|
<rd-widget>
|
|
|
|
<rd-widget-body>
|
|
|
|
<div class="widget-icon blue pull-left">
|
2016-09-23 05:19:57 +00:00
|
|
|
<i class="fa fa-server"></i>
|
2016-07-13 22:58:39 +00:00
|
|
|
</div>
|
|
|
|
<div class="pull-right">
|
|
|
|
<div><i class="fa fa-heartbeat text-icon green-icon"></i>{{ containerData.running }} running</div>
|
|
|
|
<div><i class="fa fa-heartbeat text-icon red-icon"></i>{{ containerData.stopped }} stopped</div>
|
|
|
|
</div>
|
|
|
|
<div class="title">{{ containerData.total }}</div>
|
|
|
|
<div class="comment">Containers</div>
|
|
|
|
</rd-widget-body>
|
|
|
|
</rd-widget>
|
|
|
|
</a>
|
2016-06-02 05:34:03 +00:00
|
|
|
</div>
|
2016-07-13 22:58:39 +00:00
|
|
|
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
|
|
|
|
<a ui-sref="images">
|
|
|
|
<rd-widget>
|
|
|
|
<rd-widget-body>
|
|
|
|
<div class="widget-icon blue pull-left">
|
|
|
|
<i class="fa fa-clone"></i>
|
|
|
|
</div>
|
|
|
|
<div class="pull-right">
|
|
|
|
<div><i class="fa fa-pie-chart text-icon"></i>{{ imageData.size|humansize }}</div>
|
|
|
|
</div>
|
|
|
|
<div class="title">{{ imageData.total }}</div>
|
|
|
|
<div class="comment">Images</div>
|
|
|
|
</rd-widget-body>
|
|
|
|
</rd-widget>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
|
|
|
|
<a ui-sref="volumes">
|
|
|
|
<rd-widget>
|
|
|
|
<rd-widget-body>
|
|
|
|
<div class="widget-icon blue pull-left">
|
|
|
|
<i class="fa fa-cubes"></i>
|
|
|
|
</div>
|
|
|
|
<div class="pull-right" ng-if="infoData.Driver">
|
|
|
|
<div><i class="fa fa-hdd-o text-icon"></i>{{ infoData.Driver }} driver</div>
|
|
|
|
</div>
|
|
|
|
<div class="title">{{ volumeData.total }}</div>
|
|
|
|
<div class="comment">Volumes</div>
|
|
|
|
</rd-widget-body>
|
|
|
|
</rd-widget>
|
|
|
|
</a>
|
2016-06-02 05:34:03 +00:00
|
|
|
</div>
|
2016-07-13 22:58:39 +00:00
|
|
|
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
|
|
|
|
<a ui-sref="networks">
|
|
|
|
<rd-widget>
|
|
|
|
<rd-widget-body>
|
|
|
|
<div class="widget-icon blue pull-left">
|
|
|
|
<i class="fa fa-sitemap"></i>
|
|
|
|
</div>
|
|
|
|
<div class="title">{{ networkData.total }}</div>
|
|
|
|
<div class="comment">Networks</div>
|
|
|
|
</rd-widget-body>
|
|
|
|
</rd-widget>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
2013-06-11 01:56:14 +00:00
|
|
|
</div>
|