web/templates: port templates from v1

This commit is contained in:
Eric Chiang
2016-08-25 13:03:41 -07:00
parent 68746fd795
commit 91ff8a16cd
5 changed files with 338 additions and 0 deletions

22
web/templates/login.html Normal file
View File

@@ -0,0 +1,22 @@
{{ 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 }}?state={{ $.State }}" 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" . }}