Use ngInclude instead of php include() in event view

This commit is contained in:
Kyle Johnson 2015-02-11 13:17:45 -05:00
parent 8f752f2b20
commit b64b895d31
1 changed files with 2 additions and 3 deletions

View File

@ -6,7 +6,7 @@
<div class="modal-body">
<div id="eventStream" ng-show="stream">
<img class="img-responsive" ng-src="/cgi-bin/nph-zms?source=event&mode=jpeg&event={{eventId}}&frame=1&scale=100&rate=100&maxfps=30&replay=single&connkey=736818&rand=1419877749" />
<img class="img-responsive" ng-src="/cgi-bin/nph-zms?source=event&mode=jpeg&event={{eventId}}&frame=1&scale=100&rate=100&maxfps=30&replay=single" />
<div>
<span class="pull-right">{{ startTime | DateDiff:endTime:'pretty' }}</span>
@ -15,10 +15,9 @@
</div>
</div>
</div>
<div ng-include="'/skins/bootstrap/views/event-frames-stills.html'"></div>
</div>
<?php include("event-frames-stills.html"); ?>
<div class="modal-footer">
<span class="pull-right glyphicon glyphicon-chevron-right"><span class="sr-only">Next</span></span>
<button type="button" class="btn btn-default" ng-click="eventView()">{{ eventView_text }}</button>