diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2016-10-09 10:42:28 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2016-10-09 10:42:28 -0400 |
| commit | 986006947c3a6ac404d6868c113a03aaf202dcc2 (patch) | |
| tree | 86691fed62bb5dc40ce228874089de13ab8ae6dc /www/templates | |
| parent | 82d0d75f6e7be1ed50fc2136a488e5c9e5ab33c5 (diff) | |
simplifying event montage - select X hrs ago too
Former-commit-id: eac8812d33320d75e049da131c3fee631d0ad7f1
Diffstat (limited to 'www/templates')
| -rw-r--r-- | www/templates/montage-history.html | 80 |
1 files changed, 43 insertions, 37 deletions
diff --git a/www/templates/montage-history.html b/www/templates/montage-history.html index 9895d5cf..3a4cbd86 100644 --- a/www/templates/montage-history.html +++ b/www/templates/montage-history.html @@ -14,10 +14,10 @@ <button class="button button-icon button-clear ion-loop" ng-click="resetSizes();"> </button> - + <button class="button button-icon button-clear ion-plus-round" ng-click="sliderChanged(1);"> </button> - + <button class="button button-icon button-clear ion-minus-round" ng-click="sliderChanged(-1);"> </button> @@ -29,7 +29,7 @@ <ion-content scroll-sista has-bouncing="false" style="background-color:#444444" delegate-handle="none" overflow-scroll="false" mouse-wheel-scroll> - + <!--<div class="timeline_text" ion-datetime-picker title="From" am-pm={{!loginData.use24hr}} ng-model="datetimeValueFrom.value" ng-change="dateChanged()"> <b>{{'kFrom' | translate}} : </b>{{datetimeValueFrom.value | date: timeFormat}} @@ -41,7 +41,8 @@ </div>--> <div class="timeline_text"> - {{'kFrom' | translate}}:{{prettifyDateTimeFirst(datetimeValueFrom.value)}} ({{humanizeTime(datetimeValueFrom.value)}}) <!-- - {{'kTo' | translate}}:{{prettifyDateTimeFirst(datetimeValueTo.value)}} --> + {{'kFrom' | translate}}:{{prettifyDateTimeFirst(datetimeValueFrom.value)}} ({{humanizeTime(datetimeValueFrom.value)}}) + <!-- - {{'kTo' | translate}}:{{prettifyDateTimeFirst(datetimeValueTo.value)}} --> <div ng-if="$root.platformOS != 'ios'">({{'kChromeMax' | translate}})</div> </div> @@ -92,49 +93,46 @@ <figcaption class="normal-figcaption" > - <i class="ion-ios-videocam"></i> <span style="background-color:red;color:#fff" ng-if="monitor.Monitor.isPaused"> <i class="ion-pause"></i> </span> - {{monitor.Monitor.Name}} - - <div ng-if="sliderVal.showTimeline && $root.runMode!='lowbw'" style="white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:9px" - class="header-event-id" id="{{monitor.Monitor.Id}}-timeline"> - <i class="ion-clock"></i> - {{prettifyDateTimeFirst(monitor.Monitor.eventUrlTime)}} ({{humanizeTime(monitor.Monitor.eventUrlTime)}}) - </div> + <i class="ion-ios-videocam"></i> <span style="background-color:red;color:#fff" ng-if="monitor.Monitor.isPaused"> <i class="ion-pause"></i> </span> {{monitor.Monitor.Name}} + + <div ng-if="sliderVal.showTimeline && $root.runMode!='lowbw'" style="white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:9px" class="header-event-id" id="{{monitor.Monitor.Id}}-timeline"> + <i class="ion-clock"></i> {{prettifyDateTimeFirst(monitor.Monitor.eventUrlTime)}} ({{humanizeTime(monitor.Monitor.eventUrlTime)}}) + </div> + + </figcaption> + + + + </figure> + </div> - </figcaption> - - </figure> - </div> - - - - - <!-- + + <!-- <div ng-if="sliderVal.showTimeline && $root.runMode!='lowbw'" style=" position:absolute; bottom:15px; right:0%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;" class="header-event-id" id="{{monitor.Monitor.Id}}-timeline"> <i class="ion-clock"></i> {{prettifyDate(monitor.Monitor.eventUrlTime)}} </div> --> - - - <!--<div ng-if="!monitor.isPaused" + + + <!--<div ng-if="!monitor.isPaused" style="position:absolute; bottom:35px; right:0%;white-space:nowrap;overflow:hidden;" class="header-event-id">paused </div>--> - - - </div> - </div> <!-- valid auth session &!background --> - <div ng-if="!$root.authSession=='undefined' || isBackground()"> - <img image-spinner-src="img/pausevideo.png" - /> - - </div> - </span> + + </div> + </div> + <!-- valid auth session &!background --> + + <div ng-if="!$root.authSession=='undefined' || isBackground()"> + <img image-spinner-src="img/pausevideo.png" /> + + </div> + </span> </div> <ion-item ng-show="!MontageMonitors.length"> @@ -195,14 +193,22 @@ - + <div class="item item-divider">{{'kTimeline' | translate}}</div> + <div class="item item-input-inset"> + {{'kEventHistShowFrom'|translate}}: + <label class="item-input-wrapper"> + <input ng-change="hrsChanged()" type="tel" placeholder="hours" ng-model="datetimeValueFrom.hrs"> + </label> + {{'kEventHistHrs' | translate}} + </div> + <ion-item> - <div ion-datetime-picker title="From" am-pm={{!loginData.use24hr}} ng-model="datetimeValueFrom.value"> + <div ion-datetime-picker title="From" am-pm={{!loginData.use24hr}} ng-model="datetimeValueFrom.value" ng-change="dateChanged()"> <b>{{'kFrom' | translate }}: </b>{{datetimeValueFrom.value | date: timeFormat}} - </div> ({{humanizeTime(datetimeValueFrom.value)}}) + </div> ({{humanizeTime(datetimeValueFrom.value)}}) </ion-item> <div class="row"> |
