Split files
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pierre HUBERT 2023-04-27 18:26:46 +02:00
parent d14237eaca
commit df9d56c35e
2 changed files with 50 additions and 42 deletions

41
templates/base_page.html Normal file
View File

@ -0,0 +1,41 @@
<!doctype html>
<html lang="en" class="h-100" data-bs-theme="auto">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="OIDC basic test client">
<meta name="author" content="Pierre HUBERT">
<title>OIDC Test client</title>
<link href="/assets/bootstrap.min.css" rel="stylesheet" integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous">
<link href="/assets/cover.css" rel="stylesheet" />
<meta name="theme-color" content="#712cf9">
</head>
<body class="d-flex h-100 text-center text-bg-dark">
<div class="cover-container d-flex w-100 h-100 p-3 mx-auto flex-column">
<header class="mb-auto">
<div>
<h3 class="float-md-start mb-0">OIDC test client</h3>
</div>
</header>
<main class="px-3">
{% block content %}
TO_REPLACE
{% endblock content %}
</main>
<footer class="mt-auto text-white-50">
<p>&copy; Pierre HUBERT</p>
</footer>
</div>
</body>
</html>

View File

@ -1,44 +1,11 @@
<!doctype html>
<html lang="en" class="h-100" data-bs-theme="auto">
<head>
{% extends "base_page.html" %}
{% block content %}
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="OIDC basic test client">
<meta name="author" content="Pierre HUBERT">
<title>OIDC Test client</title>
<link href="/assets/bootstrap.min.css" rel="stylesheet" integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous">
<link href="/assets/cover.css" rel="stylesheet" />
<meta name="theme-color" content="#712cf9">
</head>
<body class="d-flex h-100 text-center text-bg-dark">
<div class="cover-container d-flex w-100 h-100 p-3 mx-auto flex-column">
<header class="mb-auto">
<div>
<h3 class="float-md-start mb-0">OIDC test client</h3>
</div>
</header>
<main class="px-3">
<h1>Test OIDC Authentication flow.</h1>
<p class="lead">Get started testing OIDC authentication flow</p>
<p>Redirect URI: {{ redirect_url }}</p>
<p class="lead">
<h1>Test OIDC Authentication flow.</h1>
<p class="lead">Get started testing OIDC authentication flow</p>
<p>Redirect URI: {{ redirect_url }}</p>
<p class="lead">
<a href="/start" class="btn btn-lg btn-light fw-bold border-white bg-white">Start</a>
</p>
</main>
</p>
<footer class="mt-auto text-white-50">
<p>&copy; Pierre HUBERT</p>
</footer>
</div>
</body>
</html>
{% endblock content %}