mirror of https://github.com/dexidp/dex.git
5 changed files with 41 additions and 270 deletions
File diff suppressed because one or more lines are too long
@ -1,22 +1,19 @@ |
|||||||
{{ template "header.html" . }} |
{{ template "header.html" . }} |
||||||
|
|
||||||
<div class="panel"> |
<div class="theme-panel"> |
||||||
<h2 class="heading">Log in to {{ issuer }} </h2> |
<h2 class="theme-heading">Log in to {{ issuer }} </h2> |
||||||
|
|
||||||
<div> |
<div> |
||||||
{{ range $c := .Connectors }} |
{{ range $c := .Connectors }} |
||||||
<div class="form-row"> |
<div class="theme-form-row"> |
||||||
<a href="{{ $c.URL }}?req={{ $.AuthReqID }}" target="_self"> |
<a href="{{ $c.URL }}?req={{ $.AuthReqID }}" target="_self"> |
||||||
<button class="btn btn-provider"> |
<button class="dex-btn dex-btn-provider"> |
||||||
<span class="btn-icon btn-icon-{{ $c.ID }}"></span> |
<span class="dex-btn-icon dex-btn-icon--{{ $c.ID }}"></span> |
||||||
<span class="btn-text">Log in with {{ $c.Name }}</span> |
<span class="dex-btn-text">Log in with {{ $c.Name }}</span> |
||||||
</button> |
</button> |
||||||
</a> |
</a> |
||||||
</div> |
</div> |
||||||
{{ end }} |
{{ end }} |
||||||
</div> |
</div> |
||||||
|
|
||||||
</div> |
</div> |
||||||
|
|
||||||
|
|
||||||
{{ template "footer.html" . }} |
{{ template "footer.html" . }} |
||||||
|
|||||||
@ -1,11 +1,9 @@ |
|||||||
{{ template "header.html" . }} |
{{ template "header.html" . }} |
||||||
|
|
||||||
<div class="panel"> |
<div class="theme-panel"> |
||||||
<h2 class="heading">Login Successful</h2> |
<h2 class="theme-heading">Login Successful</h2> |
||||||
|
<p>Please copy this code, switch to your application and paste it there:</p> |
||||||
Please copy this code, switch to your application and paste it there: |
<input type="text" class="theme-form-input" value="{{ .Code }}" /> |
||||||
<br/> |
|
||||||
<input type="text" value="{{ .Code }}" /> |
|
||||||
</div> |
</div> |
||||||
|
|
||||||
{{ template "footer.html" . }} |
{{ template "footer.html" . }} |
||||||
|
|||||||
Loading…
Reference in new issue