Add first basic POC
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Melora Hugues 2023-10-14 18:06:02 +02:00
parent e75a4d4607
commit 4507728dae
32 changed files with 725 additions and 551 deletions

View file

View file

@ -0,0 +1,14 @@
<html>
<head>
</head>
<body>
<h1>It works!</h1>
<p>
Token is {{.Token}}
</p>
</body>
</html>

View file

View 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" . }}

View file

@ -0,0 +1,4 @@
</div>
</body>
</html>

View 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">

View file

@ -0,0 +1,15 @@
<html>
<head>
</head>
<body>
<form action="/login" method="post">
<div>
<input type="submit" value="login">
</div>
</form>
</body>
</html>

View 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" . }}

View file

View file