update view
This commit is contained in:
parent
1a2eb98d20
commit
7d4886abe2
@ -1,6 +1,3 @@
|
|||||||
body {
|
body {
|
||||||
padding-top: 50px;
|
padding-top: 50px;
|
||||||
}
|
}
|
||||||
.starter-template {
|
|
||||||
padding: 40px 15px;
|
|
||||||
}
|
|
||||||
|
@ -39,10 +39,8 @@
|
|||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="starter-template">
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</div>
|
|
||||||
</div><!-- /.container -->
|
</div><!-- /.container -->
|
||||||
<script src="{% static 'billard/js/jquery-1.12.4.min.js' %}"></script>
|
<script src="{% static 'billard/js/jquery-1.12.4.min.js' %}"></script>
|
||||||
<script src="{% static 'billard/js/bootstrap.min.js' %}"></script>
|
<script src="{% static 'billard/js/bootstrap.min.js' %}"></script>
|
||||||
|
@ -23,8 +23,8 @@
|
|||||||
<table class="table">
|
<table class="table">
|
||||||
{% for acc in cli.accounting_1 %}
|
{% for acc in cli.accounting_1 %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ acc.time_from }}</td>
|
<td>{{ acc.time_from|date:"d.m.Y H:i:s" }}</td>
|
||||||
<td>{% if acc.time_to is not None %}{{ acc.time_to }}{% endif %}</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>
|
<td>{% if acc.prize is not None %}{{ acc.prize }}{% endif %}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
@ -41,8 +41,8 @@
|
|||||||
<table class="table">
|
<table class="table">
|
||||||
{% for acc in cli.accounting_2 %}
|
{% for acc in cli.accounting_2 %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ acc.time_from }}</td>
|
<td>{{ acc.time_from|date:"d.m.Y H:i:s" }}</td>
|
||||||
<td>{% if acc.time_to is not None %}{{ acc.time_to }}{% endif %}</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>
|
<td>{% if acc.prize is not None %}{{ acc.prize }}{% endif %}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user