-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathabout.html
More file actions
430 lines (399 loc) · 16.1 KB
/
about.html
File metadata and controls
430 lines (399 loc) · 16.1 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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
<!--
SPDX-License-Identifier: MIT
Copyright © 2025 github.com/dtiberio
-->
<!DOCTYPE html>
<html lang="en" data-theme="modern">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="About the Task Manager PWA v2 - Full-Stack Progressive Web App">
<title>About Task Manager PWA v2</title>
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<!-- Bootstrap Icons -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css">
<link rel="stylesheet" href="css/styles.css">
<link rel="manifest" href="manifest.json">
<style>
#readme-content {
background-color: var(--secondary-bg);
border: 1px solid var(--border-color);
color: var(--text-primary);
padding: 1rem;
white-space: pre-wrap;
max-height: 500px;
overflow-y: auto;
font-family: var(--bs-font-monospace);
border-radius: 0.375rem;
}
.feature-card {
transition: transform 0.3s ease, box-shadow 0.3s ease;
border: none;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.feature-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.tech-badge {
background: linear-gradient(45deg, var(--accent-color), var(--success-color));
color: white;
padding: 0.25rem 0.75rem;
border-radius: 50px;
font-size: 0.875rem;
margin: 0.125rem;
display: inline-block;
}
.diagram-container {
background: var(--secondary-bg);
border-radius: 10px;
padding: 1.5rem;
margin: 1rem 0;
}
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1rem;
margin: 2rem 0;
}
.stat-item {
text-align: center;
padding: 1.5rem;
background: var(--secondary-bg);
border-radius: 10px;
border: 1px solid var(--border-color);
}
.stat-number {
font-size: 2rem;
font-weight: bold;
color: var(--accent-color);
}
.version-tag {
background: linear-gradient(45deg, var(--accent-color), var(--info-color));
color: #212529;
border: 1px solid var(--border-color);
padding: 0.5rem 1rem;
border-radius: 25px;
font-weight: bold;
display: inline-block;
margin-bottom: 1rem;
}
</style>
</head>
<body>
<header class="bg-primary text-white text-center p-3">
<nav class="navbar navbar-dark">
<div class="container-fluid">
<span class="navbar-brand mb-0 h1">
<i class="bi bi-info-circle-fill"></i> About Task Manager v2
</span>
<div class="d-flex gap-2">
<!-- Theme Switcher Button -->
<button id="theme-toggle" class="btn btn-outline-light btn-sm">
<i class="bi bi-palette"></i>
<span class="theme-label">Modern</span>
</button>
<a href="index.html" class="btn btn-light btn-sm">
<i class="bi bi-house-door-fill"></i> Home
</a>
</div>
</div>
</nav>
</header>
<main class="container my-5">
<!-- Application Overview -->
<section id="app-description" class="mb-5">
<div class="row align-items-center">
<div class="col-md-8">
<div class="version-tag">
<i class="bi bi-stars"></i> Version 2.0 - Full-Stack PWA
</div>
<h1 class="display-4 fw-bold mb-3">Task Manager PWA v2</h1>
<p class="lead">
A comprehensive full-stack Progressive Web App that transforms simple task management into an engaging,
feature-rich experience. Built with modern web technologies and enhanced with dual themes,
real-time persistence, and professional-grade user experience.
</p>
</div>
<div class="col-md-4 text-center">
<img src="images/myTasks_banner1.png" alt="Tasks v2 Banner" class="img-fluid" style="max-height: 200px;">
</div>
</div>
<!-- Key Features Stats -->
<div class="stats-grid">
<div class="stat-item">
<div class="stat-number">2</div>
<div>Unique Themes</div>
<small class="text-muted">Modern & Retro</small>
</div>
<div class="stat-item">
<div class="stat-number">PWA</div>
<div>Technology</div>
<small class="text-muted">Offline Capable</small>
</div>
<div class="stat-item">
<div class="stat-number">PHP</div>
<div>Backend API</div>
<small class="text-muted">RESTful Design</small>
</div>
<div class="stat-item">
<div class="stat-number">SQL</div>
<div>Database</div>
<small class="text-muted">MariaDB 10.6</small>
</div>
</div>
</section>
<!-- Technology Stack -->
<section class="mb-5">
<h2 class="mb-4"><i class="bi bi-gear-fill text-primary"></i> Technology Stack</h2>
<div class="row">
<div class="col-md-6 mb-3">
<div class="feature-card card h-100">
<div class="card-header bg-primary text-white">
<h5 class="mb-0"><i class="bi bi-code-square"></i> Frontend Technologies</h5>
</div>
<div class="card-body">
<div class="mb-3">
<span class="tech-badge">HTML5</span>
<span class="tech-badge">CSS3</span>
<span class="tech-badge">JavaScript ES6</span>
<span class="tech-badge">Bootstrap 5</span>
<span class="tech-badge">PWA</span>
</div>
<p>Modern frontend built with semantic HTML, responsive CSS with custom properties,
and enhanced JavaScript with async/await patterns.</p>
</div>
</div>
</div>
<div class="col-md-6 mb-3">
<div class="feature-card card h-100">
<div class="card-header bg-success text-white">
<h5 class="mb-0"><i class="bi bi-server"></i> Backend Technologies</h5>
</div>
<div class="card-body">
<div class="mb-3">
<span class="tech-badge">PHP 8.4</span>
<span class="tech-badge">MariaDB 10.6</span>
<span class="tech-badge">RESTful API</span>
<span class="tech-badge">PDO</span>
</div>
<p>Robust backend with object-oriented PHP, secure database interactions,
and comprehensive error handling.</p>
</div>
</div>
</div>
</div>
</section>
<!-- Enhanced Features -->
<section class="mb-5">
<h2 class="mb-4"><i class="bi bi-star-fill text-warning"></i> Enhanced Features</h2>
<div class="row">
<div class="col-lg-4 mb-3">
<div class="feature-card card h-100">
<div class="card-body text-center">
<i class="bi bi-palette2 display-4 text-info mb-3"></i>
<h5>Dual Theme System</h5>
<p>Switch between professional Modern theme and nostalgic Retro terminal theme with persistent
preferences.</p>
</div>
</div>
</div>
<div class="col-lg-4 mb-3">
<div class="feature-card card h-100">
<div class="card-body text-center">
<i class="bi bi-shield-check display-4 text-success mb-3"></i>
<h5>Security & Authentication</h5>
<p>HTTP Basic Authentication, input sanitization, SQL injection protection, and comprehensive error
logging.</p>
</div>
</div>
</div>
<div class="col-lg-4 mb-3">
<div class="feature-card card h-100">
<div class="card-body text-center">
<i class="bi bi-phone display-4 text-primary mb-3"></i>
<h5>Progressive Web App</h5>
<p>Installable app with offline capabilities, service worker caching, and responsive mobile-first design.
</p>
</div>
</div>
</div>
</div>
</section>
<!-- System Architecture -->
<section id="architecture" class="mb-5">
<h2 class="mb-4"><i class="bi bi-diagram-3-fill text-primary"></i> System Architecture</h2>
<!-- Database Schema Diagram -->
<article class="mb-4 feature-card card">
<div class="card-header bg-info text-white">
<h5 class="my-0"><i class="bi bi-database"></i> Database Schema</h5>
</div>
<div class="card-body">
<p>The application uses a well-structured MariaDB database with proper relationships and indexing for optimal
performance:</p>
<div class="diagram-container text-center">
<img src="images/tasks_schema.svg" alt="Database Schema for Tasks v2"
class="img-fluid border rounded shadow-sm" style="max-height: 400px;">
</div>
<div class="mt-3">
<small class="text-muted">
<strong>Key Features:</strong> Auto-incrementing IDs, timestamp tracking, status management,
and UTF-8 character support with proper collation.
</small>
</div>
</div>
</article>
<!-- Application Workflow Diagram -->
<article class="mb-4 feature-card card">
<div class="card-header bg-warning text-dark">
<h5 class="my-0"><i class="bi bi-flow-chart"></i> Application Workflow</h5>
</div>
<div class="card-body">
<p>The following diagram illustrates the complete interaction flow between frontend, backend, and database
components:</p>
<div class="diagram-container text-center">
<img src="images/workflow-diagram.svg" alt="Workflow Diagram for Tasks v2"
class="img-fluid border rounded shadow-sm" style="max-height: 400px;">
</div>
<div class="mt-3">
<small class="text-muted">
<strong>Flow:</strong> User Interface → JavaScript API Calls → PHP Backend → MariaDB Database →
JSON Response → UI Update with Theme Support
</small>
</div>
</div>
</article>
</section>
<!-- Project Evolution -->
<section class="mb-5">
<h2 class="mb-4"><i class="bi bi-arrow-up-circle-fill text-success"></i> Evolution from v1 to v2</h2>
<div class="row">
<div class="col-md-6">
<div class="card border-secondary">
<div class="card-header bg-secondary text-white">
<h6 class="mb-0">Tasks v1 (Client-Only)</h6>
</div>
<div class="card-body">
<ul class="list-unstyled">
<li><i class="bi bi-check text-muted"></i> Local Storage Only</li>
<li><i class="bi bi-check text-muted"></i> Single Theme</li>
<li><i class="bi bi-check text-muted"></i> Basic PWA Features</li>
<li><i class="bi bi-check text-muted"></i> Static Content</li>
</ul>
</div>
</div>
</div>
<div class="col-md-6">
<div class="card border-primary">
<div class="card-header bg-primary text-white">
<h6 class="mb-0">Tasks v2 (Full-Stack)</h6>
</div>
<div class="card-body">
<ul class="list-unstyled">
<li><i class="bi bi-check-circle-fill text-success"></i> Database Persistence</li>
<li><i class="bi bi-check-circle-fill text-success"></i> Dual Theme System</li>
<li><i class="bi bi-check-circle-fill text-success"></i> Enhanced PWA</li>
<li><i class="bi bi-check-circle-fill text-success"></i> RESTful API</li>
<li><i class="bi bi-check-circle-fill text-success"></i> Authentication</li>
<li><i class="bi bi-check-circle-fill text-success"></i> Error Handling</li>
</ul>
</div>
</div>
</div>
</div>
</section>
<!-- Project Documentation -->
<section id="learn-more" class="mb-5">
<h2 class="mb-4"><i class="bi bi-book-fill text-primary"></i> Project Documentation</h2>
<article class="feature-card card">
<div class="card-header bg-dark text-white">
<h5 class="my-0"><i class="bi bi-file-text"></i> Complete Project README</h5>
</div>
<div class="card-body">
<p>For comprehensive documentation including setup instructions, API endpoints, deployment guidelines,
and development workflow, explore the complete project README:</p>
<div class="mb-3">
<button class="btn btn-outline-primary" onclick="toggleReadme()">
<i class="bi bi-eye"></i> <span id="readme-toggle-text">Show README</span>
</button>
</div>
<div id="readme-container" class="d-none">
<pre id="readme-content" class="rounded">Loading README.md...</pre>
</div>
</div>
</article>
</section>
<!-- Call to Action -->
<section class="text-center bg-light rounded p-5">
<h3 class="mb-3"><i class="bi bi-rocket-takeoff text-primary"></i> Ready to Get Started?</h3>
<p class="lead mb-4">Experience the power of modern web development with Tasks v2!</p>
<div class="d-flex gap-3 justify-content-center flex-wrap">
<a href="index.html" class="btn btn-primary btn-lg">
<i class="bi bi-play-circle-fill"></i> Launch Application
</a>
<button class="btn btn-outline-secondary btn-lg" onclick="toggleTheme()">
<i class="bi bi-palette-fill"></i> Try Theme Switch
</button>
</div>
</section>
</main>
<footer class="text-center p-4 mt-5 bg-light border-top">
<div class="container">
<p class="mb-2">© 2025 Task Manager PWA v2 - Full-Stack Progressive Web Application</p>
<small class="text-muted">
Built with <i class="bi bi-heart-fill text-danger"></i> using HTML5, CSS3, JavaScript ES6, PHP 8.4, MariaDB
10.6, and Bootstrap 5
</small>
</div>
</footer>
<!-- Bootstrap JS Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL"
crossorigin="anonymous"></script>
<script src="js/main.js"></script>
<script>
let readmeVisible = false;
document.addEventListener('DOMContentLoaded', () => {
// Initialize theme system
initThemeSystem();
});
function toggleReadme() {
const container = document.getElementById('readme-container');
const toggleText = document.getElementById('readme-toggle-text');
const readmeContent = document.getElementById('readme-content');
if (!readmeVisible) {
// Show README
container.classList.remove('d-none');
toggleText.textContent = 'Hide README';
// Load README content if not already loaded
if (readmeContent.textContent === 'Loading README.md...') {
fetch('./README.md')
.then(response => {
if (!response.ok) {
throw new Error('Network response was not ok: ' + response.statusText);
}
return response.text();
})
.then(text => {
readmeContent.textContent = text;
})
.catch(error => {
console.error('Error fetching README.md:', error);
readmeContent.textContent = 'Failed to load README.md. Please ensure the file exists in the project root directory.';
});
}
readmeVisible = true;
} else {
// Hide README
container.classList.add('d-none');
toggleText.textContent = 'Show README';
readmeVisible = false;
}
}
// Theme toggle function (uses the one from main.js)
// No need to redefine as it's already available from main.js
</script>
</body>
</html>