2014-11-28 08:27:55 +08:00
|
|
|
<?php xhtmlHeaders( __FILE__, $SLANG['Console'] ); ?>
|
2014-11-01 02:46:37 +08:00
|
|
|
<body>
|
2014-11-29 00:56:22 +08:00
|
|
|
<?php include("header.php"); ?>
|
2014-11-16 00:34:45 +08:00
|
|
|
|
2014-11-29 00:56:22 +08:00
|
|
|
<div class="container-fluid">
|
2014-11-28 08:25:15 +08:00
|
|
|
<div class="row">
|
2014-11-29 00:56:22 +08:00
|
|
|
<div class="col-md-2"><?php include("sidebar.php"); ?></div>
|
|
|
|
|
|
|
|
<div class="col-md-10">
|
|
|
|
<div ng-controller="ConsoleController" class="flexcontainer">
|
|
|
|
<div ng-repeat="monitor in monitors" class="monitor panel" ng-class="(monitor.alerts.zmc || monitor.alerts.zma) ? 'panel-default' : 'panel-danger'">
|
|
|
|
|
|
|
|
<div class="panel-heading">
|
|
|
|
<a ng-hide="(monitor.alerts.zmc || monitor.alerts.zma)" class="pull-right" href="#" tooltip="{{ monitor.alert }}">
|
|
|
|
<span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
|
|
|
|
</a>
|
|
|
|
<h2 class="text-left panel-title">{{ monitor.Name }} <small>({{monitor.Id}})</small></h2>
|
|
|
|
</div> <!-- End .panel-heading -->
|
|
|
|
|
|
|
|
<div class="panel-body center-block">
|
|
|
|
<img class="img-responsive img-rounded" ng-src="/cgi-bin/nph-zms?mode=single&monitor={{monitor.Id}}&scale=50" />
|
|
|
|
</div> <!-- End .panel-body -->
|
|
|
|
|
2015-01-08 05:29:30 +08:00
|
|
|
<div class="panel-footer">
|
|
|
|
<button type="button" class="btn btn-danger btn-sm" ng-click="delete($index)">Delete</button>
|
|
|
|
</div>
|
|
|
|
|
2014-11-29 00:56:22 +08:00
|
|
|
</div> <!-- End .monitor -->
|
|
|
|
</div> <!-- End ConsoleController -->
|
2014-11-01 23:26:19 +08:00
|
|
|
</div> <!-- End .col-md-10 -->
|
|
|
|
|
2014-11-29 00:56:22 +08:00
|
|
|
</div> <!-- End .row -->
|
|
|
|
</div> <!-- .container-fluid -->
|
|
|
|
<?php include("footer.php"); ?>
|
2014-11-01 02:46:37 +08:00
|
|
|
</body>
|
|
|
|
</html>
|