aaeda89f14
changed all POSTs to GET
19 lines
921 B
PHP
19 lines
921 B
PHP
<html>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<br>
|
|
<br>
|
|
<div class="systemcontrols">
|
|
<form action="" method="GET">
|
|
<button type="submit" name="submit" value="sudo reboot" onclick="return confirm('Are you sure you want to reboot?')">Reboot</button>
|
|
</form>
|
|
<form action="" method="GET">
|
|
<button type="submit" name="submit" value="update_birdnet.sh" onclick="return confirm('Are you sure you want to update?')">Update</button>
|
|
</form>
|
|
<form action="" method="GET">
|
|
<button type="submit" name="submit" value="sudo shutdown now" onclick="return confirm('Are you sure you want to shutdown?')">Shutdown</button>
|
|
</form>
|
|
<form action="" method="GET">
|
|
<button type="submit" name="submit" value="sudo clear_all_data.sh" onclick="return confirm('Clear ALL Data? Note that this cannot be undone and will take up to 90 seconds.')">Clear ALL data</button>
|
|
</form>
|
|
</div>
|