summaryrefslogtreecommitdiff
path: root/www/templates
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2019-08-08 08:27:48 -0400
committerPliable Pixels <pliablepixels@gmail.com>2019-08-08 08:27:48 -0400
commit38784717b6501b96dc1e4863e726b10daf1c6442 (patch)
tree5e15805887e605a2c41767b93139e49198de74ad /www/templates
parent025c62ab130de43da4bc628f8255701def970cb8 (diff)
#839 fix modal buttons
Diffstat (limited to 'www/templates')
-rw-r--r--www/templates/events-modal.html15
1 files changed, 6 insertions, 9 deletions
diff --git a/www/templates/events-modal.html b/www/templates/events-modal.html
index dc127d3b..17b68e88 100644
--- a/www/templates/events-modal.html
+++ b/www/templates/events-modal.html
@@ -135,18 +135,15 @@
resting-icon="ion-chevron-up" toggling-method="click">
<a mfb-button icon="ion-arrow-right-c" label="{{'kNextEvent'|translate}}" ng-click="jumpToEvent(nextId,1);"></a>
<a mfb-button icon="ion-arrow-left-c" label="{{'kPrevEvent'|translate}}" ng-click="jumpToEvent(prevId,-1);"></a>
- <a ng-if="!isSnapShot()" mfb-button icon="ion-arrow-resize" label="{{imageFit? ('kFillScreen' | translate):('kFitScreen' | translate)}}"
+ <a ng-if="!isSnapShot() && !defaultVideo" mfb-button icon="ion-arrow-resize" label="{{imageFit? ('kFillScreen' | translate):('kFitScreen' | translate)}}"
ng-click="scaleImage();"></a>
+ <a ng-if="!defaultVideo" mfb-button icon="ion-skip-backward" label="{{'kFastRewind'|translate}}" ng-click="adjustSpeed('fr');"></a>
+ <a ng-if="!defaultVideo" mfb-button icon="ion-skip-forward" label="{{'kFastForward'|translate}}" ng-click="adjustSpeed('ff');"></a>
+ <a ng-if="!defaultVideo" mfb-button icon="ion-play" label="{{'kNormalPlay'|translate}}" ng-click="adjustSpeed('np');"></a>
+ <a ng-if="!defaultVideo" mfb-button icon="ion-pause" label="{{'kPause'|translate}}" ng-click="adjustSpeed('p');"> </a>
<a mfb-button icon="ion-close" label="{{'kExitEventView' | translate}}" ng-click="closeModal()"> </a>
</nav>
- <nav ng-if=" !isSnapShot() && defaultVideo==''" mfb-menu position="tr" effect="zoomin" label="{{'kCollapse' | translate}}"
- active-icon="ion-chevron-up" resting-icon="ion-chevron-down" toggling-method="click">
- <a mfb-button icon="ion-skip-backward" label="{{'kFastRewind'|translate}}" ng-click="adjustSpeed('fr');"></a>
- <a mfb-button icon="ion-skip-forward" label="{{'kFastForward'|translate}}" ng-click="adjustSpeed('ff');"></a>
- <a mfb-button icon="ion-play" label="{{'kNormalPlay'|translate}}" ng-click="adjustSpeed('np');"></a>
- <a mfb-button icon="ion-pause" label="{{'kPause'|translate}}" ng-click="adjustSpeed('p');"> </a>
- </nav>
-
+
<div class="events-range-modal-text">{{mName}}&nbsp;
<i class="ion-arrow-right-b"></i>&nbsp;{{videoDynamicTime}} ({{humanizeTime}}) [{{d_eventId}}]
<span class="events-range-modal-warning-text">{{eventWarning}}</span>