summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArjun Roychowdhury <pliablepixels@gmail.com>2015-11-03 10:35:32 -0500
committerArjun Roychowdhury <pliablepixels@gmail.com>2015-11-03 10:35:32 -0500
commitc6ee34ac0f54834670395e9640fa6b479acadb74 (patch)
tree6638debaffa975846e1dffc2c69db09c1bd1733e
parentc7c2e11194c3cd9ed19d228445bf77814851e87b (diff)
disabled disk status #65
-rw-r--r--www/js/StateCtrl.js13
-rw-r--r--www/templates/state.html5
2 files changed, 11 insertions, 7 deletions
diff --git a/www/js/StateCtrl.js b/www/js/StateCtrl.js
index bfcd1303..c6a9c9ba 100644
--- a/www/js/StateCtrl.js
+++ b/www/js/StateCtrl.js
@@ -48,10 +48,13 @@ angular.module('zmApp.controllers').controller('zmApp.StateCtrl', ['$ionicPopup'
ZMDataModel.zmDebug("invoking CurrentState...");
getCurrentState();
}, 4000);
-$timeout(function () {
- ZMDataModel.zmDebug("invoking DiskStatus...");
- getDiskStatus();
- }, 6000);
+
+ /*
+ $timeout(function () {
+ ZMDataModel.zmDebug("invoking DiskStatus...");
+ getDiskStatus();
+ }, 6000);
+ */
//-------------------------------------------------------------------------
// Lets make sure we set screen dim properly as we enter
// The problem is we enter other states before we leave previous states
@@ -363,7 +366,7 @@ $timeout(function () {
getRunStatus();
$timeout (getLoadStatus,2000);
$timeout (getCurrentState,4000);
- $timeout (getDiskStatus,6000);
+ //$timeout (getDiskStatus,6000);
$scope.$broadcast('scroll.refreshComplete');
};
diff --git a/www/templates/state.html b/www/templates/state.html
index 7d26d8e5..13232413 100644
--- a/www/templates/state.html
+++ b/www/templates/state.html
@@ -36,12 +36,13 @@
</div>
</div>
</ion-item>
-
+ <!--
<ion-item>
<div class="row">
<div class="col col-10">
<i class="ion-social-buffer" style="font-size:150%;"></i>
</div>
+
<div class="col">
Disk Usage:
@@ -51,7 +52,7 @@
</div>
</div>
</ion-item>
-
+ -->
<ion-item>
<button class="button button-full {{dangerButtonColor[showDanger?1:0]}}"
ng-click="showDanger=!showDanger">