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.

36 lines
1.1 KiB

2 years ago
<!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>
2 years ago
<body class="bg-green-800">
2 years ago
<header>
2 years ago
<marquee class="text-8xl text-red-400 bg-purple-300">DOMOTIQUE</marquee>
2 years ago
</header>
2 years ago
<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>
2 years ago
<button id="btn-0" onclick="setLightState(0)">Allumer</button>
2 years ago
</div>
<div class="volet">
<h1>Volets roulants</h1>
2 years ago
<button id="btn-1" onclick="setLightState(1)">Allumer</button>
2 years ago
</div>
<div class="eclairage">
<h1>Eclairage</h1>
2 years ago
<button id="btn-2" onclick="setLightState(2)">Allumer</button>
2 years ago
</div>
</section>
2 years ago
<script type="module" src="/src/main.js"></script>
2 years ago
</body>
</html>