kopia lustrzana https://github.com/cyoung/stratux
Added post reboot/shutdown messages
rodzic
53deb5f354
commit
9897faea14
|
@ -118,6 +118,11 @@
|
|||
</div>
|
||||
</div>
|
||||
-->
|
||||
|
||||
<div class="col-sm-12">
|
||||
<h3 ui-if="rebooting" ui-state="rebooting">Stratux is rebooting. You may need to reconnect WiFi once it reboots.</h3>
|
||||
<h3 ui-if="shuttingdown" ui-state="shuttingdown">Stratux is shutting down. You may disconnect power.</h3>
|
||||
</div>
|
||||
|
||||
<div ui-content-for="modals">
|
||||
<div class="modal" ui-if="modalReboot" ui-state="modalReboot">
|
||||
|
@ -137,7 +142,7 @@
|
|||
</div>
|
||||
<div class="modal-footer">
|
||||
<a ui-turn-off="modalReboot" class="btn btn-default">Cancel</a>
|
||||
<a ng-click="postReboot()" ui-turn-off="modalReboot" class="btn btn-primary">Reboot</a>
|
||||
<a ng-click="postReboot()" ui-turn-off="modalReboot" ui-turn-on="rebooting" class="btn btn-primary">Reboot</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -161,7 +166,7 @@
|
|||
</div>
|
||||
<div class="modal-footer">
|
||||
<a ui-turn-off="modalShutdown" class="btn btn-default">Cancel</a>
|
||||
<a ng-click="postShutdown()" ui-turn-off="modalShutdown" class="btn btn-primary">Shutdown</a>
|
||||
<a ng-click="postShutdown()" ui-turn-off="modalShutdown" ui-turn-on="shuttingdown" class="btn btn-primary">Shutdown</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Ładowanie…
Reference in New Issue