forked from kzys/pwgen-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
44 lines (37 loc) · 1.42 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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<link rel="stylesheet" href="/style/software.css" type="text/css" />
<link rel="stylesheet" href="pwgen.css" type="text/css" />
<title>pwgen in JavaScript</title>
</head>
<body onload="setup()">
<div id="header">
<h1>pwgen in JavaScript</h1>
<p>
JavaScript port of
<a href="http://sourceforge.net/projects/pwgen/">pwgen</a>
</p>
</div>
<div id="body">
<script src="//cdnjs.cloudflare.com/ajax/libs/prototype/1.7.1.0/prototype.js" type="text/javascript"></script>
<script src="pwgen.js" type="text/javascript"></script>
<script src="pwgen-app.js" type="text/javascript"></script>
<form action=".">
<div id="password"></div>
<ul>
<li>length: <input type="text" id="length" size="4" value="8" /></li>
<li><input type="checkbox" id="capital" checked="checked"/>
include at least one capital letter</li>
<li><input type="checkbox" id="number" checked="checked"/>
include at least one number</li>
<li><input type="button" value="generate" onclick="generate()" /></li>
</ul>
</form>
</div>
<div id="footer">
</div>
</body>
</html>