-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoptions.html
More file actions
60 lines (54 loc) · 2.42 KB
/
Copy pathoptions.html
File metadata and controls
60 lines (54 loc) · 2.42 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ToS Summarizer AI - Settings</title>
<link rel="stylesheet" href="options.css">
</head>
<body>
<div class="header">
<h1>ToS Summarizer AI v1.2</h1>
<p class="subtitle">Extension Settings</p>
</div>
<section class="api-section">
<h2>🔑 Google AI Studio API Key</h2>
<div class="info-box">
<p><strong>Required:</strong> You need an API key from Google AI Studio to use the summarization feature.</p>
<p>Get your free API key at: <a href="https://aistudio.google.com/" target="_blank" rel="noopener noreferrer">Google AI Studio</a></p>
<p><strong>Privacy:</strong> Your key is stored locally in your browser and only sent directly to Google's API when summarizing.</p>
</div>
<div class="input-group">
<label for="apiKey">API Key:</label>
<input type="password" id="apiKey" placeholder="Enter your Google AI Studio API key">
<button id="saveButton" class="primary-btn">💾 Save Key</button>
</div>
<p id="statusMessage" class="status"></p>
</section>
<section class="model-section">
<h2>🤖 AI Model</h2>
<div class="model-display">
<span class="model-label">Active Model</span>
<span class="model-name">Gemini 3 Flash Preview</span>
<span class="model-badge">Google AI Studio</span>
</div>
<div class="input-group">
<button id="testModelButton" class="secondary-btn">🧪 Test Connection</button>
</div>
<p id="modelStatus" class="status"></p>
</section>
<section class="about-section">
<h2>ℹ️ About</h2>
<div class="info-box">
<p><strong>Version:</strong> 1.2.0</p>
<p><strong>Developer:</strong> <a href="https://github.com/Geralt4" target="_blank">Geralt4</a></p>
<p><strong>GitHub:</strong> <a href="https://github.com/Geralt4/ToS-Summarizer-Extension" target="_blank">ToS-Summarizer-Extension</a></p>
<p><strong>License:</strong> MIT</p>
</div>
<div class="action-buttons">
<button id="reportBugButton" class="secondary-btn">🐛 Report Bug</button>
<button id="viewSourceButton" class="secondary-btn">📋 View Source</button>
</div>
</section>
<script src="options.js"></script>
</body>
</html>