forked from Dmitry1987/vault-chrome-extension
-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathoptions.html
More file actions
98 lines (89 loc) · 2.48 KB
/
Copy pathoptions.html
File metadata and controls
98 lines (89 loc) · 2.48 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
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Vault for Chrome: Settings</title>
<script src="compat.js"></script>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<header class="header">
<div class="header__container">
<h1 class="h1 title">VaultPass</h1>
<nav role="navigation" class="menu" aria-label="Main Menu">
<div class="tabs">
<a href="/popup.html" class="tab" data-page="keys">Keys</a>
<a
href="/options.html"
class="tab tab--active"
aria-current="page"
data-page="options"
>Options</a
>
</div>
</nav>
</div>
</header>
<main class="main">
<div id="notify"></div>
<div id="login">
<label class="label">
Vault server URL:
<input type="text" class="input" name="server" id="serverBox" />
</label>
<label class="label">
KV Store:
<input
type="text"
class="input"
name="store"
id="storeBox"
placeholder="Path to the KV store within Vault"
value="secret/vaultPass"
/>
</label>
<input
type="submit"
class="button button--primary"
value="Login via Web"
id="webLoginButton"
/>
<div
style="margin-top: 1em; border-top: 1px solid #ccc; padding-top: 1em"
>
<label class="label">
Manual Token:
<input
type="password"
class="input"
name="manualToken"
id="manualTokenBox"
placeholder="Paste token here or use 'Get Token'"
/>
</label>
<input
type="submit"
class="button"
value="Save Token"
id="saveTokenButton"
/>
<input
type="submit"
class="button"
value="Get Token from Vault Tab"
id="tokenGrabber"
/>
</div>
</div>
<div>
<ul id="secretList" class="list gutter"></ul>
</div>
<div id="logout" style="display: none">
<input type="submit" class="button" value="Logout" id="logoutButton" />
</div>
</main>
<script src="Notify.js"></script>
<script src="common.js"></script>
<script src="options.js"></script>
</body>
</html>