2021-06-10 14:18:07 +02:00
|
|
|
{{template "main-top" .}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="lgn-head">
|
|
|
|
|
<h1>{{t "LoginSuccess.Title"}}</h1>
|
|
|
|
|
|
|
|
|
|
{{ template "user-profile" . }}
|
|
|
|
|
|
|
|
|
|
{{if .RedirectURI}}
|
2021-07-05 15:10:49 +02:00
|
|
|
<p>{{t "LoginSuccess.AutoRedirectDescription"}}</p>
|
2021-06-10 14:18:07 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<form action="{{ .RedirectURI }}" method="GET">
|
|
|
|
|
|
|
|
|
|
<input type="hidden" name="id" value="{{ .AuthReqID }}" />
|
|
|
|
|
|
|
|
|
|
{{ template "error-message" .}}
|
|
|
|
|
|
|
|
|
|
<div class="lgn-actions">
|
|
|
|
|
<span class="fill-space"></span>
|
2021-07-05 15:10:49 +02:00
|
|
|
<button id="redirect-button" class="lgn-raised-button lgn-primary">{{t "LoginSuccess.NextButtonText"}}</button>
|
2021-06-10 14:18:07 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
<script src="{{ resourceUrl "scripts/login_success.js" }}"></script>
|
|
|
|
|
{{else}}
|
2021-07-05 15:10:49 +02:00
|
|
|
<p>{{t "LoginSuccess.RedirectedDescription"}}</p>
|
2021-06-10 14:18:07 +02:00
|
|
|
</div>
|
|
|
|
|
{{end}}
|
|
|
|
|
|
|
|
|
|
{{template "main-bottom" .}}
|