-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfood.html
79 lines (69 loc) · 2.31 KB
/
food.html
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="/i.svg" />
<title>Portal | UIUC Free Food</title>
<script type="module" src="/src/js/main.js" defer></script>
<link href="/src/css/food.css" type="text/css" rel="stylesheet" />
</head>
<body>
<nav>
<a href="/">UIUC Free Food</a>
</nav>
<div id="contribute-header">
<h1>Food Near You</h1>
<button id="contribute-button">Contribute</button>
</div>
<dialog id="contribute-dialog">
<h2>Free Food Contribution Form</h2>
<p>
Enter details about free food on campus to be respected by your peers.
</p>
<form id="contribute-form">
<label for="contribute-form-food">What food is available?</label>
<input
id="contribute-form-food"
placeholder="pizza, caprisuns, cheezits..."
name="food"
/>
<label for="contribute-form-event">What event is the food for?</label>
<input
id="contribute-form-event"
placeholder="engineering open house, mammoth grand opening..."
name="event"
/>
<label for="contribute-form-date">
What date is the event / food available?
</label>
<input id="contribute-form-date" placeholder="mm/dd/yyyy" name="date" />
<label for="contribute-form-location">
Where is event / food located?</label
>
<input
id="contribute-form-location"
placeholder="illini union, south quad..."
name="location"
/>
<label for="contribute-form-extra">
Are there any restrictions with who can grab food? Leave blank if open
to everyone.
</label>
<input
id="contribute-form-extra"
placeholder="engineering majors, acm members..."
name="extra"
/>
<button>Submit</button>
</form>
</dialog>
<div id="contributions">
<!-- To be populated by JS -->
</div>
<!-- REACT PART: Uncomment these, comment out the rest of the <body> -->
<!-- Ignore these for now -->
<!-- <div id="react-root"></div> -->
<!-- <script type="module" src="/src/react/main.jsx"></script> -->
</body>
</html>