From e615ad26903f7b33ce3a735d6116b42d60090fa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Tue, 21 Mar 2023 23:07:05 +0800 Subject: [PATCH] Revised the style of the toolbar buttons for better layout on mobile devices. Hid the "Back" button on mobile devices for better layout and saving spaces. --- .../templates/accounting/account/detail.html | 10 +++++----- .../templates/accounting/account/include/form.html | 2 +- .../templates/accounting/account/order.html | 2 +- .../templates/accounting/base-account/detail.html | 2 +- .../templates/accounting/currency/detail.html | 8 ++++---- .../templates/accounting/currency/include/form.html | 2 +- .../journal-entry/disbursement/detail.html | 2 +- .../accounting/journal-entry/include/detail.html | 12 ++++++------ .../accounting/journal-entry/include/form.html | 4 ++-- .../templates/accounting/journal-entry/order.html | 2 +- .../accounting/journal-entry/receipt/detail.html | 2 +- 11 files changed, 24 insertions(+), 24 deletions(-) diff --git a/src/accounting/templates/accounting/account/detail.html b/src/accounting/templates/accounting/account/detail.html index 44ae963..a2bf09f 100644 --- a/src/accounting/templates/accounting/account/detail.html +++ b/src/accounting/templates/accounting/account/detail.html @@ -25,25 +25,25 @@ First written: 2023/1/31 {% block content %} -
- +
+ {{ A_("Back") }} {% if accounting_can_edit() %} - {{ A_("Settings") }} + {{ A_("Settings") }} {% endif %} - {{ A_("Order") }} + {{ A_("Order") }} {% if accounting_can_edit() %} {% endif %}
diff --git a/src/accounting/templates/accounting/account/include/form.html b/src/accounting/templates/accounting/account/include/form.html index f4564f7..474dfb7 100644 --- a/src/accounting/templates/accounting/account/include/form.html +++ b/src/accounting/templates/accounting/account/include/form.html @@ -27,7 +27,7 @@ First written: 2023/2/1 {% block content %} -
+
{{ A_("Back") }} diff --git a/src/accounting/templates/accounting/account/order.html b/src/accounting/templates/accounting/account/order.html index 0748c49..536a0ce 100644 --- a/src/accounting/templates/accounting/account/order.html +++ b/src/accounting/templates/accounting/account/order.html @@ -30,7 +30,7 @@ First written: 2023/2/2 {% block content %} -
+
{{ A_("Back") }} diff --git a/src/accounting/templates/accounting/base-account/detail.html b/src/accounting/templates/accounting/base-account/detail.html index d2d66b5..90341c9 100644 --- a/src/accounting/templates/accounting/base-account/detail.html +++ b/src/accounting/templates/accounting/base-account/detail.html @@ -25,7 +25,7 @@ First written: 2023/2/1 {% block content %} -
+
{{ A_("Back") }} diff --git a/src/accounting/templates/accounting/currency/detail.html b/src/accounting/templates/accounting/currency/detail.html index 3817562..1daf751 100644 --- a/src/accounting/templates/accounting/currency/detail.html +++ b/src/accounting/templates/accounting/currency/detail.html @@ -25,21 +25,21 @@ First written: 2023/2/6 {% block content %} -
- +
+ {{ A_("Back") }} {% if accounting_can_edit() %} - {{ A_("Settings") }} + {{ A_("Settings") }} {% endif %} {% if accounting_can_edit() %} {% endif %}
diff --git a/src/accounting/templates/accounting/currency/include/form.html b/src/accounting/templates/accounting/currency/include/form.html index b5fd8e8..75675e4 100644 --- a/src/accounting/templates/accounting/currency/include/form.html +++ b/src/accounting/templates/accounting/currency/include/form.html @@ -27,7 +27,7 @@ First written: 2023/2/6 {% block content %} -
+
{{ A_("Back") }} diff --git a/src/accounting/templates/accounting/journal-entry/disbursement/detail.html b/src/accounting/templates/accounting/journal-entry/disbursement/detail.html index 6c4af32..d0e351e 100644 --- a/src/accounting/templates/accounting/journal-entry/disbursement/detail.html +++ b/src/accounting/templates/accounting/journal-entry/disbursement/detail.html @@ -24,7 +24,7 @@ First written: 2023/2/26 {% block as_trasfer %} - {{ A_("As Transfer") }} + {{ A_("As Transfer") }} {% endblock %} diff --git a/src/accounting/templates/accounting/journal-entry/include/detail.html b/src/accounting/templates/accounting/journal-entry/include/detail.html index c5a409d..79c297d 100644 --- a/src/accounting/templates/accounting/journal-entry/include/detail.html +++ b/src/accounting/templates/accounting/journal-entry/include/detail.html @@ -25,32 +25,32 @@ First written: 2023/2/26 {% block content %} -
- +
+ {{ A_("Back") }} {% if accounting_can_edit() %} - {{ A_("Settings") }} + {{ A_("Settings") }} {% endif %} - {{ A_("Order") }} + {{ A_("Order") }} {% if accounting_can_edit() %} {% block as_trasfer %}{% endblock %} {% if obj.can_delete %} {% else %} {% endif %} {% endif %} diff --git a/src/accounting/templates/accounting/journal-entry/include/form.html b/src/accounting/templates/accounting/journal-entry/include/form.html index 6972724..51b49f7 100644 --- a/src/accounting/templates/accounting/journal-entry/include/form.html +++ b/src/accounting/templates/accounting/journal-entry/include/form.html @@ -32,10 +32,10 @@ First written: 2023/2/26 {% block content %} -
+ diff --git a/src/accounting/templates/accounting/journal-entry/order.html b/src/accounting/templates/accounting/journal-entry/order.html index 736ce13..b4b08f4 100644 --- a/src/accounting/templates/accounting/journal-entry/order.html +++ b/src/accounting/templates/accounting/journal-entry/order.html @@ -30,7 +30,7 @@ First written: 2023/2/26 {% block content %} -