-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhomepagehtml.h
More file actions
112 lines (88 loc) · 3.43 KB
/
homepagehtml.h
File metadata and controls
112 lines (88 loc) · 3.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
#include <string>
std::string indexhtml = R"(<!DOCTYPE html>
<html>
<head>
<style>
body {
background-color: azure;
}
h1 {
color: DarkBlue;
font-family: "Gill Sans Extrabold", sans-serif;
text-align:center;
}
h3 {
font-family: Verdana, Geneva, sans-serif;
text-align:center;
}
p {
color: black;
font-family: Verdana, Geneva, sans-serif;
text-align:center;
}
#wrapper {
width: 90vw;
margin: auto;
}
form {
text-align:center;
font-family: Verdana, Geneva, sans-serif;
}
</style>
</head>
<body>
<div id = "wrapper">
<h1>Embedded Mixologist</h1>
<h3>Welcome! Choose a drink:</h3>
<p>Click <a href="/?drink1=3&drink2=7&drink3=0&drink4=0">here</a> to order a Somaek (Soju + Beer)</p>
<p>Click <a href="/?drink1=3&drink2=5&drink3=2&drink4=0">here</a> to order a Somaekite (Soju + Beer + Sprite)</p>
<p>Click <a href="/?drink1=0&drink2=6&drink3=0&drink4=4">here</a> to order a Radler (Beer + Lemonade)</p>
<p>Click <a href="/?drink1=0&drink2=0&drink3=5&drink4=5">here</a> to order a Fizzylemon (Lemonade + Sprite)</p><br>
<h3>Or specify your own:</h3>
<form method="get" action="" enctype="text/plain">
<p>Drink 1 (Soju):</p>
<input type="radio" id="0" name="drink1" value="0" checked="checked">
<label for="0">None</label><br>
<input type="radio" id="2" name="drink1" value="2">
<label for="2">Less</label><br>
<input type="radio" id="4" name="drink1" value="4">
<label for="4">Standard</label><br>
<input type="radio" id="6" name="drink1" value="6">
<label for="6">More</label><br>
<br>
<p>Drink 2 (Beer):</p>
<input type="radio" id="0" name="drink2" value="0" checked="checked">
<label for="0">None</label><br>
<input type="radio" id="2" name="drink2" value="2">
<label for="2">Less</label><br>
<input type="radio" id="4" name="drink2" value="4">
<label for="4">Standard</label><br>
<input type="radio" id="6" name="drink2" value="6">
<label for="6">More</label><br>
<br>
<p>Drink 3 (Sprite):</p>
<input type="radio" id="0" name="drink3" value="0" checked="checked">
<label for="0">None</label><br>
<input type="radio" id="2" name="drink3" value="2">
<label for="2">Less</label><br>
<input type="radio" id="4" name="drink3" value="4">
<label for="4">Standard</label><br>
<input type="radio" id="6" name="drink3" value="6">
<label for="6">More</label><br>
<br>
<p>Drink 4 (Lemonade):</p>
<input type="radio" id="0" name="drink4" value="0" checked="checked">
<label for="0">None</label><br>
<input type="radio" id="2" name="drink4" value="2">
<label for="2">Less</label><br>
<input type="radio" id="4" name="drink4" value="4">
<label for="4">Standard</label><br>
<input type="radio" id="6" name="drink4" value="6">
<label for="6">More</label><br>
<br>
<input type='submit' value='Submit' on Click='display()'>
<input type='reset' value='Clear Choices'>
</form>
</div> <!-- end #wrapper -->
</body>
</html>)";