summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/lang/locale-en.json1
-rw-r--r--www/templates/events-modal.html9
-rw-r--r--www/templates/timeline-modal.html5
3 files changed, 11 insertions, 4 deletions
diff --git a/www/lang/locale-en.json b/www/lang/locale-en.json
index e394c483..80cf7cbd 100644
--- a/www/lang/locale-en.json
+++ b/www/lang/locale-en.json
@@ -117,6 +117,7 @@
"kEventView" :"Event View",
"kEvents" :"events",
"kEventsCap" :"Events",
+ "kExit" :"exit",
"kExampleServer" :"eg. My House",
"kExitAppBackground" :"exit app in background",
"kExitEventView" :"exit event view",
diff --git a/www/templates/events-modal.html b/www/templates/events-modal.html
index 36810257..f54bf543 100644
--- a/www/templates/events-modal.html
+++ b/www/templates/events-modal.html
@@ -120,21 +120,22 @@
</ion-content>
</ion-modal-view>
-
+
- <div ng-show="!liveFeedMid && !isSnapShot()">
+ <div ng-show="!liveFeedMid">
<nav 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-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 mfb-button icon="ion-arrow-resize" label="{{imageFit? ('kFillScreen' | translate):('kFitScreen' | translate)}}" ng-click="scaleImage();"></a>
+ <a ng-if="!isSnapShot()" mfb-button icon="ion-arrow-resize" label="{{imageFit? ('kFillScreen' | translate):('kFitScreen' | translate)}}" ng-click="scaleImage();"></a>
<a mfb-button icon="ion-close" label="{{'kExitEventView' | translate}}" ng-click="closeModal()"> </a>
</nav>
- <nav ng-if="loginData.useNphZmsForEvents && defaultVideo==''" mfb-menu position="br" effect="zoomin" label="{{'kCollapse' | translate}}" active-icon="ion-chevron-down" resting-icon="ion-chevron-up" toggling-method="click">
+ <nav ng-if=" !isSnapShot() && defaultVideo==''" mfb-menu position="br" effect="zoomin" label="{{'kCollapse' | translate}}" active-icon="ion-chevron-down" resting-icon="ion-chevron-up" 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> </div>
<div id="flyoutmenu" style="position:absolute;bottom:100px;left:10px">
<ul>
diff --git a/www/templates/timeline-modal.html b/www/templates/timeline-modal.html
index d3e4592e..b33aa4bf 100644
--- a/www/templates/timeline-modal.html
+++ b/www/templates/timeline-modal.html
@@ -34,5 +34,10 @@
<!--</ion-scroll>-->
</div>
</div>
+
+ <nav mfb-menu position="br" effect="zoomin" label="{{'kCollapse'|translate}}" active-icon="ion-chevron-up" resting-icon="ion-chevron-down" toggling-method="click">
+ <a mfb-button icon="ion-close" label="{{'kExit' | translate}}" ng-click="closeModal()"> </a>
+
+ </nav>
</ion-content>
</ion-modal-view>