You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

38 lines
1.2 KiB

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<!-- link rel="icon" type="image/svg+xml" href="/vite.svg" /-->
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Domotique</title>
</head>
<body class="bg-green-800">
<header>
<marquee class="text-8xl text-red-400 bg-purple-300">DOMOTIQUE</marquee>
</header>
<section class="flex justify-between mx-20 text-center">
<div class="temperature">
<h1>Temperature</h1>
<p><span id="temp"></span>°C</p>
</div>
<div class="radiateur">
<h1>Radiateur</h1>
<button onclick="setLightState(0)">Allumer</button>
<button onclick="setLightState(0)">Eteindre</button>
</div>
<div class="volet">
<h1>Volets roulants</h1>
<button onclick="setLightState(1)">Ouvrir</button>
<button onclick="setLightState(1)">Fermer</button>
</div>
<div class="eclairage">
<h1>Eclairage</h1>
<button onclick="setLightState(2)">Allumer</button>
<button onclick="setLightState(2)">Eteindre</button>
</div>
</section>
<script type="module" src="/src/main.js"></script>
</body>
</html>