-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpasswd.html
32 lines (31 loc) · 920 Bytes
/
passwd.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
<head>
<title>Policy-Web</title>
<style type="text/css">
body {font-family:sans-serif;}
form {width:19em}
fieldset {background-color:AliceBlue;border:2px solid steelblue;}
p#submit {text-align:right;}
</style>
</head>
<body onload="document.getElementById('email').focus();">
<h1>Kennwort</h1>
<form action="backend/register" method="post">
<div>
<fieldset>
<legend>Neues Kennwort anfordern</legend>
<p>
<label for="email">Email:</label>
<input id="email" name="email" type="text" size="30"/>
<input id="base" name="base_url" type="hidden"/>
<p id="submit">
<input type="submit" value="Kennwort anfordern"/>
</p>
</fieldset>
</div>
</form>
<!-- Link für Bestätigungs-Mail dynamisch aus der aktuellen URL bestimmen. -->
<script type="text/javascript">
var url = window.location.href;
document.getElementById("base").value = url.replace(/[^/]*$/, 'backend');
</script>
</body>