-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/cbolles/brick-hack-vi
- Loading branch information
Showing
9 changed files
with
227 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>RIT Laundry Services</title> | ||
|
||
</head> | ||
<body style="background-color:#ffd1b3;"> | ||
<center> | ||
<h1> Welcome to RIT Laundry Services </h1> | ||
<form action="/WMaskStudent" target="_blank" method="GET"> | ||
<fieldset> | ||
<legend>Select one of the machines you want to use:</legend> | ||
<div> | ||
<a href="WMaskStudent.html"><button>Washing Machine</button></a> | ||
<button>Drying Machine</button> | ||
</div> | ||
</fieldset> | ||
</form> | ||
</center> | ||
|
||
<img src="/static/washing machine.png" alt="Washing Machine"/> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>WasherNotification</title> | ||
</head> | ||
<body style="background-color:#ffd1b3;"> | ||
<center> | ||
<h1> Washing machine is done!</h1> | ||
<br> | ||
<h1>Please, come take your cloth out of the washing machine!</h1> | ||
</center> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Settings</title> | ||
</head> | ||
<body style="background-color:#ffd1b3;"> | ||
<center> | ||
<h1 style="font-family:verdana;">Choose Your Settings</h1> | ||
</center> | ||
<form action="/Settings/Timer.html" target="_blank" method="GET"> | ||
<form> | ||
<fieldset> | ||
<legend>Temperature:</legend> | ||
<div> | ||
<input type="radio" name="temp" value="cold"> Cold <br> | ||
<input type="radio" name="temp" value="warm"> Warm <br> | ||
<input type="radio" name="temp" value="hot"> Hot <br> | ||
</div> | ||
</fieldset> | ||
</form> | ||
<br> | ||
<br> | ||
<form> | ||
<fieldset> | ||
<legend>Soil Level:</legend> | ||
<div> | ||
<input type="radio" name="temp" value="low"> Low <br> | ||
<input type="radio" name="temp" value="medium"> Medium <br> | ||
<input type="radio" name="temp" value="high"> High <br> | ||
</div> | ||
</fieldset> | ||
</form> | ||
<br> | ||
<br> | ||
<form> | ||
<fieldset> | ||
<legend>Spin Speed:</legend> | ||
<div> | ||
<input type="radio" name="temp" value="low"> Low <br> | ||
<input type="radio" name="temp" value="medium"> Medium <br> | ||
<input type="radio" name="temp" value="high"> High <br> | ||
</div> | ||
</fieldset> | ||
</form> | ||
<br> | ||
<br> | ||
<form> | ||
<fieldset> | ||
<legend>Present Cycles:</legend> | ||
<div> | ||
<input type="radio" name="temp" value="heavyduty"> Heavy Duty <br> | ||
<input type="radio" name="temp" value="normaleco"> Normal Eco <br> | ||
<input type="radio" name="temp" value="delicat"> Delicate <br> | ||
<input type="radio" name="temp" value="permpress"> Perm Press <br> | ||
<input type="radio" name="temp" value="rinsespin"> Rinse & Spin <br> | ||
<input type="radio" name="temp" value="spin"> Spin <br> | ||
</div> | ||
</fieldset> | ||
</form> | ||
<br> | ||
<br> | ||
<a href="/Settings/Timer.html"><button>Start</button></a> | ||
</form> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>WasherTimer</title> | ||
</head> | ||
<body style="background-color:#ffd1b3;" style="font-size:large"> | ||
<form action="/Settings/Timer/NotificationWasher.html" target="_blank" method="GET"> | ||
<p id="demo"></p> | ||
|
||
<script> | ||
// Set the date we're counting down to | ||
var countDownDate = new Date("Feb 8, 2020 19:05:25").getTime(); | ||
|
||
// Update the count down every 1 second | ||
var x = setInterval(function() { | ||
|
||
// Get today's date and time | ||
var now = new Date().getTime(); | ||
|
||
// Find the distance between now and the count down date | ||
var distance = countDownDate - now; | ||
|
||
// Time calculations for days, hours, minutes and seconds | ||
var days = Math.floor(distance / (1000 * 60 * 60 * 24)); | ||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); | ||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); | ||
var seconds = Math.floor((distance % (1000 * 60)) / 1000); | ||
|
||
// Output the result in an element with id="demo" | ||
document.getElementById("demo").innerHTML = days + "d " + hours + "h " | ||
+ minutes + "m " + seconds + "s "; | ||
|
||
// If the count down is over, write some text | ||
if (distance < 0) { | ||
clearInterval(x); | ||
document.getElementById("demo").innerHTML = "EXPIRED"; | ||
setTimeout("location.href = '/Settings/Timer/NotificationWasher.html';", 1000); | ||
|
||
} | ||
}, 1000); | ||
</script> | ||
</form> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!DOCTYPE html> | ||
<head> | ||
<title>RIT Laundry Services</title> | ||
</head> | ||
<body style="background-color:#ffd1b3;"> | ||
|
||
<h1>Welcome to RIT's Laundry Services</h1> | ||
<h2>No washing Machines are available at this time.</h2> | ||
<p>The next available washing machine will finish it's cycle in: 06:23 minutes</p> | ||
<img src="/static/washing machine.png" alt="Washing Machine"/> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<title>RIT Laundry Services</title> | ||
</head> | ||
<body style="background-color:#ffd1b3;"> | ||
<h1>Washing Machines </h1> | ||
<img src="/static/OpenWM.png" alt="Washing Machine"/> | ||
<form action="/Settings.html" target="_blank" method="GET"> | ||
<fieldset> | ||
<legend>Available washing machines are:</legend> | ||
<input type="radio" name="number" value="machine1" > Washing Machine 1<br> | ||
<input type="radio" name="number" value="machine2" > Washing Machine 2<br> | ||
<input type="radio" name="number" value="machine3" > Washing Machine 3<br> | ||
<input type="radio" name="number" value="machine4" > Washing Machine 4<br> | ||
<a href="Settings.html"><button>Next</button></a> | ||
</fieldset> | ||
</form> | ||
</body> | ||
</html> |