Stephan Richter
2 months ago
11 changed files with 237 additions and 44 deletions
@ -0,0 +1,18 @@
@@ -0,0 +1,18 @@
|
||||
<html> |
||||
<head> |
||||
<meta charset="utf-8"> |
||||
<title>Light OIDC</title> |
||||
<script src="scripts/common.js"></script> |
||||
<script src="scripts/user.js"></script> |
||||
<script src="scripts/index.js"></script> |
||||
<link rel="stylesheet" href="style.css" /> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
||||
</head> |
||||
<body> |
||||
<nav></nav> |
||||
<div id="content"> |
||||
<h1 id="welcome">Willkommen, {}!</h1> |
||||
<h3 id="client_hint" style="display: none">Dies sind die von Ihnen autorisierten Clients:</h3> |
||||
</div> |
||||
</body> |
||||
</html> |
@ -1,12 +0,0 @@
@@ -1,12 +0,0 @@
|
||||
<html> |
||||
<head> |
||||
<meta charset="utf-8"> |
||||
<title>Light OIDC</title> |
||||
<script src="scripts/common.js"></script> |
||||
<script src="scripts/logout.js"></script> |
||||
<link rel="stylesheet" href="style.css" /> |
||||
</head> |
||||
<body> |
||||
<div id="content">Sie werden abgemeldet…</div> |
||||
</body> |
||||
</html> |
@ -0,0 +1,54 @@
@@ -0,0 +1,54 @@
|
||||
<html> |
||||
<head> |
||||
<meta charset="utf-8"> |
||||
<title>Light OIDC</title> |
||||
<script src="scripts/common.js"></script> |
||||
<script src="scripts/reset.js"></script> |
||||
<link rel="stylesheet" href="style.css" /> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
||||
</head> |
||||
<body> |
||||
<nav></nav> |
||||
<div id="content"> |
||||
<h1>Reset password</h1> |
||||
<div>Willkommen! Du kannst jetzt dein Passwort zurücksetzen!</div> |
||||
<form> |
||||
<fieldset> |
||||
<legend> |
||||
Passwort |
||||
</legend> |
||||
<table> |
||||
<tr> |
||||
<th>Neues Passwort</th> |
||||
<td><input id="newpass1" type="password"></td> |
||||
</tr> |
||||
<tr> |
||||
<th>Passwort wiederholen</th> |
||||
<td><input id="newpass2" type="password" onkeydown="passKeyDown()"></td> |
||||
</tr> |
||||
<tr id="password_mismatch" style="display: none"> |
||||
<th>Error</th> |
||||
<td class="warning">neues Passwort und dessen Wiederholung stimmen nicht überein!</td> |
||||
</tr> |
||||
<tr id="weak_password" style="display: none"> |
||||
<th>Error</th> |
||||
<td class="warning">Dein Passwort ist zu einfach!</td> |
||||
</tr> |
||||
<tr id="missing_token" style="display: none"> |
||||
<th>Error</th> |
||||
<td class="warning">Zugriffs-Token fehlt!</td> |
||||
</tr> |
||||
<tr id="invalid_token" style="display: none"> |
||||
<th>Error</th> |
||||
<td class="warning">Zugriffs-Token gefunden, ist aber ungültig!</td> |
||||
</tr> |
||||
<tr> |
||||
<td></td> |
||||
<td><button id="passBtn" type="button" onClick="updatePass()">Aktualisieren</button></td> |
||||
</tr> |
||||
</table> |
||||
</fieldset> |
||||
</form> |
||||
</div> |
||||
</body> |
||||
</html> |
@ -0,0 +1,55 @@
@@ -0,0 +1,55 @@
|
||||
<html> |
||||
<head> |
||||
<meta charset="utf-8"> |
||||
<title>Light OIDC</title> |
||||
<script src="scripts/common.js"></script> |
||||
<script src="scripts/user.js"></script> |
||||
<script src="scripts/users.js"></script> |
||||
<link rel="stylesheet" href="style.css" /> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
||||
</head> |
||||
<body> |
||||
<nav></nav> |
||||
<div id="content"> |
||||
<h1>Users</h1> |
||||
<fieldset> |
||||
<legend>Dies sind die bei LightOIDC registrierten Benutzer:</legend> |
||||
<table class="centered"> |
||||
<tr> |
||||
<th>Benutzername</th> |
||||
<th>Anzeigename</th> |
||||
<th>E-Mail</th> |
||||
<th>ID</th> |
||||
<th style="display: none" class="permissions">Berechtigungen</th> |
||||
<th>Aktionen</th> |
||||
</tr> |
||||
<tr id="bottom"> |
||||
<td> |
||||
<input value="" type="text" id="username" placeholder="Benutzername" /> |
||||
</td> |
||||
<td> |
||||
<input value="" type="text" id="realname" placeholder="Anzeigename" /> |
||||
</td> |
||||
<td> |
||||
<input value="" type="text" id="email" placeholder="E-Mail-Adresse" autocomplete="off" /> |
||||
</td> |
||||
<td> |
||||
<input value="" type="password" id="pw" placeholder="Passwort" autocomplete="new-password" /> |
||||
</td> |
||||
<td> |
||||
<input value="" type="password" id="pw2" placeholder="Passwort wiederholen" autocomplete="repeat-password" /> |
||||
</td> |
||||
<td> |
||||
<button onclick="addUser()">Neuen Nutzer anlegen…</button> |
||||
</td> |
||||
</tr> |
||||
|
||||
</table> |
||||
<span class="hidden" id="message">Really remove client "{}"?</span> |
||||
<span class="error" style="display: none" id="missing_user_id">Server did not receive a valid user_id for removal!</span> |
||||
<span class="error" style="display: none" id="missing_confirmation">Server did not receive confirmation for this request!</span> |
||||
<span class="error" style="display: none" id="unknown_user">The backend does not know this user!</span> |
||||
</fieldset> |
||||
</div> |
||||
</body> |
||||
</html> |
Loading…
Reference in new issue