50 lines
1.6 KiB
HTML
50 lines
1.6 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>KeePassGO Browser Settings</title>
|
|
<link rel="stylesheet" href="style.css">
|
|
</head>
|
|
<body>
|
|
<main class="surface settings">
|
|
<header class="topbar">
|
|
<div>
|
|
<h1>Browser Settings</h1>
|
|
<p class="subtle">Connect the extension to KeePassGO.</p>
|
|
</div>
|
|
</header>
|
|
<form id="settings-form" class="settings-form">
|
|
<label>
|
|
<span>API token</span>
|
|
<textarea id="bearer-token" name="bearer-token" rows="6" spellcheck="false"></textarea>
|
|
</label>
|
|
<fieldset>
|
|
<legend>Browser Matching</legend>
|
|
<label class="checkbox-row">
|
|
<input id="best-match-only" name="best-match-only" type="checkbox">
|
|
<span>Best match only</span>
|
|
</label>
|
|
<label class="checkbox-row">
|
|
<input id="require-scheme-match" name="require-scheme-match" type="checkbox">
|
|
<span>Require current scheme</span>
|
|
</label>
|
|
<label>
|
|
<span>Sort results</span>
|
|
<select id="sort-results" name="sort-results">
|
|
<option value="quality">KeePassGO match quality</option>
|
|
<option value="title">Title</option>
|
|
<option value="path">Path</option>
|
|
</select>
|
|
</label>
|
|
</fieldset>
|
|
<div class="actions">
|
|
<button type="submit">Save</button>
|
|
</div>
|
|
<p id="settings-status" class="subtle"></p>
|
|
</form>
|
|
</main>
|
|
<script src="options.js"></script>
|
|
</body>
|
|
</html>
|