summaryrefslogtreecommitdiff
path: root/www/templates
diff options
context:
space:
mode:
Diffstat (limited to 'www/templates')
-rw-r--r--www/templates/events-modal.html4
-rw-r--r--www/templates/events.html8
2 files changed, 6 insertions, 6 deletions
diff --git a/www/templates/events-modal.html b/www/templates/events-modal.html
index d56d27e2..c768b4e2 100644
--- a/www/templates/events-modal.html
+++ b/www/templates/events-modal.html
@@ -43,7 +43,7 @@
<!--<div style="color:white">connkey:{{connKey}}</div>-->
<div style="width:100vw; height:100vh" >
- <img image-spinner-src="{{event.Event.streamingURL}}/nph-zms?source=event&mode=jpeg&event={{eventId}}&frame=1&replay={{currentStreamMode}}&rate=100&connkey={{connKey}}&scale={{singleImageQuality}}{{$root.authSession}}" ng-class="{'object-fit_cover':imageFit==false, 'object-fit_contain':imageFit==true}" on-double-tap="closeModal();"/>
+ <img image-spinner-src="{{loginData.streamingurl}}/nph-zms?source=event&mode=jpeg&event={{eventId}}&frame=1&replay={{currentStreamMode}}&rate=100&connkey={{connKey}}&scale={{singleImageQuality}}{{$root.authSession}}" ng-class="{'object-fit_cover':imageFit==false, 'object-fit_contain':imageFit==true}" on-double-tap="closeModal();"/>
<div ng-if="isPaused" style="position:absolute; top:50%; left:50%;white-space:nowrap;overflow:hidden;z-index:999"
class="header-paused">
@@ -150,7 +150,7 @@
</span>
-<span class="events-modal-gapless-icon">
+<span class="events-modal-gapless-icon" ng-if="defaultVideo==''">
<a ng-class="loginData.gapless? 'button button-small button-stable' : 'button button-small button-assertive' " href="" ng-click="toggleGapless()">gapless: {{loginData.gapless?"on":"off"}}</a>
</span>
diff --git a/www/templates/events.html b/www/templates/events.html
index fc003db3..e85c4d03 100644
--- a/www/templates/events.html
+++ b/www/templates/events.html
@@ -277,7 +277,7 @@
<div class="list list-inset">
<div class="item item-divider">1 hour summary</div>
- <div ng-repeat="hour in hours" id="hour-{{$index}}">
+ <div ng-repeat="hour in hours|filter:{ monitor: '!'+'(Unknown)'}" id="hour-{{$index}}">
<span style="color:black">
<a class="item item-icon-right" href=""
@@ -292,7 +292,7 @@
<div class="list list-inset">
<div class="item item-divider">1 day summary</div>
- <div ng-repeat="day in days" id="day-{{$index}}">
+ <div ng-repeat="day in days|filter:{ monitor: '!'+'(Unknown)'}" id="day-{{$index}}">
<span style="color:black">
<a class="item item-icon-right" href=""
@@ -308,7 +308,7 @@
<div class="list list-inset">
<div class="item item-divider">1 week summary</div>
- <div ng-repeat="week in weeks" id="week-{{$index}}">
+ <div ng-repeat="week in weeks|filter:{ monitor: '!'+'(Unknown)'}" id="week-{{$index}}">
<span style="color:black">
<a class="item item-icon-right" href=""
@@ -323,7 +323,7 @@
<div class="list list-inset">
<div class="item item-divider">1 month summary</div>
- <div ng-repeat="month in months" id="month-{{$index}}">
+ <div ng-repeat="month in months|filter:{ monitor: '!'+'(Unknown)'}" id="month-{{$index}}">
<span style="color:black">
<a class="item item-icon-right" href=""