-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
84 lines (73 loc) · 3.37 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
83
84
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Week Planner</title>
<link href="assets/css/style.css" rel="stylesheet">
<link href="assets/fontawesome/css/all.css" rel="stylesheet">
</head>
<body>
<header>
<!-- HEADER -->
<div class="nav-bar">
<a href="index.html"><h1>Week Planner</h1></a>
<button class="nav-event-btn" onclick="addEventModal()"><i class="fa-solid fa-plus"></i><span> Add Event</span></button>
</div>
</header>
<main>
<section class="date-container">
<div class="date-nav-container">
<h2 id="live-date"></h2>
</div>
</section>
<!-- LAYOUT -->
<section class="container" id="main-page"></section>
<!-- OVERLAY SECTION -->
<section class="overlay-outer" id="overlay">
<!-- POP UP SECTION -->
<article class="overlay-inner" id="popup">
<i class="fa-solid fa-xmark exit-icon" onclick="hideOverlay()"></i>
<h2 id="day-name-long"></h2>
<section class="event-icon-container">
<button class="new-event-btn" onclick="newEventModal()">New Event<i class="fa-solid fa-plus" id="add-event"></i></button>
<i class="fa-solid fa-trash-can" id="delete-event"><em class="tooltip">delete</em></i>
</section>
<div class="popup-events" id="Sun"></div>
<div class="popup-events" id="Mon"></div>
<div class="popup-events" id="Tue"></div>
<div class="popup-events" id="Wed"></div>
<div class="popup-events" id="Thur"></div>
<div class="popup-events" id="Fri"></div>
<div class="popup-events" id="Sat"></div>
</article>
<!-- EVENT DETAILS -->
<article class="modal-box" id="event-details">
<div class="nav-icon-container">
<i class="fa-solid fa-xmark exit-icon" onclick="showOverlay()"></i><br><br>
</div>
</article>
<!-- NEW EVENT MODAL -->
<form class="modal-box" id="add-event-modal">
<i class="fa-solid fa-xmark modal-exit-icon" onclick="hideEventModal()"></i>
<label for="event-title">Event: </label>
<input type="text" id="event-title" class="event-modal-input" name="event-title" required>
<label for="event-address">Address: </label>
<input type="text" id="event-address" class="event-modal-input" name="event-address">
<label for="event-date">Date: </label>
<input type="date" id="event-date" class="event-modal-input" name="event-date" required>
<label for="event-time">Time: </label>
<input type="time" id="event-time" class="event-modal-input" name="event-time" required>
<div>
<button type="submit" id="save-btn">SAVE</button>
<button type="reset" id="reset-btn">RESET</button>
</div>
</form>
</section>
</main>
<footer>
<!-- COPYRIGHT INFO -->
</footer>
<script src="assets/javascript/script.js"></script>
</body>
</html>