2014-11-28 08:27:55 +08:00
|
|
|
<?php xhtmlHeaders( __FILE__, $SLANG['Console'] ); ?>
|
2014-11-01 02:46:37 +08:00
|
|
|
<body>
|
2014-11-16 00:34:45 +08:00
|
|
|
<?php include("header.php"); ?>
|
|
|
|
|
2014-11-01 02:46:37 +08:00
|
|
|
<form name="monitorForm" method="get" action="<?= $_SERVER['PHP_SELF'] ?>">
|
|
|
|
<input type="hidden" name="view" value="<?= $view ?>"/>
|
|
|
|
<input type="hidden" name="action" value=""/>
|
2014-11-01 23:39:11 +08:00
|
|
|
|
2014-11-01 04:55:19 +08:00
|
|
|
<div id="content" class="container-fluid">
|
2014-11-01 23:26:19 +08:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-2"><?php include("sidebar.php"); ?></div>
|
|
|
|
|
|
|
|
<div class="col-md-10">
|
2014-11-19 23:53:07 +08:00
|
|
|
|
|
|
|
<div ng-controller="ConsoleController">
|
2014-11-28 08:25:15 +08:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-4" ng-repeat="monitor in monitors">
|
|
|
|
<div class="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>
|
2014-11-19 23:53:07 +08:00
|
|
|
|
2014-11-28 08:25:15 +08:00
|
|
|
<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>
|
|
|
|
</div>
|
2014-11-20 21:47:41 +08:00
|
|
|
</div>
|
2014-11-19 23:53:07 +08:00
|
|
|
</div>
|
2014-11-28 08:25:15 +08:00
|
|
|
|
2014-11-19 23:53:07 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-11-01 23:26:19 +08:00
|
|
|
</div> <!-- End .col-md-10 -->
|
|
|
|
|
|
|
|
|
|
|
|
</div> <!-- End .row -->
|
|
|
|
</div> <!-- End #content .container-fluid -->
|
2014-11-01 02:46:37 +08:00
|
|
|
</form>
|
2014-11-19 23:53:07 +08:00
|
|
|
<?php include("footer.php"); ?>
|
2014-11-01 02:46:37 +08:00
|
|
|
</body>
|
|
|
|
</html>
|