-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcontrol.html
More file actions
112 lines (98 loc) · 3.39 KB
/
control.html
File metadata and controls
112 lines (98 loc) · 3.39 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Quarantini</title>
<link href="https://fonts.googleapis.com/css2?family=Open+Sans+Condensed&family=Ubuntu&display=swap" rel="stylesheet">
<link rel="stylesheet" href="CSS/reset.css">
<link rel="stylesheet" href="CSS/style.css">
</head>
<body>
<header>
<img id="logo" src='assets/iconfinder_beer_811447.png'alt="logo">
<h1>Admin Page</h1>
</header>
<main>
<!-- Contains the Beercard form and the control page display -->
<div id="inventoryFormsContainer">
<!-- Form to Create new Beers/Beercards -->
<form id="beerInventoryForm">
<h1>Add Beer to Inventory</h1>
<div id="one">
<label>Beer Name</label>
<input id="beerName" type="text"><br>
</div>
<div id="two">
<label>Beer Type</label>
<select id="beerTypeInput" name="beerTypeInput">
<option value="IPA">IPA</option>
<option value="Pale Ale">Pale Ale</option>
<option value="Porter">Porter</option>
<option value="Stout">Stout</option>
<option value="Hefeweizen">Hefeweizen</option>
<option value="Domestic">Domestic</option>
</select><br>
</div>
<div id="three">
<label>ABV</label>
<input id="abv" type="number" step=".01"><br>
</div>
<div id="four">
<label>Hop Type</label>
<input id="hopType" type="text"><br>
</div>
<div id="five">
<label>Short Description</label>
<input id="shortDesc" type="text"><br>
</div>
<div id="six">
<label>Long Description</label>
<textarea id="longDesc" name="message" rows="10" cols="41">
</textarea><br>
</div>
<button type="submit">Add to Inventory</button>
</form>
<!-- The control page display for the Beers/Beercards -->
<div id="inventoryTable">
<h1>Current Inventory</h1>
<table>
<thead>
<tr>
<th>Name</th>
<th>Sale</th>
<th>Hide</th>
<th>Remove</th>
</tr>
</thead>
<tbody id='body'>
<!-- Beercard info appended here -->
</tbody>
</table>
</div>
</div>
<!-- Form to adjust the index.html banner -->
<form id="announcementBannerForm">
<h1>Announcement Banner</h1>
<textarea name="announcement" id="announcement" cols="50" rows="3" form="announcementBannerForm"></textarea>
<button type="submit" id="update" form="announcementBannerForm">Update</button>
</form>
<!-- Form to change the password to enter the control.html page -->
<form id="passwordResetForm">
<h1>Admin Password</h1>
<input id="password" type="password">
<button type="submit">Change</button>
</form>
</main>
<footer>
<ul>
<li>Paul, Ken, Ryan, Peyton.</li>
<li id="smallLogoContainer"><img id="smallLogo" src='assets/iconfinder_beer_811447.png' alt="smaller logo"></li>
<li><a href="index.html">Home</a></li>
</ul>
<p>© Quarantini Group</p>
</footer>
<script type="text/javascript" src=JS/app.js></script>
<script type="text/javascript" src="JS/control.js" ></script>
</body>
</html>