bunkerweb 1.4.0
This commit is contained in:
@@ -1,26 +1,51 @@
|
||||
{% set template_data = {"javascript": ""} %}
|
||||
|
||||
<!doctype html>
|
||||
<html lang="en" class="h-100">
|
||||
|
||||
{% include "head.html" %}
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
{% include "head.html" %}
|
||||
|
||||
<body class="d-flex flex-column h-100">
|
||||
<body class="hero-anime bg-light d-flex flex-column justify-content-between">
|
||||
<noscript>Your browser does not support JavaScript!</noscript>
|
||||
{% include "navbar.html" %}
|
||||
|
||||
{% include "menu.html" %}
|
||||
|
||||
<main class="flex-shrink-0 text-center">
|
||||
<div class="container">
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
</main>
|
||||
<!--<div class="flex-shrink-0 container d-flex justify-content-center align-items-center" style="height: 100%; padding-top: 50px;">
|
||||
</div>-->
|
||||
|
||||
{% include "footer.html" %}
|
||||
|
||||
{% include "end.html" %}
|
||||
|
||||
</body>
|
||||
<div class="container-fluid h-100 main-div">
|
||||
<div class="position-fixed bottom-0 end-0 p-3 pt-5 toast-container">
|
||||
{% with messages = get_flashed_messages(with_categories=true) %} {% if
|
||||
messages %} {% for category, message in messages %}
|
||||
<div
|
||||
class="toast fade show"
|
||||
role="alert"
|
||||
aria-live="assertive"
|
||||
aria-atomic="true"
|
||||
>
|
||||
<div class="toast-header">
|
||||
<img
|
||||
src="images/favicon.ico"
|
||||
class="rounded me-2"
|
||||
alt="BunkerWeb icon"
|
||||
width="14"
|
||||
height="14"
|
||||
/>
|
||||
<strong class="me-auto">BunkerWeb</strong>
|
||||
{% if category == 'error' %}
|
||||
<small style="color: rgb(168, 0, 0)">error</small>
|
||||
{% else %}
|
||||
<small style="color: rgb(21, 138, 21)">success</small>
|
||||
{% endif %}
|
||||
<button
|
||||
type="button"
|
||||
class="btn-close"
|
||||
data-bs-dismiss="toast"
|
||||
aria-label="Close"
|
||||
></button>
|
||||
</div>
|
||||
<div class="toast-body">{{ message|safe }}</div>
|
||||
</div>
|
||||
{% endfor %} {% endif %} {% endwith %}
|
||||
</div>
|
||||
{% block content %} {% endblock %}
|
||||
</div>
|
||||
|
||||
{% include "footer.html" %}
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user