This commit is contained in:
tamakyi
2026-09-08 10:10:44 +08:00
commit 2ed27dd55e
288 changed files with 67061 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
{{template "base/header" .}}
<form method="post" id="form">
<fieldset class="uk-fieldset">
{{ .CSRFTokenHTML }}
<legend class="uk-legend">{{t .LangCode "auth.login.title"}}</legend>
{{template "base/alert" .}}
<div class="uk-margin">
<label class="uk-form-label" for="email">{{t .LangCode "auth.login.email"}}</label>
<input name="email" id="email" class="uk-input" type="text" value="{{.email}}">
</div>
<div class="uk-margin">
<label class="uk-form-label" for="password">{{t .LangCode "auth.login.password"}}</label>
<input type="password" name="password" id="password" class="uk-input">
</div>
<div class="uk-margin">
{{ if eq .CaptchaType "math" }}
<input type="hidden" name="g-recaptcha-response" id="g-recaptcha-response" value="">
<button type="button" class="uk-button uk-button-primary math-captcha-trigger">{{t .LangCode "auth.login.submit"}}</button>
{{ else }}
<button type="submit" class="uk-button uk-button-primary g-recaptcha" data-sitekey="{{.RecaptchaSiteKey}}"
data-callback="onSubmit">{{t .LangCode "auth.login.submit"}}
</button>
{{ end }}
<a href="/forgot-password" class="uk-button uk-button-default">{{t .LangCode "auth.login.forgot"}}
</a>
</div>
</fieldset>
</form>
{{template "base/footer" .}}