Erste Versuche
This commit is contained in:
commit
b7586bed26
8 changed files with 253 additions and 0 deletions
35
views/index.tpl
Normal file
35
views/index.tpl
Normal file
|
@ -0,0 +1,35 @@
|
|||
<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>
|
Loading…
Add table
Add a link
Reference in a new issue