Add login, save and invite features
This commit is contained in:
1 parent
66c51e9238
commit
3208977b9a
7 files changed
+422
-15
No files matched your search
+54
-11
@@ -24,17 +24,37 @@
|
||||
<nav class="container d-flex justify-content-between align-items-center">
|
||||
|
||||
<h1 class="site-logo">Encore</h1>
|
||||
|
||||
|
||||
<ul class="nav">
|
||||
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="index.html">Home</a>
|
||||
<a class="nav-link" href="#" id="nav-events">Events</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#">Events</a>
|
||||
<a class="nav-link d-none" href="#" id="nav-my-events">My Events</a>
|
||||
</li>
|
||||
|
||||
<li class="nav-item">
|
||||
<a class="nav-link d-none" href="#" id="nav-invitations">Invitations</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
<!-- LOGIN AREA -->
|
||||
<div id="auth-area">
|
||||
<input id="username" placeholder="Username" class="form-control d-inline w-auto">
|
||||
<input id="password" type="password" placeholder="Password" class="form-control d-inline w-auto">
|
||||
<button id="login-btn" class="btn btn-success">Login</button>
|
||||
<button id="register-btn" class="btn btn-secondary">Register</button>
|
||||
</div>
|
||||
|
||||
<!-- USER AREA -->
|
||||
<div id="user-area" class="d-none">
|
||||
<span id="user-name"></span>
|
||||
<button id="logout-btn" class="btn btn-danger btn-sm">Logout</button>
|
||||
</div>
|
||||
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
@@ -42,7 +62,7 @@
|
||||
<main class="container mt-4">
|
||||
|
||||
<!-- SEARCH / FILTER SECTION -->
|
||||
<section class="search mb-4">
|
||||
<section class="search mb-4" id="search-section">
|
||||
|
||||
<h2>Find Events</h2>
|
||||
|
||||
@@ -72,10 +92,7 @@
|
||||
</select>
|
||||
|
||||
<!-- Button -->
|
||||
<button
|
||||
id="load-events"
|
||||
class="btn btn-primary"
|
||||
>
|
||||
<button id="load-events" class="btn btn-primary">
|
||||
Search
|
||||
</button>
|
||||
|
||||
@@ -84,7 +101,7 @@
|
||||
</section>
|
||||
|
||||
<!-- EVENTS LIST -->
|
||||
<section class="events">
|
||||
<section class="events" id="events-section">
|
||||
|
||||
<h2>Upcoming Events</h2>
|
||||
|
||||
@@ -94,6 +111,32 @@
|
||||
|
||||
</section>
|
||||
|
||||
<!-- ========================= -->
|
||||
<!-- MY EVENTS -->
|
||||
<!-- ========================= -->
|
||||
<section id="saved-section" class="d-none">
|
||||
|
||||
<h2>My Events</h2>
|
||||
|
||||
<div id="saved-list">
|
||||
<p class="text-muted">No saved events yet.</p>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
|
||||
<!-- ========================= -->
|
||||
<!-- INVITATIONS -->
|
||||
<!-- ========================= -->
|
||||
<section id="invitations-section" class="d-none">
|
||||
|
||||
<h2>My Invitations</h2>
|
||||
|
||||
<div id="invitation-list">
|
||||
<p class="text-muted">No invitations yet.</p>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
|
||||
</main>
|
||||
|
||||
<!-- FOOTER -->
|
||||
|
||||
Reference in new issue
Block a user