summaryrefslogtreecommitdiff
path: root/www/templates/state.html
diff options
context:
space:
mode:
Diffstat (limited to 'www/templates/state.html')
-rw-r--r--www/templates/state.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/templates/state.html b/www/templates/state.html
index 19042f24..ec25a0c9 100644
--- a/www/templates/state.html
+++ b/www/templates/state.html
@@ -31,11 +31,11 @@
</div>
</ion-item>
<ion-item>
- <button class="button button-full button-assertive">
- <i class="ion-alert-circled" "style:font-size:200%;"></i> Danger Zone
+ <button class="button button-full {{dangerButtonColor[showDanger?1:0]}}" ng-click="showDanger=!showDanger">
+ <i class="ion-alert-circled" "style:font-size:300%;"></i> {{dangerText[showDanger?1:0]}}
</button>
- <div class="button-bar">
+ <div class="button-bar" ng-show="showDanger">
<a class="button button-outline button-dark " ng-click="controlZM('restart');" href="">Restart</a>
<a class="button button-outline button-dark" href="" ng-click="controlZM('stop');" >Stop</a>
<a class="button button-outline button-dark" ng-click="controlZM('start');" href="">Start</a>