-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
82 lines (73 loc) · 3.41 KB
/
index.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
80
81
82
<!DOCTYPE html>
<html>
<head>
<title>EVNT</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Do not add `link` tags-->
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<!-- Do not add `script` tags-->
<script src="public/vendor.js" type="text/javascript" charset="utf-8" defer></script>
<script src="public/application.js" type="text/javascript" charset="utf-8" defer></script>
</head>
<body>
<nav id='navbar'>
<h1><img src="./public/EVNTlogo.png" alt="EVNT"></h1>
<ul class="nav-menu">
<li id='search'>
<form id='single-event'>
<input name='event[id]' type='text' placeholder='Search By ID' required>
<button class='btn'>Search</button>
</form>
</li>
<li id="all-events">View Events</li>
<li id="new-event">New Event</li>
<li id="change-pw-nav">Change Password</li>
<li id="sign-out">Sign Out</li>
</ul>
</nav>
<main>
<div id="msg-container">
<div id="message"></div>
</div>
<form id='sign-up'>
<h4>Sign Up</h4>
<input type='email' name='credentials[email]' placeholder='Enter Email' required>
<input type='password' name='credentials[password]' placeholder='Enter Password' required>
<p class='pw-cred'>Password must contain at least 5 characters</p>
<input type='password' name='credentials[password_confirmation]' placeholder='Confirm Password' required>
<button class='btn'>Sign Up</button>
</form>
<form id='sign-in'>
<h4>Sign In</h4>
<input type='email' name='credentials[email]' placeholder='Enter Email' required>
<input type='password' name='credentials[password]' placeholder='Enter Password' required>
<button class='btn'>Sign In</button>
</form>
<form id='change-pw'>
<h4>Change Password</h4>
<input type='password' name='passwords[old]' placeholder='Enter Old Password' required>
<input type='password' name='passwords[new]' placeholder='Enter New Password' required>
<button class='btn'>Change Password</button>
</form>
<form id='create-event'>
<h4>Create An Event</h4>
<input name='event[name]' type='text' placeholder='Enter Event Name Here' required>
<input name='event[location]' type='text' placeholder='Enter Location Here' required>
<input name='event[date]' type='text' placeholder='Enter Date Here' required>
<input name='event[time]' type='text' placeholder='Enter Time Here' required>
<button class='btn'>Create Event</button>
</form>
<form id='update-event'>
<h4>Update Event</h4>
<input name='event[id]' type='text' placeholder='Enter Event ID Here' required>
<input name='event[name]' type='text' placeholder='Enter New Event Name Here'>
<input name='event[location]' type='text' placeholder='Enter New Location Here'>
<input name='event[date]' type='text' placeholder='Enter New Date Here'>
<input name='event[time]' type='text' placeholder='Enter New Time Here'>
<button class='btn'>Update Event</button>
</form>
<div id="headings"></div>
<div id="events-display"></div>
</main>
</body>
</html>