Replaced the separated toolbar for the desktop and mobile screen with the accounting-toolbar class that acts differently on different screen sizes.

This commit is contained in:
2023-03-09 14:14:47 +08:00
parent 3582d960ca
commit 8819eabcd0
9 changed files with 111 additions and 161 deletions

@ -30,10 +30,8 @@ First written: 2023/3/5
{% block content %}
<div class="btn-group mb-2 d-none d-md-inline-flex">
{% with use_add_new = true,
use_report_chooser = true,
use_currency_chooser = true,
<div class="mb-3 accounting-toolbar">
{% with use_currency_chooser = true,
use_account_chooser = true,
use_period_chooser = true %}
{% include "accounting/report/include/toolbar-buttons.html" %}
@ -42,15 +40,6 @@ First written: 2023/3/5
{% include "accounting/report/include/add-txn-material-fab.html" %}
<div class="mb-3 d-md-none accounting-mobile-toolbar">
{% with use_report_chooser = true,
use_currency_chooser = true,
use_account_chooser = true,
use_period_chooser = true %}
{% include "accounting/report/include/toolbar-buttons.html" %}
{% endwith %}
</div>
{% include "accounting/report/include/period-chooser.html" %}
{% include "accounting/report/include/search-modal.html" %}