|
|
@@ -107,26 +107,26 @@ if (isset($_POST['password']) && $_POST['password'] == 'ogg') { |
|
|
|
|
|
|
|
<div class="row"> |
|
|
|
<div class="col-lg-12"> |
|
|
|
<p class="bs-component"> |
|
|
|
<a href="index.php?action=open&msg=1"> |
|
|
|
<button type="submit" name="action" class="btn btn-primary btn-lg" id="open">🚪 <strong>OUVERTURE DE LA PORTE</strong> 🔑</button> |
|
|
|
</a> |
|
|
|
</p> |
|
|
|
<hr/> |
|
|
|
|
|
|
|
<?php |
|
|
|
$sonette = exec("/usr/local/bin/gpio -g read 17"); |
|
|
|
echo $sonette_btn[$sonette]; |
|
|
|
?> |
|
|
|
|
|
|
|
<hr/> |
|
|
|
<p class="bs-component"> |
|
|
|
<a href="index.php?action=reboot&msg=2"> |
|
|
|
<button type="submit" name="action" name="actions" class="btn btn-outline-success" id="update">🔄 Redémarrer ⏻</button> |
|
|
|
</a> |
|
|
|
<a href="index.php?action=poweroff&msg=2"> |
|
|
|
<button type="submit" name="action" class="btn btn-outline-danger" id="poweroff">🔌 Éteindre ⚡️</button> |
|
|
|
</a> |
|
|
|
<p class="bs-component"> |
|
|
|
<a href="index.php?action=open&msg=1"> |
|
|
|
<button type="submit" name="action" class="btn btn-primary btn-lg" id="open">🚪 <strong>OUVERTURE DE LA PORTE</strong> 🔑</button> |
|
|
|
</a> |
|
|
|
</p> |
|
|
|
<hr/> |
|
|
|
|
|
|
|
<?php |
|
|
|
$sonette = exec("/usr/local/bin/gpio -g read 17"); |
|
|
|
echo $sonette_btn[$sonette]; |
|
|
|
?> |
|
|
|
|
|
|
|
<hr/> |
|
|
|
<p class="bs-component"> |
|
|
|
<a href="index.php?action=reboot&msg=2"> |
|
|
|
<button type="submit" name="action" name="actions" class="btn btn-outline-success" id="update">🔄 Redémarrer ⏻</button> |
|
|
|
</a> |
|
|
|
<a href="index.php?action=poweroff&msg=2"> |
|
|
|
<button type="submit" name="action" class="btn btn-outline-danger" id="poweroff">🔌 Éteindre ⚡️</button> |
|
|
|
</a> |
|
|
|
</div> |
|
|
|
<hr/> |
|
|
|
</div> |
|
|
|