BasicOIDC/templates/login/base_login_page.html

73 lines
1.8 KiB
HTML
Raw Normal View History

2022-03-30 09:00:20 +00:00
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Auth service">
2022-04-23 18:41:31 +00:00
<!-- No indexing -->
<meta name="robots" content="noindex, nofollow">
2024-02-19 17:42:19 +00:00
<title>{{ p.app_name }} - {{ p.page_title }}</title>
2022-03-30 09:00:20 +00:00
<!-- Bootstrap core CSS -->
<link href="/assets/css/bootstrap.css" rel="stylesheet" crossorigin="anonymous"/>
<!-- Favicons -->
<meta name="theme-color" content="#7952b3">
<style>
.bd-placeholder-img {
font-size: 1.125rem;
text-anchor: middle;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
@media (min-width: 768px) {
.bd-placeholder-img-lg {
font-size: 3.5rem;
}
}
</style>
<!-- Custom styles for this template -->
<link href="/assets/css/base_login_page.css" rel="stylesheet">
</head>
<body class="text-center">
2022-04-03 16:51:18 +00:00
<!-- Background filter -->
<div class="bg-login"></div>
2022-03-30 09:00:20 +00:00
<main class="form-signin">
2024-02-19 17:42:19 +00:00
<h1 class="h3 mb-3 fw-normal" style="margin-bottom: 2rem !important;">{{ p.page_title }}</h1>
2022-03-30 09:00:20 +00:00
2024-02-19 17:42:19 +00:00
{% if let Some(danger) = p.danger %}
2022-03-30 09:00:20 +00:00
<div class="alert alert-danger" role="alert">
2022-04-19 15:49:57 +00:00
{{ danger }}
2022-03-30 09:00:20 +00:00
</div>
2022-04-19 15:49:57 +00:00
{% endif %}
2022-03-30 09:00:20 +00:00
2024-02-19 17:42:19 +00:00
{% if let Some(success) = p.success %}
2022-03-30 09:00:20 +00:00
<div class="alert alert-success" role="alert">
2022-04-19 15:49:57 +00:00
{{ success }}
2022-03-30 09:00:20 +00:00
</div>
2022-04-19 15:49:57 +00:00
{% endif %}
2022-03-30 09:00:20 +00:00
{% block content %}
TO_REPLACE
{% endblock content %}
2022-04-18 15:15:11 +00:00
<p class="mt-5 mb-3 text-muted">&copy; Pierre Hubert 2022 -
2022-03-30 09:00:20 +00:00
<script>document.write(new Date().getFullYear())</script>
</p>
</main>
<script src="/assets/js/base_login_page.js"></script>
</body>
</html>