-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtail.tmpl
173 lines (173 loc) · 9.49 KB
/
tail.tmpl
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
<style>
div.init, div.reencrypt { display: none; }
div.main { float: left; display: none; overflow: hidden; }
div.init_button { width: 20em; text-align: center; clear: both; }
div.init_label { width: 8em; clear: left; float: left; }
div.init_input { width: 12em; clear: right; float: left; }
iframe.postable { border: none; margin: 0; padding: 0; height: 0; width: 0; }
#init_error { color: #a02020; }
#status_holder { width: 100%; height: 2em; }
#status, #error {
background-color: #d0d0d0;
margin: 0 auto;
text-align: center;
}
#error { display: none border: 1px solid #d06060; color: #d06060; }
#status { border: 1px solid #6060d0; color: #6060d0; }
.modified div { color: #a02020; display: none; }
.modified { height: 1em; }
.clear { clear: both; }
div.buttons, div.content { float: left; padding: 5px; margin: 5px; }
#password_pane { clear: left; }
#password_entry { clear: right; display: none; }
#password_list > div { padding: 5px; }
#password_list > div:nth-child(even) { background-color: #bfffbf; }
#password_list > div:nth-child(odd) { background-color: #b0dfff; }
span.key { display: none; }
.identifier { cursor: pointer; float: left; }
.pwinner { position: relative; text-align: right; }
.password {
background-color: #ffffbf;
display: none;
overflow: hidden;
padding: 5px;
clear: both;
}
.close, .del, .fkcb {
cursor: pointer;
font-size: 75%;
}
.fkcb { color: #0000af; padding: 0 5px; }
.close { color: #0000af; }
.close, div.del { float: right; }
div.del { padding-top: 3px; }
.onepw { clear: both; }
.del { color: #af0000; padding: 0 5px; }
#random_password span.xt, #random_password span.rt { cursor: default; }
#random_password span.xt {
padding: 0 2px 2px 2px;
border: 1px solid white;
background-color: #b0dfff;
}
#random_password span.rt { padding: 0 2px 2px 2px; border: 1px solid white; }
#random_password span.checked { background-color: #bfffbf; }
#random_password span.unchecked { background-color: #ffbfbf; }
#pwpunc { overflow: hidden; margin-top: 4px; }
.warning { color: #d05000; }
.error { font-weight: bold; color: #d02020; }
</style>
</head>
<body>
<div id='init'>
<div class='init' id='init_error'></div>
<div class='init' id='loading'>
Loading FreeKey...
</div>
<div class='init' id='conf'>
<form name='conf_form'>
<div class='init_label'><label for="s3_bucket">S3 Bucket:</label></div>
<div class='init_input'><input type="text" name="s3_bucket" value=""/></div>
<div class='init_label'><label for="aws_access">AWS Access Key:</label></div>
<div class='init_input'><input type="text" name="aws_access" value=""/></div>
<div class='init_label'><label for="aws_secret">AWS Secret Key:</label></div>
<div class='init_input'><input type="password" name="aws_secret" value=""/></div>
<div class='init_label'><label for="passphrase">Pass phrase:</label></div>
<div class='init_input'><input type="password" name="passphrase" value=""/></div>
<div class='init_label'><label for="passphrase2">Pass phrase (again):</label></div>
<div class='init_input'><input type="password" name="passphrase2" value=""/></div>
<div class="init_button"><input type="submit" name="start" value="Start FreeKey"/></div>
</form>
</div>
<div class='init' id='auth'>
<form name='auth_form'>
<div class='init_label'><label for="authpass">Pass phrase:</label></div>
<div class='init_input'><input type="password" name="authpass" value=""/></div>
<div class="init_button"><input type="submit" name="start" value="Start FreeKey"/></div>
<div class="init_button"><input type="button" name="reconfigure" value="Reconfigure"/></div>
</form>
</div>
<div class='init'>
<form name='awsform' id='awsform' target='main' enctype='multipart/form-data'>
<input type='hidden' name='key'/>
<input type='hidden' name='AWSAccessKeyId'/>
<input type='hidden' name='policy'/>
<input type='hidden' name='signature'/>
<input type='hidden' name='redirect'/>
<input type='hidden' name='Content-Type'/>
<input type='textarea' name='file'/>
</form>
</div>
</div>
<div class='main'>
<div id='error'></div>
<div id='status_holder'><div id='status'></div></div>
<div class='clear'>Welcome to FreeKey!</div>
<div class='clear modified'><div>Unsaved changes!</div></div>
<div class='content' id='password_pane'>
<div id='password_list'></div>
</div>
<div class='content' id='password_entry'>
<form name='add_form'>
<div>
<label for="identifier">Identifier:</label>
<input type="text" id='identifier' name="identifier" value=""/>
</div>
<div>
<label for="username">Username:</label>
<input type="text" id='username' name="username" value=""/>
</div>
<div id='password_type'>
<input type="radio" id='pwtypeman' name="pwtype" value="manual_password"/>
<label for='pwtypeman'>Manual</label>
<input type="radio" id='pwtyperan' name="pwtype" value="random_password"/>
<label for='pwtyperan'>Random</label>
</div>
<div id='manual_password' class='password_type'>
<label for="manpass">Password:</label>
<input type="password" id='manpass' name="password" value=""/>
</div>
<div id='random_password' class='password_type'>
<div>Password: <span id='password'></span></div>
<div>
<label for="pwlength">Length:</label>
<input type="text" id='pwlength' name="pwlength" value="10"/>
</div>
<div>Character set:</div>
<div>
<span id='pwcharup' class='rt checked'>Upper case letters</span>
<span id='pwcharlow' class='rt checked'>Lower case letters</span>
<span id='pwchardig' class='rt checked'>Digits</span>
</div>
<div id='pwpunc'></div>
<div>At least one of:</div>
<div>
<span id='pwrequp' class='rt checked'>Upper case letters</span>
<span id='pwreqlow' class='rt checked'>Lower case letters</span>
<span id='pwreqdig' class='rt checked'>Digits</span>
<span id='pwreqpunc' class='rt checked'>Punctuation</span>
</div>
<div class='warning'>Generated passwords disappear after 30 seconds.</div>
<div><input type="button" name="generate" id="generate" value="Generate"/></div>
</div>
<div><input type="submit" name="add" value="Add password"/></div>
</form>
</div>
<div class='reencrypt clear' id='reencrypt_pane'>
<div class='init_label'><label for="oldpass">Old pass phrase:</label></div>
<div class='init_input'><input type='password' id='oldpass' name='oldpass' value=''/></div>
<div class='init_label'><label for="newpass1">New pass phrase:</label></div>
<div class='init_input'><input type='password' id='newpass1' name='newpass1' value=''/></div>
<div class='init_label'><label for="newpass2">New pass phrase (again):</label></div>
<div class='init_input'><input type='password' id='newpass2' name='newpass2' value=''/></div>
<div class='init_button'><input type='button' id='do_reencrypt' value="Change master pass phrase"/></div>
</div>
<div class='buttons clear'>
<input type='button' id='reencrypt_button' value='Change master pass phrase'/>
</div>
<div class='buttons clear'>
<input type='button' id='unlock_button' value='Manual unlock'/>
<input type='button' id='sync_button' value='Manual sync'/>
</div>
</div>
</body>
</html>