2023-09-06 22:20:09 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2023-09-15 13:06:31 +01:00
|
|
|
<title>{{.ServiceName}}</title>
|
2023-09-06 22:20:09 +01:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<header>
|
2023-09-15 13:06:31 +01:00
|
|
|
<h1>{{.ServiceName}}</h1>
|
2023-09-06 22:20:09 +01:00
|
|
|
</header>
|
|
|
|
<main>
|
2023-09-07 11:45:16 +01:00
|
|
|
<div>Logged in as: {{.User.Name}} ({{.User.Sub}})</div>
|
2023-09-06 22:20:09 +01:00
|
|
|
<div>
|
2023-09-15 13:06:31 +01:00
|
|
|
<form method="GET" action="/edit">
|
|
|
|
<button type="submit">Edit Profile</button>
|
|
|
|
</form>
|
2023-09-07 11:45:16 +01:00
|
|
|
</div>
|
2023-09-09 01:38:10 +01:00
|
|
|
<div>
|
2023-09-15 13:06:31 +01:00
|
|
|
<form method="GET" action="/edit/username">
|
|
|
|
<button type="submit">Change Username</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<form method="GET" action="/edit/password">
|
|
|
|
<button type="submit">Change Password</button>
|
|
|
|
</form>
|
2023-09-09 01:38:10 +01:00
|
|
|
</div>
|
|
|
|
<div>
|
2023-09-15 13:06:31 +01:00
|
|
|
<form method="GET" action="/manage/apps">
|
|
|
|
<button type="submit">Manage Applications</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<form method="GET" action="/manage/users">
|
|
|
|
<button type="submit">Manage Users</button>
|
|
|
|
</form>
|
2023-09-09 01:38:10 +01:00
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<form method="GET" action="/edit/otp">
|
2023-09-15 13:06:31 +01:00
|
|
|
<label><input type="radio" name="digits" value="6"/> 6 digits</label>
|
|
|
|
<label><input type="radio" name="digits" value="7"/> 7 digits</label>
|
|
|
|
<label><input type="radio" name="digits" value="8"/> 8 digits</label>
|
2023-09-09 01:38:10 +01:00
|
|
|
<button type="submit">Change OTP</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
2023-09-07 11:45:16 +01:00
|
|
|
<div>
|
|
|
|
<form method="POST" action="/logout">
|
|
|
|
<input type="hidden" name="nonce" value="{{.Nonce}}">
|
2023-09-06 22:20:09 +01:00
|
|
|
<button type="submit">Log Out</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
</body>
|
|
|
|
</html>
|