summaryrefslogtreecommitdiff
path: root/www/templates
diff options
context:
space:
mode:
authorpliablepixels <pliablepixels@gmail.com>2016-04-15 11:54:13 -0400
committerpliablepixels <pliablepixels@gmail.com>2016-04-15 11:54:13 -0400
commit8fccabcec0f0d0d13ae1bc6b9032f15cfe621914 (patch)
tree5dd4d283de41fb1511ce3aa5e64ba314769a6d0d /www/templates
parentd20c33f7cbdc4d0e4b51d2e318616a3b5f1f7150 (diff)
#224 - initial code for zoom support
Former-commit-id: 7b81646df0bef3a3dab87868485d54aed1953b39
Diffstat (limited to 'www/templates')
-rw-r--r--www/templates/monitors-modal.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/www/templates/monitors-modal.html b/www/templates/monitors-modal.html
index c62155db..2b20562d 100644
--- a/www/templates/monitors-modal.html
+++ b/www/templates/monitors-modal.html
@@ -52,6 +52,13 @@
<div class="ptzcenteredbutton">
+ <div ng-if="canZoom">
+ <a class="button button-small button-positive" href="" ng-click="controlPTZ(monitorId, zoomInCommand);">zoom in</a>
+ <a class="button button-small icon button-positive" href="" ng-click="controlPTZ(monitorId, zoomOutCommand);">zoom out</a>
+ <a class="button button-small icon button-positive" href="" ng-click="controlPTZ(monitorId, zoomStopCommand);">zoom stop</a>
+
+ </div>
+ <br/>
<a class="button button-small icon ion-stop button-assertive" href="" ng-click="controlPTZ(monitorId, ptzStopCommand);"></a>
<a class="button button-small button-royal" href="" ng-click="togglePresets();">presets</a>
</div>