From a7e37115d95b56cb70f66dc58a77cbc2bd540d7b Mon Sep 17 00:00:00 2001 From: Simone Margaritelli <evilsocket@gmail.com> Date: Wed, 13 Nov 2019 14:38:39 +0100 Subject: [PATCH] misc: small fix or general refactoring i did not bother commenting --- pwnagotchi/ui/web/templates/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pwnagotchi/ui/web/templates/index.html b/pwnagotchi/ui/web/templates/index.html index 02d2c89..8463cd2 100644 --- a/pwnagotchi/ui/web/templates/index.html +++ b/pwnagotchi/ui/web/templates/index.html @@ -22,14 +22,14 @@ window.onload = function() { <li> <form class="action" method="post" action="/shutdown" onsubmit="return confirm('this will halt the unit, continue?');"> - <input type="submit" class="button ui-btn ui-corner-all" value="shutdown"/> + <input type="submit" class="button ui-btn ui-corner-all" value="Shutdown"/> <input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/> </form> </li> <li> <form class="action" method="post" action="/restart" - onsubmit="return confirm('this will restart the service in {{ other_mode }} mode, continue?');"> - <input type="submit" class="button ui-btn ui-corner-all" value="restart in {{ other_mode }} mode"/> + onsubmit="return confirm('This will restart the service in {{ other_mode }} mode, continue?');"> + <input type="submit" class="button ui-btn ui-corner-all" value="Restart in {{ other_mode }} mode"/> <input type="hidden" name="mode" value="{{ other_mode }}"/> <input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/> </form>