mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-25 18:40:12 +00:00
Harvey Tindall
7b9b0d8a84
Shares code with custom emails, so most related functions have had a %s/Email/Message/g. Press the edit button on the user page setting to add a message.
21 lines
1.1 KiB
HTML
21 lines
1.1 KiB
HTML
<div id="modal-login" class="modal">
|
|
<div class="my-[10%] row items-stretch relative mx-auto w-[40%] lg:w-[60%]">
|
|
{{ if index . "LoginMessageEnabled" }}
|
|
{{ if .LoginMessageEnabled }}
|
|
<div class="card mx-2 flex-initial w-[100%] xl:w-[35%] mb-4 xl:mb-0 ~neutral @low content">
|
|
{{ .LoginMessageContent }}
|
|
</div>
|
|
{{ end }}
|
|
{{ end }}
|
|
<form class="card mx-2 flex-auto form-login w-[100%] xl:w-[55%] mb-0" href="">
|
|
<span class="heading">{{ .strings.login }}</span>
|
|
<input type="text" class="field input ~neutral @high mt-4 mb-2" placeholder="{{ .strings.username }}" id="login-user">
|
|
<input type="password" class="field input ~neutral @high mb-4" placeholder="{{ .strings.password }}" id="login-password">
|
|
<label>
|
|
<input type="submit" class="unfocused">
|
|
<span class="button ~urge @low full-width center supra submit">{{ .strings.login }}</span>
|
|
</label>
|
|
</form>
|
|
</div>
|
|
</div>
|