This commit is contained in:
parent
e75a4d4607
commit
4507728dae
32 changed files with 725 additions and 551 deletions
0
polyculeconnect/templates/approval.html
Normal file
0
polyculeconnect/templates/approval.html
Normal file
14
polyculeconnect/templates/complete.html
Normal file
14
polyculeconnect/templates/complete.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
<html>
|
||||
|
||||
<head>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>It works!</h1>
|
||||
<p>
|
||||
Token is {{.Token}}
|
||||
</p>
|
||||
</body>
|
||||
|
||||
</html>
|
0
polyculeconnect/templates/device.html
Normal file
0
polyculeconnect/templates/device.html
Normal file
0
polyculeconnect/templates/device_success.html
Normal file
0
polyculeconnect/templates/device_success.html
Normal file
8
polyculeconnect/templates/error.html
Normal file
8
polyculeconnect/templates/error.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
{{ template "header.html" . }}
|
||||
|
||||
<div class="theme-panel">
|
||||
<h2 class="theme-heading">{{ .ErrType }}</h2>
|
||||
<p>{{ .ErrMsg }}</p>
|
||||
</div>
|
||||
|
||||
{{ template "footer.html" . }}
|
4
polyculeconnect/templates/footer.html
Normal file
4
polyculeconnect/templates/footer.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
18
polyculeconnect/templates/header.html
Normal file
18
polyculeconnect/templates/header.html
Normal file
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>{{ issuer }}</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
</head>
|
||||
|
||||
<body class="theme-body">
|
||||
<div class="theme-navbar">
|
||||
<div class="theme-navbar__logo-wrap">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="dex-container">
|
15
polyculeconnect/templates/index.html
Normal file
15
polyculeconnect/templates/index.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
<html>
|
||||
|
||||
<head>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<form action="/login" method="post">
|
||||
<div>
|
||||
<input type="submit" value="login">
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
|
||||
</html>
|
15
polyculeconnect/templates/login.html
Normal file
15
polyculeconnect/templates/login.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
{{ template "header.html" . }}
|
||||
|
||||
<div class="theme-panel">
|
||||
<h2 class="theme-heading">Log in to {{ issuer }} </h2>
|
||||
<div>
|
||||
{{ range $c := .Connectors }}
|
||||
<div>
|
||||
'{{ $c.ID }}'
|
||||
<a href="{{ $c.URL }}">{{ $c.Name }} </a>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{ template "footer.html" . }}
|
0
polyculeconnect/templates/oob.html
Normal file
0
polyculeconnect/templates/oob.html
Normal file
0
polyculeconnect/templates/password.html
Normal file
0
polyculeconnect/templates/password.html
Normal file
Loading…
Add table
Add a link
Reference in a new issue