1
0
mirror of https://github.com/S2-/pwgen.git synced 2025-08-03 09:10:04 +02:00

direct copy

This commit is contained in:
s2
2017-11-15 17:14:35 +01:00
parent 50d4ecf2a0
commit 0837d3421f
2 changed files with 32 additions and 8 deletions

View File

@@ -8,17 +8,24 @@
<body>
<form>
<div>
<label for"length">length</label> <input type="number" id="length" value="14" min="0">
<label for"length">length</label>
<input type="number" id="length" value="14" min="0" name="length">
</div>
<div>
<label for"special">include special chars</label> <input type="checkbox" id="special" checked="checked">
<label for"special">include special chars</label>
<input type="checkbox" id="special" checked="checked" name="special">
</div>
<div>
<label for"pw">your password</label> <input type="text" id="pw">
<label for"pw">your password</label>
<input type="text" id="pw" name="pw">
</div>
<div>
<button id="copy">copy to clipboard</button><button id="new">give me an other one</button>
</div>
<div>
<label for"directcopy">direct copy</label>
<input type="checkbox" id="directcopy" name="directcopy" title="next time when i click the button, copy the new password immediately to the clipboard">
</div>
</form>
<script src="pwgen.js"></script>
</body>