-
Notifications
You must be signed in to change notification settings - Fork 13
/
options.html
104 lines (84 loc) · 3.9 KB
/
options.html
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
<!DOCTYPE html>
<html>
<head>
<title>Extension Options</title>
<style>
#holder {padding: 5px; }
#status {display:none;}
</style>
<link rel="stylesheet" href="bulma.min.css"/>
</head>
<body>
<nav id="holder" class="panel is-marginless">
<p class="panel-heading" id="optionsSectionHeader">
Options
</p>
<div class="panel-block">
<div class="field">
<label for="showFullUrl" class="label" id="optionsShowFullUrlHeader">How to display URL in Window Title?</label>
<div class="control is-expanded">
<div class="is-fullwidth">
<input type="checkbox" id="showFullUrl">
<label for="showFullUrl" id="optionsShowFullUrlText">
Show the full URL?
</label>
</div>
<p class="help" id="optionsShowFullUrlHelp">Checked shows the full URL; Unchecked shows only the hostname portion.</p>
</div>
</div>
</div>
<div class="panel-block">
<div class="field ">
<label for="separatorString" class="label" id="optionsSeparatorStringHeader">Separator String</label>
<div class="field has-addons">
<p class="control">
<input id="separatorString" class="input" type="text" placeholder="-">
</p>
</div>
<p class="help" id="optionsSeparatorStringHelp">A string to be put between the original title and the URL (e.g., 'Title - URL' or 'Title :: URL')</p>
</div>
</div>
<div class="panel-block">
<div class="field">
<label for="showFieldAttributes" class="label" id="optionsShowFieldAttributesHeader">Active Field Attribute Display</label>
<div class="control is-expanded">
<div class="is-fullwidth">
<input type="checkbox" id="showFieldAttributes">
<label for="showFieldAttributes" id="optionsShowFieldAttributesText">
Show the field attributes when a text input field has focus?
</label>
</div>
<p class="help" id="optionsShowFieldAttributesHelp">When this is checked, the 'name' and 'id' attributes of <code><input /></code> fields will be added to the title when they have focus. This is useful if you have a page where the URL is not enough for Keepass to determine the proper auto-type. This is good for two-step logons as well. You simply create an auto-type command specific to the field, then you can determine the auto-type based on the URL and the specific field which currently has fous.</p>
</div>
</div>
</div>
<div class="panel-block" id="status">
<article class="message is-success">
<div class="message-header" id="optionsSavedHeader">
<p>Settings Saved</p>
</div>
<div class="message-body" id="optionsSavedMessage">
You may need to reload/refresh your tabs.
</div>
</article>
</div>
<div class="panel-block">
<button id="optionsSaveButtonText" class="button is-link is-outlined is-fullwidth">
Save Settings
</button>
</div>
<div class="panel"></div>
<div class="panel">
<div class="tabs is-centered has-text-centered is-fullwidth">
<ul>
<li><a id="optionsDonateLinkText" target="_blank" href="https://github.com/erichgoldman/add-url-to-window-title#donate-and-support">Donate $2.22</a></li>
<li><a id="optionsHelpLinkText" target="_blank" href="https://github.com/erichgoldman/add-url-to-window-title/wiki">Help & FAQs</a></li>
</ul>
</div>
</div>
</nav>
<script src="options.js"></script>
</body>
</html>