Fix footer

This commit is contained in:
itqop 2024-03-17 20:09:22 +03:00
parent c5602f7f4e
commit 8e61411166
2 changed files with 24 additions and 2 deletions

View File

@ -0,0 +1,13 @@
html, body {
height: 100%;
margin: 0;
padding: 0;
}
.wrapper {
min-height: 100%;
display: flex;
flex-direction: column;
}
.content {
flex: 1;
}

View File

@ -33,7 +33,7 @@
{% endblock %} {% endblock %}
</head> </head>
<body class="{% block body_class %}{% endblock %}"> <body class="{% block body_class %}{% endblock %} wrapper">
{% wagtailuserbar %} {% wagtailuserbar %}
@ -87,7 +87,16 @@
</div> </div>
</div> </div>
</footer> </footer>
<div class="alert text-center py-3 border-0 rounded-0 m-0 position-fixed fixed-bottom icms-cookiealert" id="icms-cookiealert">
<div class="container">
Используя этот сайт, вы соглашаетесь с тем, что мы используем файлы cookie.
<button type="button" class="ml-2 btn btn-primary btn-sm acceptcookies">
Согласен
</button>
</div>
</div>
{# Global javascript #} {# Global javascript #}
<script type="text/javascript" src="{% static 'js/rumine.js' %}"></script> <script type="text/javascript" src="{% static 'js/rumine.js' %}"></script>