code cleanup

This commit is contained in:
Alicja Cięciwa
2020-11-13 17:43:06 +01:00
parent 8512818192
commit 68337fcf66
11 changed files with 14 additions and 75 deletions

View File

@@ -59,7 +59,14 @@
</nav>
</header>
</div>
<div class = "container">
<div class="row">
{% if user.is_authenticated %}
Zalogowany: {{ user.username }} &nbsp;
<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">
&copy; 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>

View File

@@ -4,13 +4,6 @@
{% load crispy_forms_tags %}
<div class="container">
<div class="row">
{% if user.is_authenticated %}
Zalogowany: {{ user.username }} &nbsp;
<p><a href="{% url 'login' %}">Wyloguj</a></p> <br>
{% endif %}
</div>
<!-- form to input working hours-->
<div class="row">
<div class="form-hours">