-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.html
More file actions
57 lines (51 loc) · 1.95 KB
/
settings.html
File metadata and controls
57 lines (51 loc) · 1.95 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
<!DOCTYPE html>
<html>
<head>
<title>Screenpipe Data Viewer Settings</title>
<link rel="stylesheet" href="styles/main.css">
<script src="config.js"></script>
</head>
<body>
<h1>Screenpipe Data Viewer Settings</h1>
<div class="form-group">
<label for="fetchLimit">Fetch Limit</label>
<input type="number" id="fetchLimit" min="5" max="100" value="20" placeholder="Number of items to fetch">
<div class="api-info">
<p>Maximum number of items to retrieve from Screenpipe. Higher values may take longer to load.</p>
</div>
</div>
<div class="form-group">
<label for="defaultContentType">Default Content Type</label>
<select id="defaultContentType">
<option value="ocr" selected>OCR Text</option>
<option value="audio">Audio</option>
<option value="all">All Content</option>
</select>
<div class="api-info">
<p>Default content type to fetch when opening the extension.</p>
</div>
</div>
<div class="form-group">
<label>Advanced Options</label>
<div class="toggle-container">
<input type="checkbox" id="showAdvanced" class="toggle-checkbox">
<label for="showAdvanced" class="toggle-label">Show Advanced Options</label>
</div>
</div>
<div id="advancedSettings" style="display: none;">
<div class="form-group">
<label for="includeFrames">Include Image Frames (Experimental)</label>
<div class="toggle-control">
<input type="checkbox" id="includeFrames">
<span class="toggle-label">Disabled</span>
</div>
<div class="api-info warning">
<p><strong>Warning:</strong> Enabling this option may cause stability issues with certain Screenpipe versions. Use with caution.</p>
</div>
</div>
</div>
<button id="saveSettings" class="primary">Save Settings</button>
<div id="status" class="status"></div>
<script src="settings.bundle.js"></script>
</body>
</html>