-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
77 lines (72 loc) · 3.22 KB
/
Copy pathindex.html
File metadata and controls
77 lines (72 loc) · 3.22 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>WorkSync - Smart Calendar</title>
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css">
<link rel="icon" href="favicon.png" type="image/x-icon">
</head>
<body>
<div class="container">
<header class="animate__animated animate__fadeInDown">
<h1>WorkSync</h1>
<img src="logo.png" alt="WorkSync Logo" id="headerLogo">
<nav>
<button class="nav-btn active" data-view="calendar">Calendar</button>
<button class="nav-btn" data-view="events">Events</button>
</nav>
</header>
<main>
<section id="calendar-view" class="animate__animated animate__fadeIn">
<div class="calendar-header">
<button id="prevMonth"><</button>
<h2 id="currentMonth">September 2023</h2>
<button id="nextMonth">></button>
</div>
<div class="calendar-grid" id="calendarGrid"></div>
</section>
<section id="event-form" class="modal">
<div class="modal-content animate__animated animate__zoomIn">
<h3>Add New Event</h3>
<form id="newEventForm">
<div class="form-group">
<label>Title</label>
<input type="text" id="eventTitle" required>
</div>
<div class="form-group">
<label>Date</label>
<input type="date" id="eventDate" required>
</div>
<div class="form-group">
<label>Time</label>
<input type="time" id="eventTime" required>
</div>
<div class="form-group">
<label>Description</label>
<textarea id="eventDescription"></textarea>
</div>
<div class="form-group">
<label>Attachments</label>
<input type="file" id="eventFiles" multiple>
</div>
<div class="form-actions">
<button type="submit" class="btn-primary">Save Event</button>
<button type="button" class="btn-secondary" id="cancelEvent">Cancel</button>
</div>
</form>
</div>
</section>
<section id="events-list" class="animate__animated animate__fadeIn">
<h2>Upcoming Events</h2>
<div id="eventsList"></div>
</section>
</main>
<button id="addEventBtn" class="floating-btn">+</button>
</div>
<script src="script.js"></script>
<script>
</script>
</body>
</html>