diff options
| author | root <root@term.(none)> | 2016-08-22 13:40:06 +0200 |
|---|---|---|
| committer | root <root@term.(none)> | 2016-08-22 13:40:06 +0200 |
| commit | 25e440861a7c31877f7ad0d4992cc0de6c0dce02 (patch) | |
| tree | cd7409030d86e5156544bb1c5ac61feb61aa65bb /www/templates | |
| parent | 5afcaac8873cd91a3c760e5982b60db374608fd4 (diff) | |
Added Wake-Sleep-Reset control commands
Former-commit-id: 8ddfeea854f40464f43375a4f14dc11de92c4d30
Diffstat (limited to 'www/templates')
| -rw-r--r-- | www/templates/monitors-modal.html | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/www/templates/monitors-modal.html b/www/templates/monitors-modal.html index 053d9beb..9524b041 100644 --- a/www/templates/monitors-modal.html +++ b/www/templates/monitors-modal.html @@ -36,6 +36,13 @@ <div ng-show="isControllable=='1' && showPTZ"> + + <div class="ptzcenteredtopbutton"> + <a class="button button-small icon button-royal" href="" ng-click="controlPTZ(monitorId, ptzWakeCommand);">{{'kWake' | translate}}</a> + <a class="button button-small icon button-royal" href="" ng-click="controlPTZ(monitorId, ptzSleepCommand);">{{'kSleep' | translate}}</a> + <a class="button button-small icon button-royal" href="" ng-click="controlPTZ(monitorId, ptzResetCommand);">{{'Reset' | translate}}</a> + </div> + <div class="ptzcentered"> <circular options="ptzRadialMenuOptions"> </circular> @@ -44,13 +51,11 @@ <div ng-if="presetOn" class="ptzpresetbuttons animated fadeInDown" id="presetlist"> <div ng-repeat="preset in ptzPresets track by $index"> <button class="button {{preset.icon}} button-small button-royal" style="float:left;margin-right:10px;margin-bottom:10px;" ng-click="controlPTZ(monitorId, preset.cmd);">{{preset.name}}</button> - - </div> </div> - <div class="ptzcenteredbutton"> + <div class="ptzcenteredbotbutton"> <div ng-if="canZoom"> <a class="button button-small icon ion-search button-positive" href="" ng-click="controlPTZ(monitorId, zoomInCommand);">+</a> <a class="button button-small icon ion-search button-positive" href="" ng-click="controlPTZ(monitorId, zoomOutCommand);">-</a> @@ -132,4 +137,4 @@ <div class="monitor-modal-text">{{monitorName}} <span style="{{stateColor()}}">{{monStatus}} </span></div> -</div>
\ No newline at end of file +</div> |
