mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
32 lines
1.1 KiB
HTML
32 lines
1.1 KiB
HTML
<html>
|
|
<head>
|
|
<title>{{ title }}</title>
|
|
<link rel="stylesheet" type="text/css" href="/css/style.css"/>
|
|
</head>
|
|
<body>
|
|
<div class="content">
|
|
<div class="image-wrapper">
|
|
<img class="ui-image pixelated" src="/ui" id="ui"/>
|
|
</div>
|
|
<div class="buttons-wrapper">
|
|
<form class="action" method="POST" action="/shutdown"
|
|
onsubmit="return confirm('This will halt the unit, continue?');">
|
|
<input type="submit" class="button" value="Shutdown"/>
|
|
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
|
|
</form>
|
|
|
|
<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" value="Restart in {{ other_mode }} mode"/>
|
|
<input type="hidden" name="mode" value="{{ other_mode }}"/>
|
|
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
<script type="text/javascript" src="/js/refresh.js"></script>
|
|
<script type="text/javascript" src="/js/viewportHeight.js"></script>
|
|
|
|
</body>
|
|
</html>
|