Skip to content
Permalink
172c338d18
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
33 lines (32 sloc) 1.08 KB
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Home Page</title>
<meta name="description" content="form to add new books">
<meta name="author" content="Mark Tyers">
<link href="style.css" type="text/css" rel="stylesheet" />
</head>
<body>
<h1>Lights Page</h1>
<p>here you will be able to turn on or off lights.</p>
<h2>indoor light is: {{data2}}</h2>
<form action="/FrontLightON" method="get">
<p><input type="submit" value="Turn front Light on"></p>
</form>
<form action="/FrontLightOFF" method="get">
<p><input type="submit" value="Turn front Light off"></p>
</form>
<form action="/TurnSensorOn" method="get">
<p><input type="submit" value="Turn Inside sensor on"></p>
</form>
<form action="/TurnSensorOff" method="get">
<p><input type="submit" value="Turn Inisde sensor off"></p>
</form>
<form action="/MontionSensor" method="post">
<p>Set Sensor:<br /><input type="text" name="Sensor" placeholder="value" autofocus></p>
<p><input type="submit" value="submit value"></p>
</form>
<p><a href="/">back home</a></p>
</body>
</html>