Introduce tabs in the invoice list
This commit is contained in:
parent
d0455fbafb
commit
246292135d
1 changed files with 77 additions and 63 deletions
|
@ -2,7 +2,15 @@
|
||||||
{% load staticfiles bootstrap3 humanize i18n custom_tags %}
|
{% load staticfiles bootstrap3 humanize i18n custom_tags %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="dashboard-container">
|
<div class="container">
|
||||||
|
<ul class="nav nav-tabs">
|
||||||
|
<li class="active"><a data-toggle="tab" href="#recurring">{% trans "Recurring" %}</a></li>
|
||||||
|
<li><a data-toggle="tab" href="#one_off">{% trans "One-off payments" %}</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<div class="tab-content">
|
||||||
|
<div id="recurring" class="tab-pane fade in active">
|
||||||
|
<div class="dashboard-container">
|
||||||
<div class="dashboard-container-head">
|
<div class="dashboard-container-head">
|
||||||
<h3 class="dashboard-title-thin"><img src="{% static 'hosting/img/shopping-cart.svg' %}" class="un-icon" style="margin-top: -4px; width: 30px;"> {% trans "My Bills" %}</h3>
|
<h3 class="dashboard-title-thin"><img src="{% static 'hosting/img/shopping-cart.svg' %}" class="un-icon" style="margin-top: -4px; width: 30px;"> {% trans "My Bills" %}</h3>
|
||||||
{% if messages %}
|
{% if messages %}
|
||||||
|
@ -33,7 +41,7 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
{% if invs.has_other_pages %}
|
{% if invs.has_other_pages %}
|
||||||
<ul class="pagination">
|
<ul class="pagination">
|
||||||
{% if invs.has_previous %}
|
{% if invs.has_previous %}
|
||||||
{% if user_email %}
|
{% if user_email %}
|
||||||
|
@ -65,7 +73,13 @@
|
||||||
<li class="disabled"><span>»</span></li>
|
<li class="disabled"><span>»</span></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="one_off" class="tab-pane fade">
|
||||||
|
<h3>One-off payments</h3>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Add table
Reference in a new issue