MarseyWorld/files/templates/authforms.html

119 lines
3.2 KiB
HTML
Raw Normal View History

{%- import 'util/helpers.html' as help -%}
2022-05-04 23:09:46 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="description" content="{{DESCRIPTION}}">
2022-05-04 23:09:46 +00:00
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline'; connect-src 'self'; object-src 'none';">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="author" content="">
<link rel="icon" type="image/webp" href="{{'icon.webp' | asset_siteimg}}">
2022-05-27 20:03:23 +00:00
2022-05-04 23:09:46 +00:00
<title>{% block pagetitle %}{{SITE_NAME}}{% endblock %}</title>
{% if v %}
<style>:root{--primary:#{{v.themecolor}}}</style>
<link rel="stylesheet" href="{{'css/main.css' | asset}}">
<link rel="stylesheet" href="{{('css/'~v.theme~'.css') | asset}}">
2022-05-04 23:09:46 +00:00
{% if v.agendaposter %}
<style>
html {
cursor:url('/i/dildo.webp?v=2000'), auto;
2022-05-04 23:09:46 +00:00
}
</style>
{% elif v.css %}
<style>
{{v.css | safe}}
</style>
2022-05-04 23:09:46 +00:00
{% endif %}
2022-08-27 02:57:19 +00:00
{% if v.earlylife %}
<style>
.nav-item .text-small.font-weight-bold::before {
content: "((("
}
.nav-item .text-small.font-weight-bold::after {
content: ")))"
}
</style>
{% endif %}
2022-05-04 23:09:46 +00:00
{% else %}
2022-06-24 01:28:34 +00:00
<style>:root{--primary:#{{DEFAULT_COLOR}}</style>
<link rel="stylesheet" href="{{'css/main.css' | asset}}">
<link rel="stylesheet" href="{{('css/'~DEFAULT_THEME~'.css') | asset}}">
2022-05-04 23:09:46 +00:00
{% endif %}
</head>
<body id="login">
<div class="container-fluid position-absolute h-100 p-0">
<div class="row no-gutters h-100">
<div class="col-12 col-md-6 my-auto p-3">
<div class="row justify-content-center">
<div class="col-10 col-md-7">
<div class="mb-5">
<a href="/" class="text-decoration-none"><span class="h3 text-primary"></span></a>
</div>
<h1 class="h2">{% block authtitle %}{% endblock %}</h1>
<p class="text-muted mb-md-5">{% block authtext %}{% endblock %}</p>
{% if error %}
<div class="alert alert-danger alert-dismissible fade show d-flex my-3" role="alert">
<i class="fas fa-exclamation-circle my-auto"></i>
<span>
{{error}}
</span>
<button class="close" data-bs-dismiss="alert" aria-label="Close">
2022-09-08 17:24:00 +00:00
<span aria-hidden="true"><i class="far fa-times"></i></span>
2022-05-04 23:09:46 +00:00
</button>
</div>
{% endif %}
{% if msg %}
<div class="alert alert-success alert-dismissible fade show d-flex my-3" role="alert">
<i class="fas fa-info-circle my-auto" aria-hidden="true"></i>
<span>
{{msg}}
</span>
<button class="close" data-bs-dismiss="alert" aria-label="Close">
2022-09-08 17:24:00 +00:00
<span aria-hidden="true"><i class="far fa-times"></i></span>
2022-05-04 23:09:46 +00:00
</button>
</div>
{% endif %}
{% block content %}
{% endblock %}
</div>
</div>
</div>
<div class="col-12 col-md-6 d-none d-md-block">
<div class="splash-wrapper">
<div class="splash-overlay"></div>
<img alt="cover" loading="lazy" class="splash-img" src="{{'cover.webp' | asset_siteimg}}"></img>
2022-05-04 23:09:46 +00:00
</div>
</div>
</div>
</div>
</body>
2021-08-22 17:00:07 +00:00
</html>