mirror of
https://github.com/Llloooggg/Dyxless.git
synced 2026-03-06 18:56:24 +03:00
Исправлено отображение уведомлений
This commit is contained in:
5
dyxless/static/css/base.css
Normal file
5
dyxless/static/css/base.css
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
.notification{
|
||||||
|
position: fixed;
|
||||||
|
left: 75%;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
@@ -11,6 +11,7 @@
|
|||||||
<link rel="icon" type="image/png" sizes="32x32" href="{{ url_for('static', filename = 'img/favicon-32x32.png') }}">
|
<link rel="icon" type="image/png" sizes="32x32" href="{{ url_for('static', filename = 'img/favicon-32x32.png') }}">
|
||||||
<link rel="icon" type="image/png" sizes="16x16" href="{{ url_for('static', filename = 'img/favicon-16x16.png') }}">
|
<link rel="icon" type="image/png" sizes="16x16" href="{{ url_for('static', filename = 'img/favicon-16x16.png') }}">
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename = 'css/bulma.min.css') }}" rel="stylesheet" type="text/css">
|
<link rel="stylesheet" href="{{ url_for('static', filename = 'css/bulma.min.css') }}" rel="stylesheet" type="text/css">
|
||||||
|
<link rel="stylesheet" href="{{ url_for('static', filename = 'css/base.css') }}" rel="stylesheet" type="text/css">
|
||||||
<script src="{{ url_for('static', filename = 'js/base.js') }}"></script>
|
<script src="{{ url_for('static', filename = 'js/base.js') }}"></script>
|
||||||
<script src="https://kit.fontawesome.com/6bc4cd9a8e.js" crossorigin="anonymous"></script>
|
<script src="https://kit.fontawesome.com/6bc4cd9a8e.js" crossorigin="anonymous"></script>
|
||||||
</head>
|
</head>
|
||||||
@@ -70,11 +71,9 @@
|
|||||||
{% with messages = get_flashed_messages(with_categories=true) %}
|
{% with messages = get_flashed_messages(with_categories=true) %}
|
||||||
{% if messages %}
|
{% if messages %}
|
||||||
{% for category, text in messages%}
|
{% for category, text in messages%}
|
||||||
<div class='column is-3 is-offset-9'>
|
<div class="notification is-light {{ category }}">
|
||||||
<div class="notification is-light {{ category }}">
|
<button class="delete"></button>
|
||||||
<button class="delete"></button>
|
{{ text }}
|
||||||
{{ text }}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user