|
|
@@ -148,7 +148,7 @@ if (isset($_POST['password']) && $_POST['password'] == 'heuzef') { |
|
|
|
<?php $sonette = exec("/usr/local/bin/gpio -g read 17"); ?> |
|
|
|
<?php $porte = exec("/usr/local/bin/gpio -g read 4"); ?> |
|
|
|
|
|
|
|
<a href="check_services.php"><span class="badge badge-pill badge-<?php echo $etat_status[$etat]; ?>"> </span></a> |
|
|
|
<span class="badge badge-pill badge-<?php echo $etat_status[$etat]; ?>"> </span> |
|
|
|
|
|
|
|
<span class="badge badge-pill badge-<?php echo $porte_status[$porte]; ?>"> </span> |
|
|
|
|
|
|
@@ -169,11 +169,19 @@ if (isset($_POST['password']) && $_POST['password'] == 'heuzef') { |
|
|
|
<hr/> |
|
|
|
<p class="bs-component"> |
|
|
|
<a href="index.php?action=reboot&msg=4"> |
|
|
|
<button type="submit" name="action" name="actions" class="btn btn-outline-success" id="update">🔄 Redémarrer ⏻</button> |
|
|
|
<button type="submit" name="action" class="btn btn-outline-success" id="update">🔄 Redémarrer ⏻</button> |
|
|
|
</a> |
|
|
|
<a href="index.php?action=poweroff&msg=5"> |
|
|
|
<button type="submit" name="action" class="btn btn-outline-danger" id="poweroff">🔌 Éteindre ⚡️</button> |
|
|
|
</a> |
|
|
|
</p> |
|
|
|
|
|
|
|
<hr/> |
|
|
|
<p class="bs-component"> |
|
|
|
<a href="check_services.php"> |
|
|
|
<button type="button" class="btn btn-outline-secondary" id="log">📜 Journal d'activité 🔍</button> |
|
|
|
</a> |
|
|
|
</p> |
|
|
|
</div> |
|
|
|
<hr/> |
|
|
|
</div> |
|
|
|