-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoptions.html
More file actions
45 lines (39 loc) · 1.34 KB
/
options.html
File metadata and controls
45 lines (39 loc) · 1.34 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
<!doctype html>
<html lang="de">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>LanguageTool Checker – Optionen</title>
<link rel="stylesheet" href="options.css" />
</head>
<body>
<main class="card">
<h1>LanguageTool Checker</h1>
<p class="muted">Konfiguriere Endpoint, Sprache und Auto-Check.</p>
<label class="field">
<span>Endpoint</span>
<input id="endpoint" type="url" placeholder="http://localhost:8081" />
<small class="hint">Muss /v2/check anbieten.</small>
</label>
<label class="field">
<span>Sprache</span>
<input id="language" type="text" placeholder="de" />
<small class="hint">z. B. de, en-US, fr</small>
</label>
<label class="toggle">
<input id="autocheck" type="checkbox" />
<span>Auto-Check (bei Eingabe)</span>
</label>
<label class="field">
<span>Debounce (ms)</span>
<input id="debounce" type="number" min="200" step="100" />
<small class="hint">Empfohlen: 600–1200</small>
</label>
<div class="actions">
<button id="save" class="primary">Speichern</button>
<span id="status" class="status"></span>
</div>
</main>
<script src="options.js"></script>
</body>
</html>