-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoptions.html
More file actions
144 lines (125 loc) · 3.26 KB
/
options.html
File metadata and controls
144 lines (125 loc) · 3.26 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
<html>
<head>
<title>TabTask Settings</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap">
<style>
body {
font-family: 'Roboto', sans-serif;
margin: 0;
padding: 32px;
color: #333;
background-color: #f9f9f9;
max-width: 800px;
margin: 0 auto;
}
h1 {
color: #4285F4;
font-size: 28px;
margin-top: 0;
margin-bottom: 24px;
display: flex;
align-items: center;
border-bottom: 1px solid #e0e0e0;
padding-bottom: 16px;
}
h1:before {
content: '';
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%2334A853' d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: center;
width: 24px;
height: 24px;
display: inline-block;
margin-right: 12px;
}
.settings-card {
background-color: white;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0,0,0,0.08);
padding: 24px;
margin-bottom: 24px;
}
.settings-section {
margin-bottom: 24px;
}
.settings-section h2 {
font-size: 18px;
margin-top: 0;
margin-bottom: 16px;
color: #555;
}
label {
display: block;
font-weight: 500;
margin-bottom: 8px;
}
select, input {
width: 100%;
padding: 10px 12px;
border: 1px solid #ddd;
border-radius: 4px;
font-family: 'Roboto', sans-serif;
font-size: 14px;
margin-bottom: 16px;
}
select:focus, input:focus {
outline: none;
border-color: #4285F4;
box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}
button {
padding: 10px 16px;
background-color: #4285F4;
color: white;
border: none;
border-radius: 4px;
font-weight: 500;
cursor: pointer;
transition: background-color 0.2s;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
button:hover {
background-color: #3367D6;
}
.status-message {
margin-top: 16px;
padding: 12px;
border-radius: 4px;
display: none;
}
.success {
background-color: #E8F4E8;
color: #0F5323;
}
.error {
background-color: #FDEDED;
color: #932424;
}
footer {
margin-top: 32px;
text-align: center;
color: #757575;
font-size: 12px;
}
</style>
</head>
<body>
<h1>TabTask Settings</h1>
<div class="settings-card">
<div class="settings-section">
<h2>Model Selection</h2>
<label for="modelSelect">Select LLM model to use:</label>
<select id="modelSelect">
<!-- Options will be loaded dynamically -->
</select>
<p>Choose the local LLM model that will be used to process your tabs.</p>
</div>
<div id="statusMessage" class="status-message"></div>
<button id="saveSettings">Save Settings</button>
</div>
<footer>
TabTask © 2025 <a href="https://github.com/xbito/tabtask" target="_blank">GitHub</a>
</footer>
<script src="options.js"></script>
</body>
</html>