Implement server #3
41
templates/base_page.html
Normal file
41
templates/base_page.html
Normal 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>© Pierre HUBERT</p>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
@ -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>
|
||||
<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>
|
||||
|
||||
<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">
|
||||
<a href="/start" class="btn btn-lg btn-light fw-bold border-white bg-white">Start</a>
|
||||
</p>
|
||||
</main>
|
||||
|
||||
<footer class="mt-auto text-white-50">
|
||||
<p>© Pierre HUBERT</p>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
{% endblock content %}
|
Loading…
Reference in New Issue
Block a user