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:
src/accounting
static
css
templates
@ -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" %}
|
||||
|
Reference in New Issue
Block a user