diff options
| author | Arjun Roychowdhury <pliablepixels@gmail.com> | 2016-01-08 07:12:19 +0530 |
|---|---|---|
| committer | Arjun Roychowdhury <pliablepixels@gmail.com> | 2016-01-08 07:12:19 +0530 |
| commit | 468b14fa8f0c5ce33f9f4e6787d19be5dd2a5123 (patch) | |
| tree | 624155b40e2fed42e6fe16122c2031fa6e9dd7e6 /www/templates | |
| parent | 7208b29599a8e5c4892345bb15f62df7a4e677d9 (diff) | |
#116 - initial code for preset suppport - still needs work
Former-commit-id: e5fcac51dc6c4d836e7c78827b52ed3f3787afcf
Diffstat (limited to 'www/templates')
| -rw-r--r-- | www/templates/monitors-modal.html | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/www/templates/monitors-modal.html b/www/templates/monitors-modal.html index 5b2e374d..f2323282 100644 --- a/www/templates/monitors-modal.html +++ b/www/templates/monitors-modal.html @@ -48,11 +48,31 @@ <div class="ptzcentered"> <circular options="radialMenuOptions"> </circular> + </div> + + <div ng-if="presetOn" class="ptzpresetbuttons animated fadeInDown"> + <div ng-repeat="preset in ptzPresets track by $index"> + <div ng-if="$index%4==0" class="row"> + <div class="col"> + <button class="button button-small button-dark">{{$index+1}}</button> + <button ng-if="$index+2<=ptzPresetCount" + class="button button-small button-dark">{{$index+2}}</button> + <button ng-if="$index+3<=ptzPresetCount" + class="button button-small button-dark">{{$index+3}}</button> + <button ng-if="$index+4<=ptzPresetCount" + class="button button-small button-dark">{{$index+4}}</button> + </div> + </div> + + </div> + </div> + + <div class="ptzcenteredbutton"> + <a class="button button-small icon ion-stop button-assertive" href="" ng-click="controlPTZ(monitorId, ptzStopCommand);"></a> + <a class="button button-small button-stable" href="" ng-click="togglePresets();">presets</a> </div> - <a class="ptzcenteredbutton button button-small icon ion-stop button-assertive" href="" ng-click="controlPTZ(monitorId, ptzStopCommand);"></a> - </div> |
