Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# 0.10.3

- Update: **Traefik 3** is now supported by default. Traefik 2 is still supported, but traefik.aiiVersion must be set.
- Improvement: **Index Page** - shows the actual logedin profile and a logout button.

# 0.10.2

Expand Down
1 change: 1 addition & 0 deletions Resources/Translations/de_DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"LOGIN": {
"UI": {
"LOGIN": "Anmelden",
"LOGOUT": "Abmelden",
"NAME": "Benutzername",
"PASSWORD": "Passwort"
},
Expand Down
1 change: 1 addition & 0 deletions Resources/Translations/en_EN.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"LOGIN": {
"UI": {
"LOGIN": "Log In",
"LOGOUT": "Logout",
"NAME": "Username",
"PASSWORD": "Password"
},
Expand Down
1 change: 1 addition & 0 deletions Resources/Translations/pt_PT.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"LOGIN": {
"UI": {
"LOGIN": "Iniciar sessão",
"LOGOUT": "Sair",
"NAME": "Nome de usuário",
"PASSWORD": "Palavra-chave"
},
Expand Down
30 changes: 26 additions & 4 deletions Resources/Views/default/index.leaf
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,33 @@
<link rel="stylesheet" href="css/uitsmijter.css">
<script type="application/javascript" src="js/uitsmijter.js"></script>
#if(payload == nil):
<meta http-equiv="refresh" content="0; url=login?for=#(serviceUrl)">
<meta http-equiv="refresh" content="0; url=login?for=#(serviceUrl)">
#endif
</head>
<body class="background">
<header>
<ul class="navigation">
<li><a href="#" id="clock">
<script type="application/javascript">
let clock = new SimpleClock("clock")
document.write(clock.currentTime)
</script>
</a></li>
</ul>
</header>
<main>
<div class="logo-box">
<img src="images/uitsmijter.svg">
</div>
<div class='login-box #isnotempty(error, "error")' style="max-width: 60%">
<div style="margin: 1.8rem">
#(payload)
</div>
<button id="logoutButton" type="button" class="button-big" name="login-button" onclick="document.location.href='/logout'">
<span>#t("LOGIN.UI.LOGOUT")</span>
</button>
</div>
</main>

<body>
Payload: #(payload)
</body>
</html>
</html>