mirror of
https://github.com/zitadel/zitadel.git
synced 2025-05-15 19:18:21 +00:00

* fix: login ui for v2 * a color * footer Co-authored-by: Livio Amstutz <livio.a@gmail.com>
46 lines
1.6 KiB
HTML
46 lines
1.6 KiB
HTML
{{template "main-top" .}}
|
|
|
|
<div class="lgn-head">
|
|
<h1>{{t "EmailVerification.Title"}}</h1>
|
|
{{ template "user-profile" . }}
|
|
|
|
<p>{{t "EmailVerification.Description"}}</p>
|
|
</div>
|
|
|
|
<form action="{{ mailVerificationUrl }}" method="POST">
|
|
|
|
{{ .CSRF }}
|
|
|
|
<input type="hidden" name="authRequestID" value="{{ .AuthReqID }}" />
|
|
<input type="hidden" name="userID" value="{{ .UserID }}" />
|
|
<input type="hidden" name="orgID" value="{{ .OrgID }}" />
|
|
|
|
<div class="fields">
|
|
<label class="lgn-label" for="code">{{t "EmailVerification.CodeLabel"}}</label>
|
|
<input class="lgn-input" type="text" id="code" name="code" autocomplete="off" autofocus required>
|
|
</div>
|
|
|
|
{{ template "error-message" .}}
|
|
|
|
<div class="lgn-actions lgn-reverse-order">
|
|
<button type="submit" id="submit-button" name="resend" value="false"
|
|
class="lgn-primary lgn-raised-button">{{t "EmailVerification.NextButtonText"}}
|
|
</button>
|
|
|
|
<span class="fill-space"></span>
|
|
|
|
{{ if .UserID }}
|
|
<button type="submit" name="resend" value="true" class="lgn-stroked-button" formnovalidate>{{t "EmailVerification.ResendButtonText"}}</button>
|
|
{{ end }}
|
|
|
|
<a class="lgn-icon-button lgn-left-action" name="resetlinking" value="true" href="{{ loginUrl }}"
|
|
formnovalidate>
|
|
<i class="lgn-icon-arrow-left-solid"></i>
|
|
</a>
|
|
</div>
|
|
</form>
|
|
<script src="{{ resourceUrl "scripts/form_submit.js" }}"></script>
|
|
<script src="{{ resourceUrl "scripts/default_form_validation.js" }}"></script>
|
|
|
|
{{template "main-bottom" .}}
|