2014-12-24 11:38:54 +08:00
|
|
|
<?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"); ?>
|
|
|
|
|
2015-01-07 07:19:57 +08:00
|
|
|
<div class="container-fluid" ng-controller="EventsController">
|
2014-12-24 11:38:54 +08:00
|
|
|
<div class="row">
|
2014-11-11 22:21:13 +08:00
|
|
|
<div class="col-md-2">
|
2014-12-24 11:38:54 +08:00
|
|
|
<?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 } ?>
|
2014-12-30 01:19:30 +08:00
|
|
|
</div> <!-- End sidebar .col-md-2 -->
|
2014-12-24 11:38:54 +08:00
|
|
|
|
2015-01-07 07:19:57 +08:00
|
|
|
<div class="col-md-10">
|
2015-01-07 07:36:55 +08:00
|
|
|
<div class="clearfix events">
|
2015-01-10 03:24:45 +08:00
|
|
|
<div class="event" dir-paginate="event in events | itemsPerPage: eventsPerPage" total-items="totalEvents" ng-click="displayEvent($index)">
|
2015-01-07 07:36:55 +08:00
|
|
|
<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 -->
|
2014-12-30 01:19:30 +08:00
|
|
|
</div> <!-- End .event -->
|
|
|
|
</div> <!-- End .clearfix -->
|
|
|
|
<dir-pagination-controls on-page-change="pageChanged(newPageNumber)"></dir-pagination-controls>
|
2014-12-24 11:38:54 +08:00
|
|
|
</div> <!-- End main .col-md-10 -->
|
2015-01-07 07:36:55 +08:00
|
|
|
</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>
|