diff options
| author | Arjun Roychowdhury <pliablepixels@gmail.com> | 2016-01-08 14:59:58 +0530 |
|---|---|---|
| committer | Arjun Roychowdhury <pliablepixels@gmail.com> | 2016-01-08 14:59:58 +0530 |
| commit | cc9738b412d00436a7a16c6dbe853e55d97aec8a (patch) | |
| tree | 4f17b16288a3948fa91a36df098a61081abba4d8 /www/templates/monitors-modal.html | |
| parent | 468b14fa8f0c5ce33f9f4e6787d19be5dd2a5123 (diff) | |
#116 - presets seems to be working - needs more testing
Former-commit-id: 427b83929240d67fa5c26b9e49cbf0629ecf0f69
Diffstat (limited to 'www/templates/monitors-modal.html')
| -rw-r--r-- | www/templates/monitors-modal.html | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/www/templates/monitors-modal.html b/www/templates/monitors-modal.html index f2323282..9d4abec2 100644 --- a/www/templates/monitors-modal.html +++ b/www/templates/monitors-modal.html @@ -50,19 +50,10 @@ </circular> </div> - <div ng-if="presetOn" class="ptzpresetbuttons animated fadeInDown"> + <div ng-if="presetOn" class="ptzpresetbuttons animated fadeInDown" id="presetlist"> <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> + <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> @@ -70,7 +61,7 @@ <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> + <a class="button button-small button-royal" href="" ng-click="togglePresets();">presets</a> </div> </div> |
