update view

This commit is contained in:
Robert Einsle 2017-02-04 12:30:01 +01:00
parent 1a2eb98d20
commit 7d4886abe2
3 changed files with 4 additions and 9 deletions

View File

@ -1,6 +1,3 @@
body {
padding-top: 50px;
}
.starter-template {
padding: 40px 15px;
}

View File

@ -39,10 +39,8 @@
</nav>
<div class="container">
<div class="starter-template">
{% block content %}
{% endblock %}
</div>
</div><!-- /.container -->
<script src="{% static 'billard/js/jquery-1.12.4.min.js' %}"></script>
<script src="{% static 'billard/js/bootstrap.min.js' %}"></script>

View File

@ -23,8 +23,8 @@
<table class="table">
{% for acc in cli.accounting_1 %}
<tr>
<td>{{ acc.time_from }}</td>
<td>{% if acc.time_to is not None %}{{ acc.time_to }}{% endif %}</td>
<td>{{ acc.time_from|date:"d.m.Y H:i:s" }}</td>
<td>{% if acc.time_to is not None %}{{ acc.time_to|date:"d.m.Y H:i:s" }}{% endif %}</td>
<td>{% if acc.prize is not None %}{{ acc.prize }}{% endif %}</td>
</tr>
{% endfor %}
@ -41,8 +41,8 @@
<table class="table">
{% for acc in cli.accounting_2 %}
<tr>
<td>{{ acc.time_from }}</td>
<td>{% if acc.time_to is not None %}{{ acc.time_to }}{% endif %}</td>
<td>{{ acc.time_from|date:"d.m.Y H:i:s" }}</td>
<td>{% if acc.time_to is not None %}{{ acc.time_to|date:"d.m.Y H:i:s" }}{% endif %}</td>
<td>{% if acc.prize is not None %}{{ acc.prize }}{% endif %}</td>
</tr>
{% endfor %}