login.html (573B)
1 {{ template "head" . }} 2 <main> 3 <h1>{{ "Login" | translate | capitalize }}</h1> 4 <p>{{ "ForumDescription" | translateWithData | tohtml }} {{ "LoginNoAccount" | translate | tohtml }}</p> 5 <div style="max-width: 20rem"> 6 {{ template "login-component" . }} 7 <p><a href="/reset">{{ "PasswordForgot" | translate }}</a></p> 8 </div> 9 {{ if .Data.FailedAttempt }} 10 <p> {{ "LoginFailure" | translate | tohtml }} </p> 11 {{ else if .LoggedIn }} 12 <p>{{ "LoginAlreadyLoggedIn" | translate | tohtml }}</p> 13 {{ end }} 14 </p> 15 </main> 16 {{ template "footer" . }}