forked from rDrama/rDrama
132 lines
3.6 KiB
HTML
132 lines
3.6 KiB
HTML
{%- from 'util/assetcache.html' import asset, asset_siteimg with context -%}
|
||
{%- import 'util/helpers.html' as help -%}
|
||
<!DOCTYPE html>
|
||
<html lang="en">
|
||
|
||
<head>
|
||
<meta name="description" content="{{DESCRIPTION}}">
|
||
<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="{{asset_siteimg('icon.webp')}}">
|
||
|
||
<title>{% block pagetitle %}{{SITE_NAME}}{% endblock %}</title>
|
||
|
||
|
||
{% if v %}
|
||
<style>:root{--primary:#{{v.themecolor}}}</style>
|
||
<link rel="stylesheet" href="{{asset('css/main.css')}}">
|
||
<link rel="stylesheet" href="{{asset('css/' + v.theme + '.css')}}">
|
||
{% if v.agendaposter %}
|
||
<style>
|
||
html {
|
||
cursor:url('/i/dildo.webp?v=2000'), auto;
|
||
}
|
||
.nav-item .text-small.font-weight-bold::before {
|
||
content: "((("
|
||
}
|
||
.nav-item .text-small.font-weight-bold::after {
|
||
content: ")))"
|
||
}
|
||
.nav-item .text-small-extra.text-primary {
|
||
font-size: 0 !important
|
||
}
|
||
.nav-item .text-small-extra.text-primary i {
|
||
font-size: 11px !important
|
||
}
|
||
</style>
|
||
{% elif v.css %}
|
||
<style>
|
||
{{v.css | safe}}
|
||
</style>
|
||
{% endif %}
|
||
|
||
{% if v.earlylife %}
|
||
<style>
|
||
.nav-item .text-small.font-weight-bold::before {
|
||
content: "((("
|
||
}
|
||
.nav-item .text-small.font-weight-bold::after {
|
||
content: ")))"
|
||
}
|
||
</style>
|
||
{% endif %}
|
||
{% else %}
|
||
<style>:root{--primary:#{{DEFAULT_COLOR}}</style>
|
||
<link rel="stylesheet" href="{{asset('css/main.css')}}">
|
||
<link rel="stylesheet" href="/assets/css/{{DEFAULT_THEME}}.css?v=57">
|
||
{% 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">
|
||
<span aria-hidden="true"><i class="far fa-times"></i></span>
|
||
</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">
|
||
<span aria-hidden="true"><i class="far fa-times"></i></span>
|
||
</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="{{asset_siteimg('cover.webp')}}"></img>
|
||
</div>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
</body>
|
||
|
||
</html> |