Mise en place de la structure de l'interface web

This commit is contained in:
Jack Parrot
2025-03-22 19:12:30 +01:00
parent 104e93936b
commit 4a764beb9b
2 changed files with 36 additions and 22 deletions
+5
View File
@@ -4569,6 +4569,11 @@
motors_joystick.addEventListener('touchend', onup);
motors_joystick.addEventListener('touchcancel', onup);
function onclick(){
send_motors(vy+vx, vy-vx);
}
return index_umd;
+25 -16
View File
@@ -7,30 +7,39 @@
<title>MinHAUMTaure</title>
</header>
<body>
<div class="container-fluid">
<div class="row mb-5 mt-5">
<div class="col">
<h1 class="text-center">Bienvenue sur MinHAUMTaure</h1>
<h2> Fonctionnalités</h2>
<br/>
<br/>
</div>
</div>
<div class="row">
<div class="col mt-5">
<div class="row flex-nowrap">
<div class="col">
<h2 class="text-center">Directions</h2>
<canvas id="motors_joystick"width="400"height="400"></canvas>
</div>
<div class="col">
<h2 class="text-center"> Fonctionnalités</h2>
<p>Sélection de la couleur</p>
<input type="color" id="colorLed">
<br/>
<br/>
<p>Directions</p>
<canvas id="motors_joystick" width="400" height="400"></canvas>
<br/>
<br/>
<p>Automatique</p>
<h2 class="text-center">Automatique</h2>
<div class="form-check-inline form-switch">
<input class="form-check-input" type="checkbox" role="switch" id="flexSwitchCheckDefault">
<label class="form-check-label" for="flexSwitchCheckDefault">Mode Auto</label>
</div>
</div>
</div>
</div>
<div class="col mt-5">
<h2 class="text-center">Repère Spatial</h2>
</div>
</div>
</div>
</body>
<script src="./bootstrap-5.3.3-dist/js/bootstrap.js"></script>