76 lines
3.5 KiB
HTML
76 lines
3.5 KiB
HTML
<html>
|
|
<head>
|
|
<script language="javascript" src="./jquery-3.4.1.min.js"></script>
|
|
<script language="javascript" src="./sha256.js"></script>
|
|
<script language="javascript" src="./ewpass.js"></script>
|
|
</head>
|
|
<body onload="ewpass.setup();">
|
|
<center>
|
|
<table border="0" cellspacing="10">
|
|
<tr>
|
|
<th>Master password: </th>
|
|
<td>
|
|
<table border="0" cellspacing="5">
|
|
<tr>
|
|
<td colspan="3">
|
|
<input type="password" id="seed" size="46" autocomplete="off" /> <input type="button" id="clearseed" value="Clear" onclick="ewpass.resetSeed();" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Checksum: </td>
|
|
<td><span id="chkok"></span> <span id="checksum"></span></td>
|
|
<td><input type="button" id="chkset" value="Set" onclick="ewpass.storeSeedChecksum();" /></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td> </td>
|
|
</tr>
|
|
<tr>
|
|
<th>Domain: </th>
|
|
<td>
|
|
<input id="domain" list="domainlist" autocomplete="off" onchange="ewpass.checkDomainInputMatchesToOption();" onfocus="$('#domain').val('');" /><datalist id="domainlist"></datalist>
|
|
<input type="button" id="deletedomain" value="Delete" onclick="ewpass.deleteDomain();" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Options: </th>
|
|
<td>
|
|
<table border="0" cellspacing="2">
|
|
<tr>
|
|
<td>Length: </td>
|
|
<td><input id="length" value="12" size="2" autocomplete="off" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Iteration: </td>
|
|
<td><input id="iteration" value="1" size="2" autocomplete="off" /> <input type="button" id="nextiter" value="Next" onclick="ewpass.nextIteration();" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">
|
|
<label><input type="checkbox" id="extended" checked="checked" /> Use special characters</label>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">
|
|
<input type="button" id="storedomain" value="Store" onclick="ewpass.storeSettingsForDomain();" />
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">
|
|
<center>
|
|
<input type="button" id="docopy" value="Copy password" onclick="ewpass.deriveAndCopyToClipboard();" />
|
|
</center>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</center>
|
|
</body>
|
|
</html>
|