The esp8266 portion of the project
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.
 
 
 
 
 
 

88 lines
2.5 KiB

<!-- <!DOCTYPE html> -->
<html>
<head>
<title>Settings</title>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-180x180.png">
<link rel="icon" type="image/png" sizes="144x144" href="/favicon-144x144.png">
<link rel="icon" type="image/png" sizes="48x48" href="/favicon.ico">
<link rel="manifest" href="/manifest.json">
<meta name="theme-color" content="#00878f">
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport'>
<!-- <script src="include.js" type="text/javascript"></script> -->
<meta charset="utf-8">
<!-- <script src="jquery-3.4.1.min.js"></script> -->
<link href='main.css' rel='stylesheet' type='text/css'>
<!-- <link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet"> -->
</head>
<body>
<center><header><h1> Settings page </h1></header></center>
<form action="/settings.html" method="POST">
<center>
<div class="shadow">
<iframe src="menu.html" width="90%"></iframe>
<div data-include="menu"></div>
<table class="tbl" cellspacing="2" cellpadding = "2">
<tr>
<td>
<label>Select Ballast:</label>
</td>
<td>
<select id = "myList" name="ballast">
<option value = "1">Ballast #1</option>
<option value = "2">Ballast #2</option>
<option value = "3">Ballast #3</option>
</select>
</td>
</tr>
<tr>
<td>
Enter start hour:</br>
</td>
<td>
<input type="text" name="shour" placeholder="Hour" required></br>
</td>
</tr>
<tr>
<td>
Enter start minute:</br>
</td>
<td>
<input type="text" name="smin" placeholder="Minute" required></br>
</td>
</tr>
<tr>
<td>
Enter amount of time to fade in(in mins)(cannot be decimal):</br>
</td>
<td>
<input type="text" name="fadePeriod" placeholder="Fade Period" required></br>
</td>
</tr>
<tr>
<td>
Enter end hour:</br>
</td>
<td>
<input type="text" name="ehour" placeholder="Hour" required></br>
</td>
</tr>
<tr>
<td>
Enter start minute:</br>
</td>
<td>
<input type="text" name="emin" placeholder="Minute" required></br>
<td>
</tr>
<tr align = "center">
<td colspan="3">
<p style="margin:8px 0px"><button class="button">Submit</button></p>
</td>
</tr>
</table>
</div>
</center>
</form>
</body>
</html>