summaryrefslogtreecommitdiff
path: root/www/templates
diff options
context:
space:
mode:
authorArjun Roychowdhury <pliablepixels@gmail.com>2015-11-20 10:32:42 -0500
committerArjun Roychowdhury <pliablepixels@gmail.com>2015-11-20 10:32:42 -0500
commit8cc0496efc897a7fc9b03be30839b4dc6f25c071 (patch)
tree4c3ed4598c75bbb485a62793519404f035a8e5c8 /www/templates
parentfcbe79419c77116f1fbd539f4ce8c16ffecfe437 (diff)
#90 - toggle label beween 'fill screen' and 'fit screen' so its easier to understand. Also switched default to fit
Former-commit-id: c16f04a43f8be2cb2c20e377cb6a3ea2f6fb511f
Diffstat (limited to 'www/templates')
-rw-r--r--www/templates/events-modal.html2
-rw-r--r--www/templates/monitors-modal.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/www/templates/events-modal.html b/www/templates/events-modal.html
index 6efb4f07..0b851e78 100644
--- a/www/templates/events-modal.html
+++ b/www/templates/events-modal.html
@@ -78,7 +78,7 @@
<a mfb-button icon="ion-arrow-right-c" label="next event" ng-click="jumpToEvent(nextId,1);"></a>
<a mfb-button icon="ion-arrow-left-c" label="prev. event" ng-click="jumpToEvent(prevId,-1);"></a>
- <a mfb-button icon="ion-arrow-resize" label="fit image" ng-click="scaleImage();"></a>
+ <a mfb-button icon="ion-arrow-resize" label="{{imageFit?'fill screen':'fit screen'}}" ng-click="scaleImage();"></a>
<a mfb-button icon="ion-close" label="exit event view" ng-click="closeModal()"> </a>
diff --git a/www/templates/monitors-modal.html b/www/templates/monitors-modal.html
index 65e99803..2bb90dfb 100644
--- a/www/templates/monitors-modal.html
+++ b/www/templates/monitors-modal.html
@@ -56,7 +56,7 @@
</ion-modal-view>
<nav mfb-menu position="br" effect="zoomin" label="collapse" active-icon="ion-chevron-down" resting-icon="ion-chevron-up" toggling-method="click">
- <button mfb-button icon="ion-arrow-resize" label="fit image" ng-click="scaleImage();">
+ <button mfb-button icon="ion-arrow-resize" label="{{imageFit?'fill screen':'fit screen'}}" ng-click="scaleImage();">
</button>
<button mfb-button icon="ion-refresh" label="refresh" ng-click="reloadView();">
</button>