-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
156 lines (143 loc) Β· 6.47 KB
/
Copy pathindex.html
File metadata and controls
156 lines (143 loc) Β· 6.47 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Taskie π</title>
<!-- Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;700&display=swap" rel="stylesheet">
<!-- Link to your CSS file -->
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="app-container">
<header>
<h1>Taskie π</h1>
<div class="header-controls">
<button class="theme-switcher" id="theme-switcher" aria-label="Toggle dark mode">π</button>
<button class="lofi-toggle" id="lofi-toggle" aria-label="Toggle Lo-fi Music">π΅</button>
</div>
</header>
<section class="dashboard">
<div class="dashboard-card">
<h3>Today's Progress</h3>
<div class="progress-ring" id="progress-ring">0%</div>
</div>
<div class="dashboard-card">
<h3>Completion Streak</h3>
<span class="streak-counter" id="streak-counter">0</span>
<p class="streak-counter-label">days π₯</p>
</div>
<div class="dashboard-card">
<h3>How are you?</h3>
<select id="mood-selector" class="mood-selector">
<option value="happy">π Happy</option>
<option value="neutral">π Neutral</option>
<option value="tired">π Tired</option>
</select>
<p id="motivational-message">You've got this!</p>
</div>
</section>
<main class="main-content">
<div class="view-switcher">
<button class="view-btn active" data-view="tasks">Task List</button>
<button class="view-btn" data-view="calendar">Calendar</button>
</div>
<div id="tasks-view" class="view active">
<div id="task-list" class="tasks-container">
<!-- Tasks will be rendered here by JavaScript -->
</div>
</div>
<div id="calendar-view" class="view">
<div class="calendar-container">
<div class="calendar-header">
<button id="prev-month-btn"><</button>
<h3 id="calendar-month-year"></h3>
<button id="next-month-btn">></button>
</div>
<div class="calendar-grid" id="calendar-days-grid">
<!-- Calendar days will be rendered here by JavaScript -->
</div>
</div>
</div>
</main>
</div>
<button id="add-task-btn">+</button>
<!-- Task Form Modal -->
<div class="modal-overlay" id="task-modal">
<div class="modal-content">
<h2 id="modal-title">New Task</h2>
<form id="task-form">
<input type="hidden" id="task-id">
<div class="form-group">
<label for="task-title-input">What's the plan? β¨</label>
<input type="text" id="task-title-input" required>
</div>
<div class="form-group-inline">
<div class="form-group">
<label for="task-date-input">Date ποΈ</label>
<input type="date" id="task-date-input" required>
</div>
<div class="form-group">
<label for="task-sticker-input">Sticker π§</label>
<select id="task-sticker-input">
<option value="β">β General</option>
<option value="π">π Study</option>
<option value="π»">π» Code</option>
<option value="π§Ή">π§Ή Chores</option>
<option value="πͺ">πͺ Workout</option>
<option value="π΅">π΅ Break</option>
<option value="π¨">π¨ Creative</option>
</select>
</div>
</div>
<div class="form-group-inline">
<div class="form-group">
<label for="task-start-time-input">Start Time β°</label>
<input type="time" id="task-start-time-input">
</div>
<div class="form-group">
<label for="task-end-time-input">End Time π</label>
<input type="time" id="task-end-time-input">
</div>
</div>
<div class="form-group-inline">
<div class="form-group">
<label for="task-priority-input">Priority π₯</label>
<select id="task-priority-input">
<option>Low</option>
<option selected>Medium</option>
<option>High</option>
</select>
</div>
<div class="form-group">
<label for="task-status-input">Status WIP</label>
<select id="task-status-input">
<option>Pending</option>
<option>In Progress</option>
<option>Completed</option>
</select>
</div>
</div>
<div class="form-actions">
<button type="button" id="form-cancel-btn">Cancel</button>
<button type="submit" id="form-submit-btn">Add Task</button>
</div>
</form>
</div>
</div>
<!-- Lo-fi Audio Player -->
<audio id="lofi-player" loop>
<source src="audio/lofi-music.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
<!-- Mascot Cheer Bot -->
<div class="mascot-bot" id="mascot-bot">
<div class="cheer-bubble" id="cheer-bubble">You did it! π</div>
</div>
<!-- Link to your JavaScript file -->
<script src="script.js"></script>
</body>
</html>