-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
95 lines (95 loc) · 4.58 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
85
86
87
88
89
90
91
92
93
94
95
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Calendar Js</title>
<link rel="icon" href="./src/assets/1.png" />
<link rel="icon" href="./assets/img/DV.ico">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script src="https://kit.fontawesome.com/0121341235.js" crossorigin="anonymous"></script>
<link rel="stylesheet" type="text/css" media="screen" href="./assets/css/styles.css"/>
<script src="./assets/js/main.js" type="module" defer async></script>
</head>
<body>
<main class="">
<aside id="" class="hidden">
<p class="">Events</p>
<div class="events" id=""></div>
<div class="" id=""></div>
</aside>
<article id="remove" class="calendar-container">
<header class="header">
<h1 class="title__calendar">JS<span class="title__calendar--style">CALENDAR</span></h1>
<div class="header__buttons">
<button class="btn prev-btn" id="backButton"><i class="fa-solid fa-xl fa-chevron-left"></i></button>
<h2 class="header__date-title" id="monthDisplay"></h2>
<button class="btn plus-btn" id="plus-btn"><i class="fa-solid fa-xl fa-circle-plus"></i></button>
<button class="btn next-btn" id="nextButton"><i class="fa-solid fa-xl fa-chevron-right"></i></button>
</div>
</header>
<section class="calendar">
<div id="weekdays" class="calendar__weekdays">
<div class="calendar--weekdays__div">Sun</div>
<div class="calendar--weekdays__div">Mon</div>
<div class="calendar--weekdays__div">Tue</div>
<div class="calendar--weekdays__div">Wed</div>
<div class="calendar--weekdays__div">Thu</div>
<div class="calendar--weekdays__div">Fri</div>
<div class="calendar--weekdays__div">Sat</div>
</div>
<div id="calendar" class="days"></div>
</section>
</article>
<div id="newEventModal">
<form id="form">
<h2 class="title--event__heading">New Event</h2>
<input id="eventTitleInput" class="title--event__input" placeholder="Event Title" maxlength="60"/>
<label class="name--event__label" for="from">From</label>
<input class="date--event__input" id="startDate" type="datetime-local">
<br>
<label class="name--event__label" for="endDate">End Date</label>
<input type="checkbox" id="endDate">
<br>
<label class="name--event__label" id="to" class="hidden" for="to">To</label>
<input class="date--event__input hidden" id="dateTime" type="datetime-local">
<br>
<label class="name--event__label" for="reminder">Reminder</label>
<input type="checkbox" id="reminder">
<select class="hidden reminder--event__select" id="reminderSelect">
<option value="5">5 minutes</option>
<option value="10">10 minutes</option>
<option value="15">15 minutes</option>
<option value="30">30 minutes</option>
<option value="1">1 hour</option>
</select>
<br>
<label class="name--event__label" for="description">Description</label>
<input type="text" id="description" class="date--event__input" maxlength="500">
<br>
<label for="eventType">Event type</label>
<select id="eventType" class="reminder--event__select">
<option value="meeting">Meeting</option>
<option value="study">Study</option>
<option value="personal">Personal</option>
<option value="other">Other</option>
</select>
<br>
<button id="cancelButton" class="cancel--btn">Cancel</button>
<button id="saveButton" class="save--btn">Save</button>
</div>
<div id="deleteEventModal">
<h2>Event</h2>
<p id="eventText"></p>
<p id="initDate"></p>
<p id="endOfEvent"></p>
<p id="eventDescription"></p>
<p id="typeOfEvent"></p>
<button id="deleteButton" class="cancel--btn">Delete</button>
<button id="closeButton" class="close--btn">Close</button>
</div>
<div id="modalBackDrop"></div>
</form>
</main>
</body>
</html>