Add a toggle between dark and light theme
This commit is contained in:
parent
d22617538e
commit
559ed139aa
34 changed files with 640 additions and 469 deletions
|
|
@ -4,10 +4,10 @@
|
|||
|
||||
<div class="content" id="sign-up">
|
||||
|
||||
<h1>{{ tr.t(Sentence::SignUpTitle) }}</h1>
|
||||
<h1>{{ context.tr.t(Sentence::SignUpTitle) }}</h1>
|
||||
|
||||
<form action="/signup" 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"
|
||||
|
|
@ -15,16 +15,16 @@
|
|||
<span class="user-message">{{ message_email }}</span>
|
||||
|
||||
<label for="input-password-1">
|
||||
{{ tr.tp(Sentence::ChooseAPassword, [Box::new(common::consts::MIN_PASSWORD_SIZE)]) }}
|
||||
{{ context.tr.tp(Sentence::ChooseAPassword, [Box::new(common::consts::MIN_PASSWORD_SIZE)]) }}
|
||||
</label>
|
||||
<input id="input-password-1" type="password" name="password_1" autocomplete="new-password">
|
||||
<span></span>
|
||||
|
||||
<label for="input-password-2">{{ tr.t(Sentence::ReEnterPassword) }}</label>
|
||||
<label for="input-password-2">{{ context.tr.t(Sentence::ReEnterPassword) }}</label>
|
||||
<input id="input-password-2" type="password" name="password_2" autocomplete="new-password">
|
||||
<span class="user-message">{{ message_password }}</span>
|
||||
|
||||
<input type="submit" name="commit" value="{{ tr.t(Sentence::SignUpButton) }}">
|
||||
<input type="submit" name="commit" value="{{ context.tr.t(Sentence::SignUpButton) }}">
|
||||
</form>
|
||||
|
||||
<span class="user-message">{{ message }}</span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue