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

41 lines
2.1 KiB
PHP
Raw Normal View History

<?php xhtmlHeaders(__FILE__, $SLANG['Events'] ); ?>
2014-11-01 02:46:37 +08:00
<body>
2014-11-02 20:42:40 +08:00
<?php include("header.php"); ?>
<div class="container-fluid" ng-controller="EventsController">
<div class="row">
2014-11-11 22:21:13 +08:00
<div class="col-md-2">
<?php if ( true || canEdit( 'Events' ) ) { ?>
<div class="btn-group-vertical">
<input class="btn btn-default" type="button" name="archiveBtn" value="<?= $SLANG['Archive'] ?>" onclick="archiveEvents( this, 'markEids' )" disabled="disabled"/>
<input class="btn btn-default" type="button" name="unarchiveBtn" value="<?= $SLANG['Unarchive'] ?>" onclick="unarchiveEvents( this, 'markEids' );" disabled="disabled"/>
<input class="btn btn-default" type="button" name="editBtn" value="<?= $SLANG['Edit'] ?>" onclick="editEvents( this, 'markEids' )" disabled="disabled"/>
<input class="btn btn-default" type="button" name="exportBtn" value="<?= $SLANG['Export'] ?>" onclick="exportEvents( this, 'markEids' )" disabled="disabled"/>
<input class="btn btn-default" type="button" name="deleteBtn" value="<?= $SLANG['Delete'] ?>" onclick="deleteEvents( this, 'markEids' );" disabled="disabled"/>
</div>
<?php } ?>
</div> <!-- End sidebar .col-md-2 -->
<div class="col-md-10">
<div class="clearfix events">
<div class="event" dir-paginate="event in events | itemsPerPage: eventsPerPage" total-items="totalEvents" ng-click="displayEvent($index)">
<img ng-src="/events/{{ event.thumbData.Path }}" class="img-thumbnail" alt="..."/>
<div class="over">
<div class="info">
<span>Monitor {{event.Event.MonitorId}}</span>
<span>{{ event.Event.StartTime | DateDiff:event.Event.EndTime:'pretty' }}</span>
<span>Event {{event.Event.Id}}</span>
</div> <!-- End .info -->
</div> <!-- End .over -->
</div> <!-- End .event -->
</div> <!-- End .clearfix -->
<dir-pagination-controls on-page-change="pageChanged(newPageNumber)"></dir-pagination-controls>
</div> <!-- End main .col-md-10 -->
</div> <!-- End .row -->
</div> <!-- End .container-fluid -->
2014-12-24 11:43:42 +08:00
<?php include("footer.php"); ?>
2014-11-01 02:46:37 +08:00
</body>
</html>