-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
107 lines (86 loc) · 4.15 KB
/
index.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
105
106
107
<!DOCTYPE html>
<html lang="en" manifest="offline.appcache">
<head>
<meta charset="utf-8">
<title>SYP – Scrypt Your Passwords</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="syp.css"/>
<link rel="stylesheet" href="contrib/font-awesome/css/font-awesome.css"/>
<!-- realfavicongenerator.net -->
<link rel="shortcut icon" href="icons/favicon.ico">
<link rel="apple-touch-icon" sizes="57x57" href="icons/apple-touch-icon-57x57.png">
<link rel="apple-touch-icon" sizes="114x114" href="icons/apple-touch-icon-114x114.png">
<link rel="apple-touch-icon" sizes="72x72" href="icons/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="144x144" href="icons/apple-touch-icon-144x144.png">
<link rel="apple-touch-icon" sizes="60x60" href="icons/apple-touch-icon-60x60.png">
<link rel="apple-touch-icon" sizes="120x120" href="icons/apple-touch-icon-120x120.png">
<link rel="apple-touch-icon" sizes="76x76" href="icons/apple-touch-icon-76x76.png">
<link rel="apple-touch-icon" sizes="152x152" href="icons/apple-touch-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="icons/apple-touch-icon-180x180.png">
<meta name="apple-mobile-web-app-title" content="Passwords">
<link rel="icon" type="image/png" href="icons/favicon-192x192.png" sizes="192x192">
<link rel="icon" type="image/png" href="icons/favicon-160x160.png" sizes="160x160">
<link rel="icon" type="image/png" href="icons/favicon-96x96.png" sizes="96x96">
<link rel="icon" type="image/png" href="icons/favicon-16x16.png" sizes="16x16">
<link rel="icon" type="image/png" href="icons/favicon-32x32.png" sizes="32x32">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="application-name" content="Passwords">
<meta name="msapplication-TileImage" content="icons/mstile-144x144.png">
<meta name="msapplication-config" content="icons/browserconfig.xml">
</head>
<body>
<div id="authapp">
<header>
<input type="password" placeholder="What's your master password?" id="master-password">
<input type="text" placeholder="Create a password for ..." id="new-auth">
</header>
<section id="main">
<ul id="auth-list"></ul>
</section>
<footer>
<a id="clear-all">Clear all logins</a>
</footer>
</div>
<div id="instructions">
<p class="master">Please enter your master password.</p>
<p class="empty">Please add your first login identifier, e.g. <b>[email protected]</b></p>
<p class="copy">Click on a login to (re)generate its password, then press <b>Ctrl-C</b> to copy it to the clipboard.</p>
</div>
<div id="credits">
<p>
Created by Leonhard Markert<br/>
Based on <a target="_blank" href="https://github.com/jeromegn/Backbone.localStorage/tree/master/examples/todos">Todos</a> and <a target="_blank" href="https://github.com/tonyg/js-scrypt/">js-scrypt</a><br/>
<a target="_blank" href="https://github.com/curiousleo/syp/blob/master/README.md">What's this?</a></p>
</div>
<div id="clipboard-container"></div>
<script src="contrib/jquery.js"></script>
<script src="contrib/underscore.js"></script>
<script src="contrib/backbone.js"></script>
<script src="contrib/backbone.localStorage.js"></script>
<script src="contrib/scrypt.js"></script>
<script src="util.js"></script>
<script src="syp.js"></script>
<!-- Templates -->
<script type="text/template" id="auth-template">
<div class="view">
<div class="login-wrapper">
<span class="login"><%- login %></span>
</div>
<a class="menu edit fa fa-pencil"></a>
<a class="menu delete fa fa-remove"></a>
</div>
<div class="change">
<input class="login" type="text" value="<%- login %>">
<div>
<label for="alphabet-<%- order %>">Alphabet</label>
<input class="alphabet" id="alphabet-<%- order %>" type="text" value="<%- alphabet %>">
</div>
<div>
<label for="length-<%- order %>">Length</label>
<input class="length" id="length-<%- order %>" type="number" min="2" max="80" value="<%- length %>">
</div>
<a class="menu save fa fa-check"></a>
</div>
</script>
</body>
</html>