Add a toggle between dark and light theme

This commit is contained in:
Greg Burri 2025-03-31 15:31:06 +02:00
parent d22617538e
commit 559ed139aa
34 changed files with 640 additions and 469 deletions

View file

@ -4,17 +4,17 @@
<div class="content" id="sign-in">
<h1>{{ tr.t(Sentence::SignInTitle) }}</h1>
<h1>{{ context.tr.t(Sentence::SignInTitle) }}</h1>
<form action="/signin" method="post">
<label for="input-email">{{ tr.t(Sentence::EmailAddress) }}</label>
<label for="input-email">{{ context.tr.t(Sentence::EmailAddress) }}</label>
<input id="input-email" type="email" name="email" value="{{ email }}"
autocapitalize="none" autocomplete="email" autofocus="autofocus">
<label for="input-password">{{ tr.t(Sentence::Password) }}</label>
<label for="input-password">{{ context.tr.t(Sentence::Password) }}</label>
<input id="input-password" type="password" name="password" autocomplete="current-password">
<input type="submit" value="{{ tr.t(Sentence::SignInMenu) }}">
<input type="submit" value="{{ context.tr.t(Sentence::SignInMenu) }}">
</form>
<span class="user-message">{{ message }}</span>