-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.html
More file actions
66 lines (62 loc) · 2.39 KB
/
Copy pathsettings.html
File metadata and controls
66 lines (62 loc) · 2.39 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>QuickBucks - Settings</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css">
<link rel="manifest" href="manifest.json">
<meta name="theme-color" content="#667eea">
</head>
<body>
<div id="app" class="animate__animated animate__fadeIn">
<nav class="navbar">
<a href="index.html">Dashboard</a>
<a href="statistics.html">Statistics</a>
<a href="settings.html" class="active">Settings</a>
<a href="about.html">About</a>
</nav>
<h1>Settings</h1>
<div class="settings-section">
<h4>Preferences</h4>
<div class="setting-item">
<label for="currency">Currency:</label>
<select id="currency">
<option value="INR">₹ Indian Rupee</option>
<option value="USD">$ US Dollar</option>
<option value="EUR">€ Euro</option>
</select>
</div>
<div class="setting-item">
<label for="notifications">Enable Notifications:</label>
<input type="checkbox" id="notifications" checked>
</div>
<div class="setting-item">
<label for="theme">Theme:</label>
<select id="theme">
<option value="default">Default</option>
<option value="dark">Dark Mode</option>
<option value="light">Light Mode</option>
</select>
</div>
</div>
<div class="settings-section">
<h4>Data Management</h4>
<button onclick="exportData()" class="action-btn">Export Data</button>
<button onclick="clearData()" class="danger-btn">Clear All Data</button>
</div>
</div>
<script>
// Ensure theme is applied immediately
(function() {
const savedTheme = localStorage.getItem('theme') || 'default';
if (savedTheme === 'dark') {
document.body.classList.add('dark-theme');
}
})();
</script>
<script src="api.js"></script>
<script src="settings.js"></script>
</body>
</html>