From 75cd34f5ddf32fe3da086009e081570e1c1b38f8 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO <yohann.danello@gmail.com> Date: Sat, 15 Aug 2020 20:04:19 +0200 Subject: [PATCH] Enlarge buttons table and transactions table --- .../templates/member/noteowner_detail.html | 21 +++++++++++-------- .../templates/note/search_transactions.html | 3 +++ .../note/transactiontemplate_list.html | 2 +- 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/apps/member/templates/member/noteowner_detail.html b/apps/member/templates/member/noteowner_detail.html index 93ba19ef..d97f723a 100644 --- a/apps/member/templates/member/noteowner_detail.html +++ b/apps/member/templates/member/noteowner_detail.html @@ -5,16 +5,19 @@ {% load pretty_money %} {% block content %} -<div class="row mt-4"> - <div class="col-xl-4"> - {% block profile_info %} - {% endblock %} + <div class="row mt-4"> + <div class="col-xl-4"> + {% block profile_info %} + {% endblock %} + </div> + <div class="col-xl-8"> + {% block profile_content %} + {% endblock %} + </div> </div> - <div class="col-xl-8"> - {% block profile_content %} - {% endblock %} - </div> -</div> + + {% block extra_content %} + {% endblock %} {% endblock %} {% block extrajavascript %} diff --git a/apps/note/templates/note/search_transactions.html b/apps/note/templates/note/search_transactions.html index 62c45797..2504d5fe 100644 --- a/apps/note/templates/note/search_transactions.html +++ b/apps/note/templates/note/search_transactions.html @@ -20,6 +20,9 @@ {% block profile_content %} {% crispy form %} +{% endblock %} + +{% block extra_content %} <div id="table"> {% render_table table %} </div> diff --git a/apps/note/templates/note/transactiontemplate_list.html b/apps/note/templates/note/transactiontemplate_list.html index ec95313e..91b34728 100644 --- a/apps/note/templates/note/transactiontemplate_list.html +++ b/apps/note/templates/note/transactiontemplate_list.html @@ -11,7 +11,7 @@ </div> </div> <div class="row justify-content-center"> - <div class="col-md-10"> + <div class="col-md-12"> <div class="card card-border shadow"> <div class="card-header text-center"> <h5> {% trans "buttons listing "%}</h5> -- GitLab