code cleanup
This commit is contained in:
@@ -59,7 +59,14 @@
|
||||
</nav>
|
||||
</header>
|
||||
</div>
|
||||
|
||||
<div class = "container">
|
||||
<div class="row">
|
||||
{% if user.is_authenticated %}
|
||||
Zalogowany: {{ user.username }}
|
||||
<p><a href="{% url 'login' %}">Wyloguj</a></p> <br>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="row">
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
@@ -68,9 +75,8 @@
|
||||
<footer><p class="mt-5 mb-3 text-muted">
|
||||
© Alicja Cięciwa</p></footer>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx" crossorigin="anonymous"></script>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user