summaryrefslogtreecommitdiff
path: root/www/templates
diff options
context:
space:
mode:
authorArjun Roychowdhury <pliablepixels@gmail.com>2016-01-19 11:31:25 -0500
committerArjun Roychowdhury <pliablepixels@gmail.com>2016-01-19 11:31:25 -0500
commit1aa0eff2752bdd50703fb4974c7d053cbec5c9e2 (patch)
treeee931d5e699e30b0b5d34d4dddfbd605c1eb41f8 /www/templates
parent55c6a28aa837d58147f5f99b4575a64cb9de8a42 (diff)
#144 - new feature to lay out monitors as rows or columns. Also fixes #143
Former-commit-id: a124696e7b538bd7e854f6a3f5d8f8b2e3175511
Diffstat (limited to 'www/templates')
-rw-r--r--www/templates/montage.html16
1 files changed, 14 insertions, 2 deletions
diff --git a/www/templates/montage.html b/www/templates/montage.html
index df938f0e..de426b45 100644
--- a/www/templates/montage.html
+++ b/www/templates/montage.html
@@ -6,14 +6,24 @@
<ion-nav-buttons side="right">
+
+ <button ng-class="packMontage?'button button-icon button-clear ion-android-more-vertical':'button button-icon button-clear ion-android-more-horizontal'"
+ ng-click="toggleMontageDisplayOrder();">&nbsp;
+ </button>
+
<span class="rotate-button">
<button class="button button-icon button-clear ion-arrow-swap"
ng-click="toggleReorder();">
</button>
- </span>
+ </span>
+
+
<button class="button button-icon button-clear ion-android-contract" ng-click="switchMinimal()">
</button>
<!--<button class="button button-icon ion-ios-help-outline" ng-click="popover.show($event)"></button>-->
+
+
+
</ion-nav-buttons>
<ion-content has-bouncing="false" style="background-color:#444444">
@@ -32,7 +42,9 @@
</div>
</span>
- <div style="-webkit-column-count:{{slider.monsize}};-webkit-column-gap:0px;line-height:0px;">
+ <div ng-style="packMontage ? {'-webkit-column-count':slider.monsize,'-webkit-column-gap':'0px','line-height':'0px'}:{'-webkit-column-count':slider.monsize,'-webkit-column-gap':'0px','line-height':'0px','display':'flex','display':'-webkit-flex','-webkit-flex-direction':'row','flex-direction':'row', 'flex-wrap':'wrap'}">
+
+
<span ng-repeat="monitor in MontageMonitors|limitTo: monLimit"
ng-if="monitor.Monitor.Function!='None' && monitor.Monitor.listDisplay!='noshow' && monitor.Monitor.Enabled !='0'">