foobazdmx/views/index.tpl
2022-07-20 22:27:40 +02:00

35 lines
1.2 KiB
Smarty

<html>
<head>
<title>Foo Baz DMX</title>
<link rel="stylesheet" href="static/main.css">
<script src="static/main.js"></script>
</head>
<body>
<h1>Foo Baz DMX</h1>
<div class="buttons">
<fieldset>
<legend>Lights:</legend>
<div>
<input type="radio" name="state" id="state_off" value="off" onclick="setstate('off')"/>
<label for="state_off">Off</label>
</div>
<div>
<input type="radio" name="state" id="state_white" value="white" onclick="setstate('white')"/>
<label for="state_white">White</label>
</div>
<div>
<input type="radio" name="state" id="state_red" value="red" onclick="setstate('red')"/>
<label for="state_red">Red</label>
</div>
<div>
<input type="radio" name="state" id="state_blue" value="red" onclick="setstate('blue')"/>
<label for="state_blue">Blue</label>
</div>
<div>
<input type="radio" name="state" id="state_rainbow" value="rainbow" onclick="setstate('rainbow')"/>
<label for="state_rainbow">Rainbow</label>
</div>
</fieldset>
</div>
</body>
</html>