39 lines
1.3 KiB
HTML
39 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Data Unwrap Form</title>
|
|
</head>
|
|
<body>
|
|
<table>
|
|
<tr><td>
|
|
<!-- <a href={{.URL}}/unwrap>Расшифровать</a> |
|
|
<a href={{.URL}}/genpassword>Сгенерировать пароль</a>-->
|
|
<tr><td><p></p></td></tr>
|
|
<tr><td>
|
|
<form method="post">
|
|
<table>
|
|
<tr><td>
|
|
Введите токен:
|
|
</td></tr>
|
|
<tr><td>
|
|
<textarea id="wrapped_token" name="input_token" cols=50 rows=10>{{ .TEXT }}</textarea>
|
|
</td></tr>
|
|
<tr><td align=right>
|
|
<button type="submit" formaction="{{.URL}}/unwrap">Расшифровать</button>
|
|
<tr><td><hr></td></tr>
|
|
</td></tr>
|
|
<tr><td align=right>
|
|
Длина пароля (от 15 до 1024)
|
|
<input type="text" name="passlength"/ size=4 pattern="[0-9]{2,4}">
|
|
<button type="submit" formaction="{{.URL}}/genpassword">Сгенерировать пароль</button>
|
|
</td></tr>
|
|
</form>
|
|
</td></tr>
|
|
<tr><td>
|
|
</td></tr>
|
|
</table>
|
|
</body>
|
|
</html>
|