mirror of
https://github.com/Llloooggg/WhereToGo.git
synced 2026-03-06 04:36:22 +03:00
Отображаемые шаблоны приведены к bootstrap-виду
This commit is contained in:
@@ -6,11 +6,13 @@
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<title>WhereToGo</title>
|
||||
<title>{% block head_title %}{% endblock %}</title>
|
||||
<link rel="icon" type="image/x-icon" href="{% static 'img/favicon.ico' %}">
|
||||
<link rel="stylesheet" href="{% static 'css/bootstrap.min.css' %}">
|
||||
<script type = "text/javascript" src="{% static 'js/bootstrap.bundle.min.js' %}"></script>
|
||||
{% csrf_token %}
|
||||
{% block extra_head %}
|
||||
{% endblock %}
|
||||
</head>
|
||||
|
||||
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
|
||||
@@ -48,6 +50,17 @@
|
||||
|
||||
<body>
|
||||
|
||||
{% if messages %}
|
||||
{% for message in messages %}
|
||||
<div class="alert {{ message.tags }} alert-dismissible shadow fade show" role="alert">
|
||||
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
{{ message | safe }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% block content %}{% endblock %}
|
||||
|
||||
{% block scripts %}{% endblock %}
|
||||
|
||||
@@ -1 +1,3 @@
|
||||
{% extends "common/base.html" %}
|
||||
{% extends "common/base.html" %}
|
||||
|
||||
{% block head_title %}WhereToGo{% endblock %}
|
||||
Reference in New Issue
Block a user