-
Notifications
You must be signed in to change notification settings - Fork 1
/
user.html
80 lines (78 loc) · 3.48 KB
/
user.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" type="image.png" href="/assets/favicon.png">
<link rel="stylesheet" href="styles.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Thasadith&display=swap" rel="stylesheet">
<script src="user.js" defer></script>
<title>Pour Taste</title>
</head>
<body>
<header>
<h1>Pour Taste</h1>
<nav>
<button class="account">ACCOUNT</button>
<button class="create-new-party">HOST</button>
<button class="join-party">JOIN</button>
<button class="view-tastings">TASTINGS</button>
</nav>
</header>
<main>
<section class="display-parties">
<section class="upcoming">
<button class="past-parties">PAST PARTIES</button>
</section>
<section class="past hidden">
<button class="current-parties">CURRENT PARTIES</button>
</section>
</section>
<section class="create-party hidden">
<form class="create-party-form">
<h2>HOST A PARTY</h2>
<label for="date" class="hidden">Date</label>
<input type="date" name="date" id="date">
<label for="time" class="hidden">Time</label>
<input type="time" name="time" id="time">
<label for="location" class="hidden">Location</label>
<input type="text" name="location" id="location" placeholder="LOCATION">
<p class="create-party-errors"></p>
<input type="submit" value="Create Party">
</form>
</section>
<section class="join-party-section hidden">
<h2>JOIN A PARTY</h2>
<p>Ask your host for the party ID and enter it here:</p>
<form class="join-party-form">
<label for="party_id" class="hidden">Party Id:</label>
<input type="number" name="party_id", id="party_id" placeholder="PARTY ID">
<p class="join-errors"></p>
<input type="submit" value="Join Party">
</form>
</section>
<section class="account-section hidden">
<h2>YOUR PROFILE</h2>
<form class="update-account-form">
<label for="account-name" class="hidden">Name:</label>
<input type="text" name="name" id="account-name">
<label for="account-username" class="hidden">Username:</label>
<input type="text" name="username" id="account-username">
<label for="account-email" class="hidden">Email:</label>
<input type="text" name="email" id="account-email">
<label for="account-password" class="hidden">Password:</label>
<input type="password" name="password" id="account-password" placeholder="*********">
<input type="submit" value="UPDATE">
<p class="update-account-errors"></p>
</form>
<button class="delete-account-button">DELETE ACCOUNT</button>
</section>
</main>
<footer class="user-footer">
<button class="log-out-button">SIGN OUT</button>
<button class="edit-account">PROFILE</button>
</footer>
</body>
</html>