blob: 7e553918cf0887911f97feeba53a6a7b5b0afd0c (
plain) (
blame)
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
|
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link
rel="stylesheet"
href="https://unpkg.com/purecss@2.0.3/build/pure-min.css"
integrity="sha384-cg6SkqEOCV1NbJoCu11+bm0NvBRc8IYLRGXkmNrqUBfTjmMYwNKPWBTIKyw9mHNJ"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="style.css" type="text/css" media="all" />
<title>Auth</title>
</head>
<body>
<div class="pure-menu pure-menu-horizontal">
<a href="/" class="pure-menu-item pure-menu-link">Home</a>
<a href="/auth/api/logout" class="pure-menu-item pure-menu-link">Logout</a>
</div>
<form class="pure-form pure-form-stacked" id="change-form" action="api/password" method="POST">
<fieldset>
<legend>Login</legend>
<label for="old-password">Altes Passwort</label>
<input name="oldPassword" type="password" id="old-password" placeholder="Passwort" required />
<label for="password">Neues Passwort</label>
<input name="newPassword" type="password" id="password" placeholder="Neues Passwort" required />
<label for="new-password">Neues Passwort (wiederholt)</label>
<input name="newPasswordRep" type="password" id="new-password" placeholder="Neues Passwort" required />
<button type="submit" class="pure-button pure-button-primary">Anmelden</button>
</fieldset>
</form>
<script src="script.js"></script>
</body>
</html>
|