Files
esp8266-laser/frontend/pages/index.html
2017-11-03 00:24:47 +00:00

66 lines
2.4 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Esp8266 laserspiro controller</title>
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-32x32.png">
<link rel="stylesheet" type="text/css" href="styles.css">
<script src="scripts.js"></script>
</head>
<body class="sui">
<div class="content">
<form id="prototypControls" class="spiro-control container">
<span class="heading">Laser</span>
<ul>
<li class="form-row">
<label>L</label>
<input type="range" class="laser slider" value="1" min="1" max="128">
</li>
<li class="form-row">
<label>M1</label>
<input type="range" class="motor slider" value="1" min="1" max="128" data-motor-nr="1">
</li>
<li class="form-row">
<label>M2</label>
<input type="range" class="motor slider" value="1" min="1" max="128" data-motor-nr="2">
</li>
<li class="form-row">
<label>M3</label>
<input type="range" class="motor slider" value="1" min="1" max="128" data-motor-nr="3">
</li>
</ul>
</form>
<div class="settings container">
<span class="heading">WiFi Settings</span>
<div class="content"></class>
<form>
<li class="form-row">
<label for="ap">AP Mode</label>
<span class="toggle"><input type="checkbox" name="ap"></span>
</li>
<li class="form-row">
<label for="ssid">SSID</label>
<input type="text" name="ssid" placeholder="Default AP: LaserSpiro">
</li>
<li class="form-row">
<label for="password">Password</label>
<input type="password" name="password" placeholder="Default: th3r31sn0sp00n">
</li>
<li class="form-row">
<button type="submit">Submit</button>
</li>
</ul>
</form>
</div>
</div>
<div id="prototypControls" class="container">
<text class="sectionDesc">last uri:</text>
<div id="uriDiv"></div>
<text class="sectionDesc">last respone:</text>
<br>
<div id="response">
</div>
<br>
</div>
</body>
</html>