391dc51c13
This PR reworks the web layout so static files can be provided and a "themes" directory to allow a certain degree of control over logos, styles, etc. This PR does NOT add general support for frontend customization, only enough to allow us to start exploring theming internally. The dex binary also must now be run from the root directory since templates are no longer "compiled into" the binary. The docker image has been updated with frontend assets.
23 lines
530 B
HTML
23 lines
530 B
HTML
{{ template "header.html" . }}
|
|
|
|
<div class="panel">
|
|
<h2 class="heading">Log in to {{ issuer }} </h2>
|
|
|
|
<div>
|
|
{{ range $c := .Connectors }}
|
|
<div class="form-row">
|
|
<a href="{{ $c.URL }}?req={{ $.AuthReqID }}" target="_self">
|
|
<button class="btn btn-provider">
|
|
<span class="btn-icon btn-icon-{{ $c.ID }}"></span>
|
|
<span class="btn-text">Log in with {{ $c.Name }}</span>
|
|
</button>
|
|
</a>
|
|
</div>
|
|
{{ end }}
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
{{ template "footer.html" . }}
|