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.
|
|
|
<!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>
|
|
|
|
<script type="module" crossorigin src="/assets/index.62d9ce6a.js"></script>
|
|
|
|
<link rel="stylesheet" href="/assets/index.8b2241a3.css">
|
|
|
|
</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 id="btn-0" onclick="setLightState(0)">Allumer</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="volet">
|
|
|
|
<h1>Volets roulants</h1>
|
|
|
|
<button id="btn-1" onclick="setLightState(1)">Allumer</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="eclairage">
|
|
|
|
<h1>Eclairage</h1>
|
|
|
|
<button id="btn-2" onclick="setLightState(2)">Allumer</button>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|