zoneminder/web/skins/bootstrap/views/console.php

37 lines
1.4 KiB
PHP
Raw Normal View History

<?php xhtmlHeaders( __FILE__, $SLANG['Console'] ); ?>
2014-11-01 02:46:37 +08:00
<body>
<?php include("header.php"); ?>
2014-11-16 00:34:45 +08:00
<div class="container-fluid">
<div class="row">
<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 -->
<div class="panel-footer">
<button type="button" class="btn btn-danger btn-sm" ng-click="delete($index)">Delete</button>
</div>
</div> <!-- End .monitor -->
</div> <!-- End ConsoleController -->
</div> <!-- End .col-md-10 -->
</div> <!-- End .row -->
</div> <!-- .container-fluid -->
<?php include("footer.php"); ?>
2014-11-01 02:46:37 +08:00
</body>
</html>