2023-06-15 21:00:08 +00:00
|
|
|
<div id="modal-login" class="modal">
|
2023-12-22 18:36:21 +00:00
|
|
|
<div class="my-[10%] row items-stretch relative mx-auto w-11/12 sm:w-4/5 lg:w-1/2">
|
2023-06-20 20:43:25 +00:00
|
|
|
{{ if index . "LoginMessageEnabled" }}
|
|
|
|
{{ if .LoginMessageEnabled }}
|
2023-12-22 18:36:21 +00:00
|
|
|
<div class="card mx-2 flex-initial w-[100%] lg:w-[35%] mb-4 lg:mb-0 dark:~d_neutral @low content">
|
2023-06-20 20:43:25 +00:00
|
|
|
{{ .LoginMessageContent }}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
2023-10-02 09:56:50 +00:00
|
|
|
{{ if index . "userPageEnabled" }}
|
|
|
|
{{ if and .userPageEnabled .showUserPageLink }}
|
2023-12-22 18:36:21 +00:00
|
|
|
<div class="card mx-2 flex-initial w-[100%] lg:w-[35%] mb-4 lg:mb-0 dark:~d_neutral @low content">
|
2023-10-02 09:56:50 +00:00
|
|
|
<span class="heading row">{{ .strings.loginNotAdmin }}</span>
|
2023-12-24 18:55:58 +00:00
|
|
|
<a class="button ~info h-12 w-full" href="{{ .urlBase }}/my/account"><i class="ri-account-circle-fill mr-2"></i>{{ .strings.myAccount }}</a>
|
2023-10-02 09:56:50 +00:00
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
2023-12-24 18:55:58 +00:00
|
|
|
<form class="card mx-2 form-login w-[100%] lg:w-[55%] mb-0" href="">
|
2023-06-20 20:43:25 +00:00
|
|
|
<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>
|
2023-06-22 11:04:40 +00:00
|
|
|
{{ if index . "pwrEnabled" }}
|
|
|
|
{{ if .pwrEnabled }}
|
|
|
|
<span class="button ~info @low full-width center supra submit my-2" id="modal-login-pwr">{{ .strings.resetPassword }}</span>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
2023-06-20 20:43:25 +00:00
|
|
|
</label>
|
|
|
|
</form>
|
|
|
|
</div>
|
2023-06-15 21:00:08 +00:00
|
|
|
</div>
|