update view
This commit is contained in:
parent
1a2eb98d20
commit
7d4886abe2
@ -1,6 +1,3 @@
|
||||
body {
|
||||
padding-top: 50px;
|
||||
}
|
||||
.starter-template {
|
||||
padding: 40px 15px;
|
||||
}
|
||||
|
@ -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>
|
||||
|
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user