File size: 4,800 Bytes
15b59ae
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5274beb
15b59ae
 
5274beb
 
15b59ae
5274beb
15b59ae
 
 
 
 
 
 
 
 
 
 
8a3d375
15b59ae
 
5274beb
 
15b59ae
 
5274beb
 
15b59ae
 
5274beb
 
15b59ae
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Settings | TaskMaster Pro</title>
    <link rel="stylesheet" href="style.css">
    <script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-gray-50 min-h-screen flex flex-col">
    <custom-navbar></custom-navbar>

    <main class="flex-1 container mx-auto px-4 py-8">
        <div class="max-w-6xl mx-auto">
            <h1 class="text-3xl font-bold text-gray-800 mb-8">Settings</h1>
            
            <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
                <div class="md:col-span-2">
                    <div class="bg-white rounded-xl shadow-sm border border-gray-100 p-6">
                        <h2 class="text-xl font-semibold mb-4">General Settings</h2>
                        
                        <div class="space-y-4">
                            <div>
                                <label class="block text-sm font-medium text-gray-700 mb-1">Theme Color</label>
                                <select class="w-full px-3 py-2 border border-gray-300 rounded-md">
                                    <option>Purple</option>
                                    <option>Blue</option>
                                    <option>Green</option>
                                    <option>Red</option>
                                </select>
                            </div>
                            
                            <div>
                                <label class="block text-sm font-medium text-gray-700 mb-1">Default Priority</label>
                                <select class="w-full px-3 py-2 border border-gray-300 rounded-md">
                                    <option>Medium</option>
                                    <option>High</option>
                                    <option>Low</option>
                                </select>
                            </div>
                            
                            <div>
                                <label class="block text-sm font-medium text-gray-700 mb-1">Notification Settings</label>
                                <div class="space-y-2">
                                    <div class="flex items-center">
                                    <div class="flex items-center w-full">
                                        <input type="checkbox" id="emailNotifications" class="mr-2">
                                        <label for="emailNotifications">Email Notifications</label>
                                        <input type="email" id="notificationEmail" placeholder="Your email" 
                                               class="ml-4 px-2 py-1 border border-gray-300 rounded-md hidden">
                                    </div>
</div>
                                    <div class="flex items-center">
                                        <input type="checkbox" id="browserNotifications" class="mr-2" checked>
                                        <label for="browserNotifications">Browser Notifications</label>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div>
                    <div class="bg-white rounded-xl shadow-sm border border-gray-100 p-6">
<h2 class="text-xl font-semibold mb-4">Data Management</h2>
                        
                        <div class="space-y-3">
                            <button onclick="exportTasks()" class="w-full py-2 px-4 bg-gray-100 hover:bg-gray-200 rounded-lg text-left flex items-center gap-2">
<i data-feather="download" class="w-4 h-4"></i>
                                Export Tasks
                            </button>
                            <button onclick="importTasks()" class="w-full py-2 px-4 bg-gray-100 hover:bg-gray-200 rounded-lg text-left flex items-center gap-2">
<i data-feather="upload" class="w-4 h-4"></i>
                                Import Tasks
                            </button>
                            <button onclick="clearAllData()" class="w-full py-2 px-4 bg-red-50 hover:bg-red-100 text-red-600 rounded-lg text-left flex items-center gap-2">
<i data-feather="trash-2" class="w-4 h-4"></i>
                                Clear All Data
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </main>

    <custom-footer></custom-footer>

    <script src="components/navbar.js"></script>
    <script src="components/footer.js"></script>
    <script src="script.js"></script>
</body>
</html>