diff options
Diffstat (limited to 'ishtar_common/templates')
-rw-r--r-- | ishtar_common/templates/ishtar/merge.html | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/ishtar_common/templates/ishtar/merge.html b/ishtar_common/templates/ishtar/merge.html index a0bd0dcfd..7f46231f1 100644 --- a/ishtar_common/templates/ishtar/merge.html +++ b/ishtar_common/templates/ishtar/merge.html @@ -3,14 +3,26 @@ {% block content %} <h2>{% trans "Merge" %}</h2> <div class='form container'> -<p class='alert'><i class="fa fa-exclamation-triangle" aria-hidden="true"></i> <label>{%trans "Every operation on this form is irreversible"%}</label></p> - <p>{% if previous_page %}<a href='{% url current_url 1 %}'>↞</a><a href='{% url current_url previous_page %}'>←</a>{% else %} {% endif %} - {% trans "Page " %}{{current_page}}/{{max_page}} -{% if next_page %}<a href='{% url current_url next_page %}'>→</a><a href='{% url current_url max_page %}'>↠</a>{% else %} {% endif %} </p> +<div class='alert alert-warning'> + <i class="fa fa-exclamation-triangle" + aria-hidden="true"></i> + <label>{%trans "Every operation on this form is irreversible"%}</label> +</div> +<div class="text-center mb-3"> + <div class="btn-group" role="group"> + {% if previous_page %}<a href='{% url current_url 1 %}' class="btn btn-secondary">↞</a><a href='{% url current_url previous_page %}' class="btn btn-secondary">←</a> + {% else %}<a href="#" class="btn btn-secondary disabled" disabled="disabled">↞</a><a href='#' class="btn btn-secondary disabled" disabled="disabled">←</a> + {% endif %} + <span class="btn btn-light disabled">{% trans "Page " %}{{current_page}}/{{max_page}}</span> + {% if next_page %}<a href='{% url current_url next_page %}' class="btn btn-secondary">→</a><a href='{% url current_url max_page %}' class="btn btn-secondary">↠</a> + {% else %}<a href="#" class="btn btn-secondary disabled" disabled="disabled">→</a><a href='#' class="btn btn-secondary disabled" disabled="disabled">↠</a> + {% endif %} + </div> +</div> <form action="." method="post">{% csrf_token %} {{formset.management_form}} {% for form in formset %}{% for hidden_field in form.hidden_fields %}{{hidden_field}}{% endfor %}{% endfor %} - <table id='merge-table'> + <table id='merge-table' class="table table-striped"> <thead> <tr> <th colspan='2'>{% trans "Item A" %}</th> |