Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Updated views
Sander Dorigo29a190a30368
diff --git a/app/View/Components/Lists/Categories.php b/app/View/Components/Lists/Categories.phpnew file mode 100644index 0000000000..8e299d57d4--- /dev/null+++ b/app/View/Components/Lists/Categories.php@@ -0,0 +1,28 @@+<?php++namespace FireflyIII\View\Components\Lists;++use Closure;+use Illuminate\Contracts\View\View;+use Illuminate\Pagination\LengthAwarePaginator;+use Illuminate\View\Component;++class Categories extends Component+{+ public LengthAwarePaginator $categories;+ /**+ * Create a new component instance.+ */+ public function __construct(LengthAwarePaginator $categories)+ {+ $this->categories = $categories;+ }++ /**+ * Get the view / contents that represent the component.+ */+ public function render(): View|Closure|string+ {+ return view('components.lists.categories');+ }+}diff --git a/resources/assets/v3/js/pages/categories/index.js b/resources/assets/v3/js/pages/categories/index.jsnew file mode 100644index 0000000000..217ae6c5fb--- /dev/null+++ b/resources/assets/v3/js/pages/categories/index.js@@ -0,0 +1,61 @@+/*+ * dashboard.js+ * Copyright (c) 2026 [email protected]+ *+ * This file is part of Firefly III (https://github.com/firefly-iii).+ *+ * This program is free software: you can redistribute it and/or modify+ * it under the terms of the GNU Affero General Public License as+ * published by the Free Software Foundation, either version 3 of the+ * License, or (at your option) any later version.+ *+ * This program is distributed in the hope that it will be useful,+ * but WITHOUT ANY WARRANTY; without even the implied warranty of+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+ * GNU Affero General Public License for more details.+ *+ * You should have received a copy of the GNU Affero General Public License+ * along with this program. If not, see <https://www.gnu.org/licenses/>.+ */++// CSS+import '../../boot/bootstrap.js';+import sidebar from '../../pages/shared/sidebar.js';+import dates from '../shared/dates.js';++let index = function () {+ return {+ foo2: 'bar2',+ init() {+ console.log('init op index xxx');+ }+ }+};+++const comps = {+ index,+ sidebar,+ dates+};++function loadPage(comps) {+ console.log('loadPage');+ Object.keys(comps).forEach(comp => {+ let data = comps[comp]();+ Alpine.data(comp, () => data);+ console.log(comp);+ });+ Alpine.start();+}++// wait for load until bootstrapped event is received.+document.addEventListener('firefly-iii-bootstrapped', () => {+ console.log('Loaded through event listener.');+ loadPage(comps);+});+// or is bootstrapped before event is triggered.+if (window.bootstrapped) {+ console.log('Loaded through window variable.');+ loadPage(comps);+}diff --git a/resources/assets/v3/js/pages/object-groups/index.js b/resources/assets/v3/js/pages/object-groups/index.jsnew file mode 100644index 0000000000..217ae6c5fb--- /dev/null+++ b/resources/assets/v3/js/pages/object-groups/index.js@@ -0,0 +1,61 @@+/*+ * dashboard.js+ * Copyright (c) 2026 [email protected]+ *+ * This file is part of Firefly III (https://github.com/firefly-iii).+ *+ * This program is free software: you can redistribute it and/or modify+ * it under the terms of the GNU Affero General Public License as+ * published by the Free Software Foundation, either version 3 of the+ * License, or (at your option) any later version.+ *+ * This program is distributed in the hope that it will be useful,+ * but WITHOUT ANY WARRANTY; without even the implied warranty of+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+ * GNU Affero General Public License for more details.+ *+ * You should have received a copy of the GNU Affero General Public License+ * along with this program. If not, see <https://www.gnu.org/licenses/>.+ */++// CSS+import '../../boot/bootstrap.js';+import sidebar from '../../pages/shared/sidebar.js';+import dates from '../shared/dates.js';++let index = function () {+ return {+ foo2: 'bar2',+ init() {+ console.log('init op index xxx');+ }+ }+};+++const comps = {+ index,+ sidebar,+ dates+};++function loadPage(comps) {+ console.log('loadPage');+ Object.keys(comps).forEach(comp => {+ let data = comps[comp]();+ Alpine.data(comp, () => data);+ console.log(comp);+ });+ Alpine.start();+}++// wait for load until bootstrapped event is received.+document.addEventListener('firefly-iii-bootstrapped', () => {+ console.log('Loaded through event listener.');+ loadPage(comps);+});+// or is bootstrapped before event is triggered.+if (window.bootstrapped) {+ console.log('Loaded through window variable.');+ loadPage(comps);+}diff --git a/resources/assets/v3/js/pages/tags/index.js b/resources/assets/v3/js/pages/tags/index.jsnew file mode 100644index 0000000000..217ae6c5fb--- /dev/null+++ b/resources/assets/v3/js/pages/tags/index.js@@ -0,0 +1,61 @@+/*+ * dashboard.js+ * Copyright (c) 2026 [email protected]+ *+ * This file is part of Firefly III (https://github.com/firefly-iii).+ *+ * This program is free software: you can redistribute it and/or modify+ * it under the terms of the GNU Affero General Public License as+ * published by the Free Software Foundation, either version 3 of the+ * License, or (at your option) any later version.+ *+ * This program is distributed in the hope that it will be useful,+ * but WITHOUT ANY WARRANTY; without even the implied warranty of+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+ * GNU Affero General Public License for more details.+ *+ * You should have received a copy of the GNU Affero General Public License+ * along with this program. If not, see <https://www.gnu.org/licenses/>.+ */++// CSS+import '../../boot/bootstrap.js';+import sidebar from '../../pages/shared/sidebar.js';+import dates from '../shared/dates.js';++let index = function () {+ return {+ foo2: 'bar2',+ init() {+ console.log('init op index xxx');+ }+ }+};+++const comps = {+ index,+ sidebar,+ dates+};++function loadPage(comps) {+ console.log('loadPage');+ Object.keys(comps).forEach(comp => {+ let data = comps[comp]();+ Alpine.data(comp, () => data);+ console.log(comp);+ });+ Alpine.start();+}++// wait for load until bootstrapped event is received.+document.addEventListener('firefly-iii-bootstrapped', () => {+ console.log('Loaded through event listener.');+ loadPage(comps);+});+// or is bootstrapped before event is triggered.+if (window.bootstrapped) {+ console.log('Loaded through window variable.');+ loadPage(comps);+}diff --git a/resources/assets/v3/vite.config.js b/resources/assets/v3/vite.config.jsindex 1eba5a17e1..c3ab1d9a5b 100644--- a/resources/assets/v3/vite.config.js+++ b/resources/assets/v3/vite.config.js@@ -50,9 +50,15 @@ export default defineConfig(({command, mode, isSsrBuild, isPreview}) => {// accounts'js/pages/accounts/index.js',+ // categories+ 'js/pages/categories/index.js',+// budgets'js/pages/budgets/index.js',+ // object groups+ 'js/pages/object-groups/index.js',+// rules'js/pages/rules/index.js',@@ -67,6 +73,9 @@ export default defineConfig(({command, mode, isSsrBuild, isPreview}) => {'js/pages/transactions/create.js','js/pages/transactions/edit.js',+ // tags+ 'js/pages/tags/index.js',+// webhooks'js/pages/webhooks/index.js',diff --git a/resources/lang/en_US/firefly.php b/resources/lang/en_US/firefly.phpindex 5fa1a6691b..b69c895b9b 100644--- a/resources/lang/en_US/firefly.php+++ b/resources/lang/en_US/firefly.php@@ -2799,6 +2799,9 @@ return ['no_categories_intro_default' => 'You have no categories yet. Categories are used to fine tune your transactions and label them with their designated category.','no_categories_imperative_default' => 'Categories are created automatically when you create transactions, but you can create one manually too. Let\'s create one now:','no_categories_create_default' => 'Create a category',+ 'no_object-groups_title_default' => 'Object groups',+ 'no_object-groups_intro_default' => 'Some things in Firefly III can be divided into groups. Piggy banks for example, feature a "Group" field in the edit and create screens. When you set this field, you can edit the names and the order of the groups on this page.',+ 'no_object-groups_imperative_default' => 'For more information, check out the help-pages in the top right corner, under the (?)-icon. ','no_tags_title_default' => 'Let\'s create a tag!','no_tags_intro_default' => 'You have no tags yet. Tags are used to fine tune your transactions and label them with specific keywords.','no_tags_imperative_default' => 'Tags are created automatically when you create transactions, but you can create one manually too. Let\'s create one now:',diff --git a/resources/views/accounts/create.twig b/resources/views/accounts/create.twigindex 36ddda0c9a..fcbde7f93c 100644--- a/resources/views/accounts/create.twig+++ b/resources/views/accounts/create.twig@@ -21,7 +21,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'mandatoryFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.text('name') }}{% if objectType == 'asset' or objectType == 'liabilities' %}{{ CurrencyForm.currencyList('currency_id', null, {helpText:'account_default_currency'|_}) }}@@ -39,11 +39,11 @@</div><div class="col-lg-6 col-md-6 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'optionalFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.text('iban') }}{{ ExpandedForm.text('BIC', null, {maxlength: 11}) }}@@ -68,11 +68,11 @@</div><div class="row"><div class="col-lg-6 col-md-6 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'options'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.optionsList('create','account') }}</div><div class="box-footer">diff --git a/resources/views/accounts/delete.twig b/resources/views/accounts/delete.twigindex 29789e35de..1e22bf1758 100644--- a/resources/views/accounts/delete.twig+++ b/resources/views/accounts/delete.twig@@ -15,7 +15,7 @@<div class="box-header with-border"><h3 class="box-title">{{ trans('form.delete_account', {'name': account.name}) }}</h3></div>- <div class="box-body">+ <div class="card-body"><p class="text-danger">{{ trans('form.permDeleteWarning') }}</p>diff --git a/resources/views/accounts/edit.twig b/resources/views/accounts/edit.twigindex d8a9b5226f..1bcef51af8 100644--- a/resources/views/accounts/edit.twig+++ b/resources/views/accounts/edit.twig@@ -25,7 +25,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'mandatoryFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.text('name', account.name) }}{% if canEditCurrency and (account.accountType.type == 'Default account' or account.accountType.type == 'Asset account' or objectType == 'liabilities') %}{{ CurrencyForm.currencyList('currency_id', null, {helpText:'account_default_currency'|_}) }}@@ -48,11 +48,11 @@</div><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'optionalFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.text('iban', account.iban) }}{{ ExpandedForm.text('BIC', null, {maxlength: 11}) }}{% if preFilled.account_role == 'ccAsset' %}@@ -85,11 +85,11 @@{# panel for credit card options #}{% if preFilled.account_role == 'ccAsset' %}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'credit_card_options'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.select('cc_type',Config.get('firefly.ccTypes')) }}{{ ExpandedForm.date('cc_monthly_payment_date',null,{'helpText' : trans('firefly.cc_monthly_payment_date_help')}) }}</div>@@ -100,11 +100,11 @@<div class="row"><div class="col-lg-6 col-md-6 col-sm-12">{# panel for options #}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'options'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.optionsList('update','account') }}</div><div class="box-footer">diff --git a/resources/views/accounts/reconcile/index.twig b/resources/views/accounts/reconcile/index.twigindex b76e740434..a6cfa45e23 100644--- a/resources/views/accounts/reconcile/index.twig+++ b/resources/views/accounts/reconcile/index.twig@@ -8,7 +8,7 @@<div class="row"><div class="col-lg-9 col-md-12 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'reconcile_range'|_ }}</h3></div>@@ -90,11 +90,11 @@</div></div><div class="col-lg-3 col-md-12 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'reconcile_options'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><p class="lead" id="difference"></p><div class="btn-group">@@ -108,11 +108,11 @@<div class="row"><div class="col-lg-12 col-md-12 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'transactions'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div id="transactions_holder"><p class="text-center lead">{{ 'select_range_and_balance'|_ }}</p></div>diff --git a/resources/views/accounts/reconcile/show.twig b/resources/views/accounts/reconcile/show.twigindex a5ac63b114..65edec2424 100644--- a/resources/views/accounts/reconcile/show.twig+++ b/resources/views/accounts/reconcile/show.twig@@ -7,7 +7,7 @@{% block content %}<div class="row"><div class="col-lg-6 col-md-6 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'transaction_journal_information'|_ }}</h3>@@ -62,7 +62,7 @@</div><div class="col-lg-6 col-md-6 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'transaction_journal_meta'|_ }}</h3></div>diff --git a/resources/views/accounts/reconcile/transactions.twig b/resources/views/accounts/reconcile/transactions.twigindex 188384f85c..01e3680b9e 100644--- a/resources/views/accounts/reconcile/transactions.twig+++ b/resources/views/accounts/reconcile/transactions.twig@@ -1,4 +1,4 @@-<table class="table table-striped table-condensed">+<table class="table table-striped table-sm"><thead><tr class="ignore"><th class="hidden-xs" colspan="2"> </th>diff --git a/resources/views/accounts/show.twig b/resources/views/accounts/show.twigindex 4f9744ebd9..fa17e6848d 100644--- a/resources/views/accounts/show.twig+++ b/resources/views/accounts/show.twig@@ -8,7 +8,7 @@<div class="row"><div class="{% if attachments.count() == 0 %}col-lg-12 col-md-12 col-sm-12 col-xs-12{% else %}col-lg-8 col-md-6 col-sm-12 col-xs-12{% endif %}">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{% if balances.balance %}@@ -41,7 +41,7 @@</div></div></div>- <div class="box-body">+ <div class="card-body"><div><canvas id="overview-chart" class="wide-chart" height="400" width="100%"></canvas></div>@@ -50,7 +50,7 @@</div>{% if attachments.count() > 0 %}<div class="col-lg-4 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'attachments'|_ }}@@ -66,11 +66,11 @@{% if not showAll and isLiability %}<div class="row"><div class="col-lg-4 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">pay-off by date</h3></div>- <div class="box-body">+ <div class="card-body">Content</div></div>@@ -80,11 +80,11 @@{% if not showAll and not isLiability %}<div class="row"><div class="col-lg-4 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'expenses_by_category'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div class="center-chart"><canvas id="account-cat-out" class="medium-chart" height="250"></canvas></div>@@ -92,11 +92,11 @@</div></div><div class="col-lg-4 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'expenses_by_budget'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div class="center-chart"><canvas id="account-budget-out" class="medium-chart" height="250"></canvas></div>@@ -104,11 +104,11 @@</div></div><div class="col-lg-4 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'income_by_category'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div class="center-chart"><canvas id="account-cat-in" class="medium-chart" height="250"></canvas></div>@@ -121,11 +121,11 @@<div class="row">{% if(location) %}<div class="col-lg-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'location'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div id="location_map" class="map-size"></div></div></div>@@ -133,11 +133,11 @@{% endif %}{% if account.notes.count() == 1 %}<div class="col-lg-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'notes'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ account.notes.first().text|markdown }}</div></div>@@ -147,7 +147,7 @@<div class="row"><div class="{% if periods|length > 0 %}col-lg-10 col-md-8 col-sm-12{% else %}col-lg-12 col-md-12 col-sm-12{% endif %}">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'transactions'|_ }}{% if balances.balance %}@@ -157,7 +157,7 @@{% endif %}</h3></div>- <div class="box-body">+ <div class="card-body">{% if account.accountType.type == 'Asset account' %}{% set showReconcile = true %}{% else %}diff --git a/resources/views/attachments/delete.twig b/resources/views/attachments/delete.twigindex d7a790bcda..1debdeeb52 100644--- a/resources/views/attachments/delete.twig+++ b/resources/views/attachments/delete.twig@@ -14,7 +14,7 @@<div class="box-header with-border"><h3 class="box-title">{{ trans('form.delete_attachment', {'name': attachment.filename}) }}</h3></div>- <div class="box-body">+ <div class="card-body"><p class="text-danger">{{ trans('form.permDeleteWarning') }}</p>diff --git a/resources/views/attachments/edit.twig b/resources/views/attachments/edit.twigindex 2a8a45c7e1..21344375d2 100644--- a/resources/views/attachments/edit.twig+++ b/resources/views/attachments/edit.twig@@ -18,7 +18,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'mandatoryFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.staticText('filename',attachment.filename|escape) }}{{ ExpandedForm.staticText('mime',attachment.mime|escape) }}{{ ExpandedForm.staticText('size',attachment.size|filesize) }}@@ -27,11 +27,11 @@</div><div class="col-lg-6 col-md-6 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'optionalFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.text('title', attachment.title) }}{{ ExpandedForm.textarea('notes',null,{helpText: trans('firefly.field_supports_markdown')}) }}</div>@@ -42,11 +42,11 @@<div class="row"><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">{# panel for options #}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'options'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.optionsList('update','attachment') }}</div><div class="box-footer">diff --git a/resources/views/attachments/index.twig b/resources/views/attachments/index.twigindex a54544b1c7..9739443bc0 100644--- a/resources/views/attachments/index.twig+++ b/resources/views/attachments/index.twig@@ -7,7 +7,7 @@{% block content %}<div class="row"><div class="col-lg-12 col-md-12 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'list_all_attachments'|_ }}diff --git a/resources/views/bills/create.twig b/resources/views/bills/create.twigindex 46342c9120..27d6d9b475 100644--- a/resources/views/bills/create.twig+++ b/resources/views/bills/create.twig@@ -15,7 +15,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'mandatoryFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.text('name') }}{{ CurrencyForm.currencyList('transaction_currency_id', primaryCurrency.id) }}{{ ExpandedForm.amountNoCurrency('amount_min') }}@@ -28,11 +28,11 @@</div><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'optionalFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.date('bill_end_date',null, {'helpText': trans('firefly.bill_end_date_help')}) }}{{ ExpandedForm.date('extension_date',null,{'helpText': trans('firefly.bill_extension_date_help')} ) }}@@ -47,11 +47,11 @@<div class="row"><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">{# panel for options #}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'options'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.optionsList('create','bill') }}</div><div class="box-footer">diff --git a/resources/views/bills/delete.twig b/resources/views/bills/delete.twigindex b0a59c8079..62cec6d102 100644--- a/resources/views/bills/delete.twig+++ b/resources/views/bills/delete.twig@@ -14,7 +14,7 @@<div class="box-header with-border"><h3 class="box-title">{{ trans('form.delete_bill', {'name': bill.name}) }}</h3></div>- <div class="box-body">+ <div class="card-body"><p class="text-danger">{{ trans('form.permDeleteWarning') }}</p>diff --git a/resources/views/bills/edit.twig b/resources/views/bills/edit.twigindex 9e2c3e33a5..5e22708460 100644--- a/resources/views/bills/edit.twig+++ b/resources/views/bills/edit.twig@@ -17,7 +17,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'mandatoryFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{% if rules.count() > 0 %}{{ ExpandedForm.text('name', bill.name, {helpText: trans_choice('firefly.bill_edit_rules', rules.count())}) }}{% else %}@@ -35,11 +35,11 @@</div><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'optionalFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.date('bill_end_date',null, {'helpText': trans('firefly.bill_end_date_help')}) }}{{ ExpandedForm.date('extension_date',null,{'helpText': trans('firefly.bill_extension_date_help')} ) }}@@ -55,11 +55,11 @@</div><div class="row"><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'options'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.optionsList('update','bill') }}</div><div class="box-footer">diff --git a/resources/views/bills/show.twig b/resources/views/bills/show.twigindex b5184ddf2c..6700a701b6 100644--- a/resources/views/bills/show.twig+++ b/resources/views/bills/show.twig@@ -23,7 +23,7 @@</div></div>- <div class="box-body">+ <div class="card-body"><table class="table table-striped"><tr><td colspan="2">@@ -100,11 +100,11 @@</div></div><div class="col-lg-6 col-sm-12 col-md-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'bill_related_rules'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{% if rules.count() > 0 %}<ul>{% for rule in rules %}@@ -131,11 +131,11 @@</div></div>{% if object.data.notes %}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'notes'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ object.data.notes|default('')|markdown }}</div></div>@@ -143,7 +143,7 @@{% if attachments.count() > 0 %}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'attachments'|_ }}</h3></div>@@ -161,7 +161,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'chart'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><canvas id="bill-overview" class="wide-chart" height="400" width="100%"></canvas></div></div>@@ -170,11 +170,11 @@<div class="row"><div class="col-lg-12 col-sm-12 col-md-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'connected_journals'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{% include 'list.groups' %}</div></div>diff --git a/resources/views/budgets/create.twig b/resources/views/budgets/create.twigindex 576eca9665..9a420fd0a2 100644--- a/resources/views/budgets/create.twig+++ b/resources/views/budgets/create.twig@@ -16,18 +16,18 @@<div class="box-header with-border"><h3 class="box-title">{{ 'mandatoryFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.text('name') }}</div></div></div><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">{# panel for auto-budget #}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'optionalFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.select('auto_budget_type', autoBudgetTypes,null, {helpText: trans('firefly.auto_budget_help')}) }}{{ CurrencyForm.currencyList('auto_budget_currency_id') }}{{ ExpandedForm.amountNoCurrency('auto_budget_amount') }}@@ -40,11 +40,11 @@<div class="row"><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">{# panel for options #}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'options'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.optionsList('create','budget') }}</div><div class="box-footer">diff --git a/resources/views/budgets/delete.twig b/resources/views/budgets/delete.twigindex 36976d17b2..6c419b0f52 100644--- a/resources/views/budgets/delete.twig+++ b/resources/views/budgets/delete.twig@@ -15,7 +15,7 @@<div class="box-header with-border"><h3 class="box-title">{{ trans('form.delete_budget', {'name': budget.name}) }}</h3></div>- <div class="box-body">+ <div class="card-body"><p class="text-danger">{{ trans('form.permDeleteWarning') }}</p>diff --git a/resources/views/budgets/edit.twig b/resources/views/budgets/edit.twigindex 5f78e91ebc..3383a7bc5d 100644--- a/resources/views/budgets/edit.twig+++ b/resources/views/budgets/edit.twig@@ -15,7 +15,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'mandatoryFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{# only correct way to do active checkbox #}{{ ExpandedForm.checkbox('active', 1) }}{{ ExpandedForm.text('name', budget.name) }}@@ -25,11 +25,11 @@</div><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">{# panel for auto-budget #}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'optionalFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.select('auto_budget_type', autoBudgetTypes, autoBudget.auto_budget_type) }}{{ CurrencyForm.currencyList('auto_budget_currency_id', autoBudget.transaction_currency_id) }}{{ ExpandedForm.amountNoCurrency('auto_budget_amount', preFilled.auto_budget_amount) }}@@ -43,11 +43,11 @@<div class="row"><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">{# panel for options #}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'options'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.optionsList('update','budget') }}</div><div class="box-footer">diff --git a/resources/views/budgets/no-budget.twig b/resources/views/budgets/no-budget.twigindex e83d419b35..94b38aa6ba 100644--- a/resources/views/budgets/no-budget.twig+++ b/resources/views/budgets/no-budget.twig@@ -17,7 +17,7 @@<div class="row"><div class="{% if periods|length > 0 %}col-lg-9 col-md-9 col-sm-12{% else %}col-lg-12 col-md-12 col-sm-12{% endif %}">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ subTitle }}</h3></div>diff --git a/resources/views/budgets/show.twig b/resources/views/budgets/show.twigindex 2c18a9193f..06f2132614 100644--- a/resources/views/budgets/show.twig+++ b/resources/views/budgets/show.twig@@ -7,7 +7,7 @@{% block content %}<div class="row"><div class="{% if attachments.count() == 0 %}col-lg-12 col-md-12 col-sm-12 col-xs-12{% else %}col-lg-8 col-md-6 col-sm-12 col-xs-12{% endif %}">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{% if budgetLimit %}@@ -26,7 +26,7 @@</div></div></div>- <div class="box-body">+ <div class="card-body"><canvas id="budgetOverview" class="wide-chart" height="400" width="100%"></canvas></div>{% if budgetLimit %}@@ -40,7 +40,7 @@</div>{% if attachments.count() > 0 %}<div class="col-lg-4 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'attachments'|_ }}@@ -55,11 +55,11 @@</div><div class="row"><div class="col-lg-4 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'expenses_by_category'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div class="center-chart"><canvas id="budget-cat-out" class="medium-chart" height="250"></canvas></div>@@ -74,11 +74,11 @@</div></div><div class="col-lg-4 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'expenses_by_asset_account'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div class="center-chart"><canvas id="budget-asset-out" class="medium-chart" height="250"></canvas></div>@@ -93,11 +93,11 @@</div></div><div class="col-lg-4 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'expenses_by_expense_account'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div class="center-chart"><canvas id="budget-expense-out" class="medium-chart" height="250"></canvas></div>@@ -123,11 +123,11 @@<div class="row"><div class="{% if limits|length > 0 %}col-lg-9 col-md-9 col-sm-12 col-xs-12{% else %}col-lg-12 col-md-12 col-sm-12 col-xs-12{% endif %}">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'transactions'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{% include 'list.groups' %}{% if budgetLimit %}<p>diff --git a/resources/views/categories/create.twig b/resources/views/categories/create.twigindex 1301ef0f45..97c4f6e1f0 100644--- a/resources/views/categories/create.twig+++ b/resources/views/categories/create.twig@@ -14,18 +14,18 @@<div class="box-header with-border"><h3 class="box-title">{{ 'mandatoryFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.text('name') }}</div></div></div><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">{# panel for optional fields #}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'optionalFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.textarea('notes', null, {helpText: trans('firefly.field_supports_markdown')} ) }}{{ ExpandedForm.file('attachments[]', {'multiple': 'multiple','helpText': trans('firefly.upload_max_file_size', {'size': uploadSize|filesize}) }) }}</div>@@ -35,11 +35,11 @@<div class="row"><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">{# panel for options #}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'options'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.optionsList('create','category') }}</div><div class="box-footer">diff --git a/resources/views/categories/delete.twig b/resources/views/categories/delete.twigindex 1c2a9836b1..088b574ff5 100644--- a/resources/views/categories/delete.twig+++ b/resources/views/categories/delete.twig@@ -14,7 +14,7 @@<div class="box-header with-border"><h3 class="box-title">{{ trans('form.delete_category', {'name': category.name}) }}</h3></div>- <div class="box-body">+ <div class="card-body"><p class="text-danger">{{ trans('form.permDeleteWarning') }}</p>diff --git a/resources/views/categories/edit.twig b/resources/views/categories/edit.twigindex 8d9e7b863a..4dc0c5b9b1 100644--- a/resources/views/categories/edit.twig+++ b/resources/views/categories/edit.twig@@ -18,18 +18,18 @@<div class="box-header with-border"><h3 class="box-title">{{ 'mandatoryFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.text('name', category.name) }}</div></div></div><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">{# panel for optional fields #}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'optionalFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.textarea('notes', preFilled.notes, {helpText: trans('firefly.field_supports_markdown')} ) }}{{ ExpandedForm.file('attachments[]', {'multiple': 'multiple','helpText': trans('firefly.upload_max_file_size', {'size': uploadSize|filesize}) }) }}</div>@@ -41,11 +41,11 @@{# panel for options #}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'options'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.optionsList('update','category') }}</div><div class="box-footer">diff --git a/resources/views/categories/index.blade.php b/resources/views/categories/index.blade.phpnew file mode 100644index 0000000000..31bfb1581f--- /dev/null+++ b/resources/views/categories/index.blade.php@@ -0,0 +1,34 @@+@extends('layout.v3.session')+@section('content')+ @if(0 === $categories->count() && 1 === $page)+ @php+ $shownDemo = true+ @endphp+ <x-empty-page :route="route('categories.create')" type="categories" object-type="default" />+ @endif+ @if($categories->count() > 0)+ <div class="row">+ <div class="col-lg-12 col-md-12 col-sm-12">+ <div class="card">+ <x-elements.card-header-with-menu :cardTitle="trans('firefly.categories')" :route="route('categories.create')" :linkTitle="__('firefly.new_category')"/>++ <div class="card-body p-0">+ <x-lists.categories :categories="$categories" />+ </div>+ <x-elements.card-footer-with-menu :route="route('categories.create')" :linkTitle="__('firefly.new_category')" />+ </div>++ </div>+ </div>+ @endif+ @endsection++@section('styles')+<link href="v1/css/bootstrap-sortable.css?v={{ $FF_BUILD_TIME }}" type="text/css" rel="stylesheet" media="all" nonce="{{ $JS_NONCE }}">+@endsection++@section('scripts')+ @vite(['js/pages/categories/index.js'])+ <script type="text/javascript" src="v1/js/lib/bootstrap-sortable.js?v={{ $FF_BUILD_TIME }}" nonce="{{ $JS_NONCE }}"></script>+ <script type="text/javascript" src="v1/js/ff/categories/index.js?v={{ $FF_BUILD_TIME }}" nonce="{{ $JS_NONCE }}"></script>+@endsectiondiff --git a/resources/views/categories/index.twig b/resources/views/categories/index.twigdeleted file mode 100644index 2f27a8643b..0000000000--- a/resources/views/categories/index.twig+++ /dev/null@@ -1,49 +0,0 @@-{% extends './layout/default' %}--{% block breadcrumbs %}- {{ Breadcrumbs.render(Route.getCurrentRoute.getName) }}-{% endblock %}--{% block content %}- {% if categories.count() > 0 %}- <div class="row">- <div class="col-lg-12 col-md-12 col-sm-12">- <div class="box">- <div class="box-header with-border">- <h3 class="box-title">{{ 'categories'|_ }}</h3>- <div class="box-tools pull-right">- <div class="btn-group">- <button class="btn btn-box-tool dropdown-toggle" data-toggle="dropdown"><span class="bi bi-list"></span></button>- <ul class="dropdown-menu" role="menu">- <li><a href="{{ route('categories.create') }}"><span class="bi bi-plus-circle"></span> {{ 'new_category'|_ }}</a></li>- </ul>- </div>- </div>-- </div>- <div class="box-body no-padding">- <div class="m-1">- <a class="btn btn-success" href="{{ route('categories.create') }}"><span class="bi bi-plus-circle"></span> {{ 'new_category'|_ }}</a>- </div>- {% include 'list/categories' %}- </div>- <div class="box-footer">- <a class="btn btn-success" href="{{ route('categories.create') }}"><span class="bi bi-plus-circle"></span> {{ 'new_category'|_ }}</a>- </div>- </div>-- </div>- </div>- {% else %}- {% include 'partials.empty' with {objectType: 'default', type: 'categories',route: route('categories.create')} %}- {% endif %}-{% endblock %}--{% block styles %}- <link href="v1/css/bootstrap-sortable.css?v={{ FF_BUILD_TIME }}" type="text/css" rel="stylesheet" media="all" nonce="{{ JS_NONCE }}">-{% endblock %}--{% block scripts %}- <script type="text/javascript" src="v1/js/lib/bootstrap-sortable.js?v={{ FF_BUILD_TIME }}" nonce="{{ JS_NONCE }}"></script>- <script type="text/javascript" src="v1/js/ff/categories/index.js?v={{ FF_BUILD_TIME }}" nonce="{{ JS_NONCE }}"></script>-{% endblock %}diff --git a/resources/views/categories/no-category.twig b/resources/views/categories/no-category.twigindex 38ef9a9bf0..a96ea778d4 100644--- a/resources/views/categories/no-category.twig+++ b/resources/views/categories/no-category.twig@@ -17,7 +17,7 @@<div class="row"><div class="{% if periods|length > 0 %}col-lg-10 col-md-9 col-sm-12 col-xs-12{% else %}col-lg-12 col-md-12 col-sm-12 col-xs-12{% endif %}">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ subTitle }}</h3></div>diff --git a/resources/views/categories/show.twig b/resources/views/categories/show.twigindex 13367a9373..acc0cbce14 100644--- a/resources/views/categories/show.twig+++ b/resources/views/categories/show.twig@@ -9,25 +9,25 @@{% if Route.getCurrentRoute.getName == 'categories.show' %}{# both charts #}<div class="{% if attachments.count() == 0 %}col-lg-6 col-md-12 col-sm-12 col-xs-12{% else %}col-lg-4 col-md-12 col-sm-12 col-xs-12{% endif %}">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ trans('firefly.chart_category_in_period', {name: category.name, start: start.isoFormat(monthAndDayFormat), end: end.isoFormat(monthAndDayFormat) }) }}</h3></div>- <div class="box-body">+ <div class="card-body"><canvas id="specific-period" class="wide-chart" height="400" width="100%"></canvas></div></div></div><div class="{% if attachments.count() == 0 %}col-lg-6 col-md-12 col-sm-12 col-xs-12{% else %}col-lg-4 col-md-12 col-sm-12 col-xs-12{% endif %}">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ trans('firefly.chart_category_all', {name: category.name }) }}</h3></div>- <div class="box-body">+ <div class="card-body"><canvas id="category-everything" class="wide-chart" height="400" width="100%"></canvas></div></div>@@ -36,13 +36,13 @@{% if Route.getCurrentRoute.getName == 'categories.show.all' %}{# all chart #}<div class="{% if attachments.count() == 0 %}col-lg-12 col-md-12 col-sm-12 col-xs-12{% else %}col-lg-8 col-md-12 col-sm-12 col-xs-12{% endif %}">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ trans('firefly.chart_category_all', {name: category.name }) }}</h3></div>- <div class="box-body">+ <div class="card-body"><canvas id="category-everything" class="wide-chart" height="400" width="100%"></canvas></div></div>@@ -50,7 +50,7 @@{% endif %}{% if attachments.count() > 0 %}<div class="col-lg-4 col-md-12 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'attachments'|_ }}@@ -74,11 +74,11 @@<div class="row"><div class="{% if periods|length > 0 %}col-lg-10 col-md-8 col-sm-12 col-xs-12{% else %}col-lg-12 col-md-12 col-sm-12 col-xs-12{% endif %}">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'transactions'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{% if periods|length > 0 %}{% include 'list.groups' %}<p>diff --git a/resources/views/components/elements/card-header-with-menu.blade.php b/resources/views/components/elements/card-header-with-menu.blade.phpindex a8ba2272ed..3e5c09b057 100644--- a/resources/views/components/elements/card-header-with-menu.blade.php+++ b/resources/views/components/elements/card-header-with-menu.blade.php@@ -3,6 +3,7 @@<div class="col"><h3 class="card-title">{{ $cardTitle }}</h3></div>+ @if('' !== $route)<div class="col text-end"><div class="dropdown"><button class="btn btn-sm btn-secondary-outline dropdown-toggle" type="button" id="card_header_menu" data-bs-toggle="dropdown" aria-expanded="false">@@ -15,5 +16,6 @@</ul></div></div>+ @endif</div></div>diff --git a/resources/views/components/empty-page.blade.php b/resources/views/components/empty-page.blade.phpindex 2051464cc2..309dbd9790 100644--- a/resources/views/components/empty-page.blade.php+++ b/resources/views/components/empty-page.blade.php@@ -13,9 +13,11 @@{{ __('firefly.no_'.($type ?? '').'_imperative_'.($objectType ?? 'default')) }}</p>+ @if('' !== $route)<p class="text-center"><a class="btn btn-lg btn-success" href="{{ $route }}">{{ __('firefly.no_'.($type ?? '').'_create_'.($objectType ?? 'default')) }}</a></p>+ @endif</div></div>diff --git a/resources/views/components/layout/sidebar.blade.php b/resources/views/components/layout/sidebar.blade.phpindex ab0f26f731..2f2c0457e6 100644--- a/resources/views/components/layout/sidebar.blade.php+++ b/resources/views/components/layout/sidebar.blade.php@@ -176,19 +176,19 @@</a><ul class="nav nav-treeview"><li class="nav-item">- <a href="{{ route('categories.index') }}" class="nav-link">+ <a href="{{ route('categories.index') }}" class="nav-link {{ menu_item_active_partial('categories.') }}"><em class="nav-icon bi bi-bookmark"></em><p>{{trans('firefly.categories')}}</p></a></li><li class="nav-item">- <a href="{{ route('tags.index') }}" class="nav-link">+ <a href="{{ route('tags.index') }}" class="nav-link {{ menu_item_active_partial('tags.') }}"><em class="nav-icon bi bi-tag"></em><p>{{trans('firefly.tags')}}</p></a></li><li class="nav-item">- <a href="{{ route('object-groups.index') }}" class="nav-link">+ <a href="{{ route('object-groups.index') }}" class="nav-link {{ menu_item_active_partial('object-groups.') }}"><em class="nav-icon bi bi-envelope"></em><p>{{trans('firefly.object_groups_menu_bar')}}</p></a>diff --git a/resources/views/components/lists/categories.blade.php b/resources/views/components/lists/categories.blade.phpnew file mode 100644index 0000000000..53c7b82955--- /dev/null+++ b/resources/views/components/lists/categories.blade.php@@ -0,0 +1,47 @@+<div class="pl-3">+ {{ $categories->links('pagination.bootstrap-4') }}+</div>+<table class="table table-hover sortable">+ <thead>+ <tr>+ <th data-defaultsort="disabled"> </th>+ <th data-defaultsign="az">{{ trans('list.name') }}</th>+ <th data-defaultsign="month" class="hidden-sm hidden-xs">{{ trans('list.lastActivity') }}</th>+ </tr>+ </thead>+ <tbody>+ <tr>+ <td> </td>+ <td><a href="{{ route('categories.no-category') }}"><em>{{ __('firefly.without_category') }}</em></a></td>+ <td class="hidden-sm hidden-xs"> </td>+ </tr>+ @foreach($categories as $category)+ <tr>+ <td>+ <div class="btn-group btn-group-sm">+ <a href="{{ route('categories.edit', [$category->id]) }}" class="btn btn-default btn-xs"><span class="bi bi-pencil"></span></a>+ <a href="{{ route('categories.delete', [$category->id]) }}" class="btn btn-danger btn-xs"><span class="bi bi-trash"></span></a>+ </div>+ </td>+ <td data-value="{{ $category->name }}">+ <a href="{{ route('categories.show', [$category->id]) }}" title="{{ $category->name }}">{{ $category->name }}</a>+ @if($category->attachments->count() > 0)+ <span class="bi bi-paperclip"></span>+ @endif+ </td>+ @if(null !== $category->lastActivity)+ <td class="hidden-sm hidden-xs" data-value="{{ $category->lastActivity->format('Y-m-d H-i-s') }}">+ {{ $category->lastActivity->isoFormat($monthAndDayFormat) }}+ </td>+ @else+ <td class="hidden-sm hidden-xs" data-value="0000-00-00 00-00-00">+ <em>{{ __('firefly.never') }}</em>+ </td>+ @endif+ </tr>+ @endforeach+ </tbody>+</table>+<div class="pl-3">+ {{ $categories->links('pagination.bootstrap-4') }}+</div>diff --git a/resources/views/components/lists/piggy-banks.blade.php b/resources/views/components/lists/piggy-banks.blade.phpindex 4fa31b6730..1c78c01fa4 100644--- a/resources/views/components/lists/piggy-banks.blade.php+++ b/resources/views/components/lists/piggy-banks.blade.php@@ -1,6 +1,6 @@@foreach($piggyBanks as $objectGroupOrder => $objectGroup)<h5 class="m-3">{{ $objectGroup['object_group_title'] }}</h5>-<table class="table table-hover table-sm table-condensed" id="piggy-sortable">+<table class="table table-hover table-sm table-sm" id="piggy-sortable"><thead><tr><th style="width:50px;" class="d-none d-md-table-cell"> </th>diff --git a/resources/views/currencies/create.twig b/resources/views/currencies/create.twigindex 619ab2d212..79a0633922 100644--- a/resources/views/currencies/create.twig+++ b/resources/views/currencies/create.twig@@ -13,7 +13,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'mandatoryFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.text('name',null,{'maxlength' : 48}) }}{{ ExpandedForm.text('symbol',null,{'maxlength': 51}) }}{{ ExpandedForm.text('code',null,{'maxlength' : 51}) }}@@ -27,11 +27,11 @@<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">{# panel for options #}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'options'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.optionsList('create','currency') }}</div><div class="box-footer">diff --git a/resources/views/currencies/delete.twig b/resources/views/currencies/delete.twigindex 4a2dfb5e76..795685c4a1 100644--- a/resources/views/currencies/delete.twig+++ b/resources/views/currencies/delete.twig@@ -14,7 +14,7 @@<div class="box-header with-border"><h3 class="box-title">{{ trans('form.delete_currency', {'name': currency.name}) }}</h3></div>- <div class="box-body">+ <div class="card-body"><p class="text-danger">{{ trans('form.permDeleteWarning') }}</p>diff --git a/resources/views/currencies/edit.twig b/resources/views/currencies/edit.twigindex 053891d825..f56a8b19c4 100644--- a/resources/views/currencies/edit.twig+++ b/resources/views/currencies/edit.twig@@ -17,7 +17,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'mandatoryFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.text('name', currency.name,{'maxlength' : 48}) }}{{ ExpandedForm.text('symbol', currency.symbol,{'maxlength' : 51}) }}{{ ExpandedForm.text('code', currency.code,{'maxlength' : 51}) }}@@ -31,11 +31,11 @@<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">{# panel for options #}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'options'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.optionsList('update','currency') }}</div><div class="box-footer">diff --git a/resources/views/currencies/index.twig b/resources/views/currencies/index.twigindex 522a10e4c4..1fb9bf921d 100644--- a/resources/views/currencies/index.twig+++ b/resources/views/currencies/index.twig@@ -7,12 +7,12 @@{% block content %}<div class="row"><div class="col-lg-12 col-sm-12 col-md-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'currencies'|_ }}</h3><a class="btn btn-success pull-right" href="{{ route('currencies.create') }}">{{ 'create_currency'|_ }}</a></div>- <div class="box-body">+ <div class="card-body"><p>{{ 'currencies_intro'|_ }}{{ 'currencies_default_disabled'|_ }}diff --git a/resources/views/export/index.twig b/resources/views/export/index.twigindex 1df7b3ac92..2b5704e672 100644--- a/resources/views/export/index.twig+++ b/resources/views/export/index.twig@@ -11,7 +11,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'export_data_main_title'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><p>{{ 'export_data_expl'|_ }}</p>diff --git a/resources/views/json/piggy-banks-old.twig b/resources/views/json/piggy-banks-old.twigindex 991075d95f..bd1c68e57e 100644--- a/resources/views/json/piggy-banks-old.twig+++ b/resources/views/json/piggy-banks-old.twig@@ -1,9 +1,9 @@-<div class="box">+<div class="card"><div class="box-header with-border"><h3 class="box-title"><a href="{{ route('piggy-banks.index') }}" title="{{ 'piggyBanks'|_ }}">{{ 'piggyBanks'|_ }}</a></h3></div>- <div class="box-body">+ <div class="card-body">{% for entry in info %}<strong>{{ entry.name }}</strong><br/><div class="progress">diff --git a/resources/views/list/groups.twig b/resources/views/list/groups.twigindex e02d5e5b5e..3551e64590 100644--- a/resources/views/list/groups.twig+++ b/resources/views/list/groups.twig@@ -1,4 +1,4 @@-<table class="table table-condensed table-hover table-responsive">+<table class="table table-sm table-hover table-responsive"><thead><tr>{% if showCategory or showBudget %}diff --git a/resources/views/list/piggy-banks.twig b/resources/views/list/piggy-banks.twigindex 9b01a76aac..b13b040aeb 100644--- a/resources/views/list/piggy-banks.twig+++ b/resources/views/list/piggy-banks.twig@@ -1,4 +1,4 @@-<table class="table table-hover table-condensed" id="piggy-sortable">+<table class="table table-hover table-sm" id="piggy-sortable"><thead><tr><th colspan="2"> </th>diff --git a/resources/views/new-user/index.twig b/resources/views/new-user/index.twigindex 627c511dd0..d2bbaf5501 100644--- a/resources/views/new-user/index.twig+++ b/resources/views/new-user/index.twig@@ -16,7 +16,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'getting_started'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><p><strong>{{ 'welcome'|_ }}</strong></p>diff --git a/resources/views/object-groups/delete.twig b/resources/views/object-groups/delete.twigindex 8516f869b8..fd1e0b0fb1 100644--- a/resources/views/object-groups/delete.twig+++ b/resources/views/object-groups/delete.twig@@ -14,7 +14,7 @@<div class="box-header with-border"><h3 class="box-title">{{ trans('form.delete_object_group', {'title': objectGroup.title}) }}</h3></div>- <div class="box-body">+ <div class="card-body"><p class="text-danger">{{ trans('form.permDeleteWarning') }}</p>diff --git a/resources/views/object-groups/edit.twig b/resources/views/object-groups/edit.twigindex d64e4645a0..7c50166763 100644--- a/resources/views/object-groups/edit.twig+++ b/resources/views/object-groups/edit.twig@@ -18,7 +18,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'mandatoryFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.text('title', objectGroup.title) }}</div></div>@@ -28,11 +28,11 @@<div class="row"><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">{# panel for options #}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'options'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.optionsList('update','object group') }}</div><div class="box-footer">diff --git a/resources/views/object-groups/index.blade.php b/resources/views/object-groups/index.blade.phpnew file mode 100644index 0000000000..6098ac773b--- /dev/null+++ b/resources/views/object-groups/index.blade.php@@ -0,0 +1,62 @@+@extends('layout.v3.session')+@section('content')+ @if(0 === count($objectGroups))+ <x-empty-page :route="''" type="object-groups" object-type="default" />+ @endif++ @if(count($objectGroups) > 0)+ <div class="row">+ <div class="col-lg-12 col-md-12 col-sm-12">+ <div class="card">+ <x-elements.card-header-with-menu :cardTitle="__('firefly.object_groups')" :route="''" :linkTitle="''"/>+ <div class="card-body p-0">+ <table class="table table-sm" id="sortable">+ <thead>+ <tr>+ <th> </th>+ <th>+ {{ __('firefly.object_group_title') }}+ </th>+ <th>+ + </th>+ </tr>+ </thead>+ <tbody>+ @foreach($objectGroups as $objectGroup)+ <tr class="group-sortable" data-id="{{ $objectGroup['id'] }}" data-name="{{ e($objectGroup['title']) }}" data-order="{{ $objectGroup['order'] }}">+ <td><span class="fa fa-bars group-handle"></span></td>+ <td>+ <strong>{{ $objectGroup['title'] }}</strong><br/>+ @foreach($objectGroup['piggyBanks'] as $piggyBank)+ - {{ __('firefly.piggy_bank') }}: <a href="{{ route('piggy-banks.show', [$piggyBank['id']]) }}">{{ $piggyBank['name'] }}</a><br>+ @endforeach+ @foreach($objectGroup['bills'] as $subscription)+ - {{ __('firefly.bill') }}: <a href="{{ route('subscriptions.show', [$bill['id']]) }}">{{ $bill['name'] }}</a><br>+ @endforeach+ </td>+ <td>+ <div class="btn-group btn-group-sm">+ <a class="btn btn-default" href="{{ route('object-groups.edit', [$objectGroup['id']]) }}">+ <span class="bi bi-pencil"></span>+ </a>+ <a class="btn btn-danger" href="{{ route('object-groups.delete', [$objectGroup['id']]) }}">+ <span class="bi bi-trash"></span>+ </a>+ </div>+ </td>+ </tr>+ @endforeach+ </tbody>+ </table>+ </div>+ </div>+ </div>+ </div>+ @endif+@endsection+@section('scripts')+ @vite(['js/pages/object-groups/index.js'])+ <script src="v1/js/lib/jquery-ui.min.js?v={{ $FF_BUILD_TIME }}" type="text/javascript" nonce="{{ $JS_NONCE }}"></script>+ <script type="text/javascript" src="v1/js/ff/object-groups/index.js?v={{ $FF_BUILD_TIME }}" nonce="{{ $JS_NONCE }}"></script>+@endsectiondiff --git a/resources/views/object-groups/index.twig b/resources/views/object-groups/index.twigdeleted file mode 100644index 598572ea34..0000000000--- a/resources/views/object-groups/index.twig+++ /dev/null@@ -1,77 +0,0 @@-{% extends './layout/default' %}--{% block breadcrumbs %}- {{ Breadcrumbs.render }}-{% endblock %}-{% block content %}- <div class="row">- <div class="col-lg-12 col-md-12 col-sm-12">- <div class="box">- <div class="box-header with-border">- <h3 class="box-title">{{ 'object_groups'|_ }}</h3>- </div>- {% if objectGroups|length == 0 %}- <div class="box-body">- <div class="row">- <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">- <p>- {{ 'object_groups_empty_explain'|_ }}- </p>- </div>- </div>- </div>- {% endif %}- {% if objectGroups|length > 0 %}- <div class="box-body no-padding">- <table class="table table-condensed" id="sortable">- <thead>- <tr>- <th> </th>- <th>- {{ 'object_group_title'|_ }}- </th>- <th>- - </th>- </tr>- </thead>- <tbody>- {% for objectGroup in objectGroups %}- <tr class="group-sortable" data-id="{{ objectGroup.id }}" data-name="{{ objectGroup.title|escape('html') }}" data-order="{{ objectGroup.order }}">- <td><span class="fa fa-bars group-handle"></span></td>- <td>- <strong>{{ objectGroup.title }}</strong><br/>-- {% for piggyBank in objectGroup.piggyBanks %}- - {{ 'piggy_bank'|_ }}: <a href="{{ route('piggy-banks.show', [piggyBank.id]) }}">{{ piggyBank.name }}</a><br>- {% endfor %}- {% for bill in objectGroup.bills %}- - {{ 'bill'|_ }}: <a href="{{ route('subscriptions.show', [bill.id]) }}">{{ bill.name }}</a><br>- {% endfor %}- </td>- <td>- <div class="btn-group btn-group-sm">- <a class="btn btn-default" href="{{ route('object-groups.edit', [objectGroup.id]) }}">- <span class="bi bi-pencil"></span>- </a>- <a class="btn btn-danger" href="{{ route('object-groups.delete', [objectGroup.id]) }}">- <span class="bi bi-trash"></span>- </a>- </div>- </td>- </tr>- {% endfor %}- </tbody>- </table>- </div>- {% endif %}- </div>- </div>- </div>-{% endblock %}-{% block scripts %}- <script src="v1/js/lib/jquery-ui.min.js?v={{ FF_BUILD_TIME }}" type="text/javascript" nonce="{{ JS_NONCE }}"></script>- <script type="text/javascript" src="v1/js/ff/object-groups/index.js?v={{ FF_BUILD_TIME }}" nonce="{{ JS_NONCE }}"></script>-{% endblock %}-{% block styles %}-{% endblock %}diff --git a/resources/views/partials/empty.twig b/resources/views/partials/empty.twigindex 3907cc0f39..f79f7b33c1 100644--- a/resources/views/partials/empty.twig+++ b/resources/views/partials/empty.twig@@ -5,7 +5,7 @@<h3 class="box-title">{{ ('no_'~type~'_title_'~objectType)|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><p>{{ ('no_'~type~'_intro_'~objectType)|_ }}</p>diff --git a/resources/views/piggy-banks/add-mobile.twig b/resources/views/piggy-banks/add-mobile.twigindex 79aeec0cd2..cb36a8d859 100644--- a/resources/views/piggy-banks/add-mobile.twig+++ b/resources/views/piggy-banks/add-mobile.twig@@ -13,7 +13,7 @@<div class="box-header with-border"><h3 class="box-title">{{ trans('firefly.add_money_to_piggy', {name: piggyBank.name}) }}</h3></div>- <div class="box-body">+ <div class="card-body">{% if total > 0 %}diff --git a/resources/views/piggy-banks/create.twig b/resources/views/piggy-banks/create.twigindex 6e1a81ae0a..e0b90a2469 100644--- a/resources/views/piggy-banks/create.twig+++ b/resources/views/piggy-banks/create.twig@@ -14,7 +14,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'mandatoryFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.text('name') }}{{ ExpandedForm.amountNoCurrency('target_amount') }}{{ CurrencyForm.currencyList('transaction_currency_id', preFilled.transaction_currency_id, {helpText:'piggy_default_currency'|_}) }}@@ -24,11 +24,11 @@</div></div><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'optionalFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.date('target_date') }}{{ ExpandedForm.textarea('notes', null, {helpText: trans('firefly.field_supports_markdown')} ) }}{{ ExpandedForm.file('attachments[]', {'multiple': 'multiple','helpText': trans('firefly.upload_max_file_size', {'size': uploadSize|filesize}) }) }}@@ -40,11 +40,11 @@<div class="row"><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">{# panel for options #}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'options'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.optionsList('create','piggy bank') }}</div><div class="box-footer">diff --git a/resources/views/piggy-banks/delete.twig b/resources/views/piggy-banks/delete.twigindex eae14383d1..281e1583ff 100644--- a/resources/views/piggy-banks/delete.twig+++ b/resources/views/piggy-banks/delete.twig@@ -14,7 +14,7 @@<div class="box-header with-border"><h3 class="box-title">{{ trans('firefly.delete_piggy_bank', {'name': piggyBank.name}) }}</h3></div>- <div class="box-body">+ <div class="card-body"><p class="text-danger">{{ trans('form.permDeleteWarning') }}</p>diff --git a/resources/views/piggy-banks/edit.twig b/resources/views/piggy-banks/edit.twigindex 2a1e8a8600..f22c9034fc 100644--- a/resources/views/piggy-banks/edit.twig+++ b/resources/views/piggy-banks/edit.twig@@ -20,7 +20,7 @@<h3 class="box-title">{{ 'mandatoryFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.text('name') }}{{ ExpandedForm.amountNoCurrency('target_amount') }}{{ CurrencyForm.currencyList('transaction_currency_id', preFilled.transaction_currency_id, {helpText:'piggy_default_currency'|_}) }}@@ -31,11 +31,11 @@</div><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'optionalFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.date('start_date') }}{{ ExpandedForm.date('target_date') }}{{ ExpandedForm.textarea('notes', null, {helpText: trans('firefly.field_supports_markdown')}) }}@@ -48,11 +48,11 @@<div class="row"><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">{# panel for options #}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'options'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.optionsList('update','piggy bank') }}</div><div class="box-footer">diff --git a/resources/views/piggy-banks/remove-mobile.twig b/resources/views/piggy-banks/remove-mobile.twigindex 192f5e7d53..5ab6e3a86a 100644--- a/resources/views/piggy-banks/remove-mobile.twig+++ b/resources/views/piggy-banks/remove-mobile.twig@@ -12,7 +12,7 @@<div class="box-header with-border"><h3 class="box-title">{{ trans('firefly.remove_money_from_piggy_title', {name: piggyBank.name}) }}</h3></div>- <div class="box-body">+ <div class="card-body">{% for account in accounts %}<p>diff --git a/resources/views/piggy-banks/show.twig b/resources/views/piggy-banks/show.twigindex 7a5f116671..6d7b5ac5ac 100644--- a/resources/views/piggy-banks/show.twig+++ b/resources/views/piggy-banks/show.twig@@ -11,13 +11,13 @@<div class="box-header with-border"><h3 class="box-title">{{ 'events'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><canvas id="piggy-bank-history" class="wide-chart" height="400" width="100%"></canvas></div></div></div><div class="col-lg-4 col-md-4 col-sm-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'details'|_ }}</h3><div class="box-tools pull-right">@@ -112,7 +112,7 @@</table></div></div>- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'event_history'|_ }} (<a class="confirm-history-delete reset-link" href="#">{{ 'reset_history'|_ }}</a>)</h3></div>@@ -127,7 +127,7 @@{% if piggy.notes %}<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ trans('form.notes') }}</h3></div>@@ -139,7 +139,7 @@{% endif %}{% if attachments.count() > 0 %}<div class="col-lg-4 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'attachments'|_ }}diff --git a/resources/views/popup/list/journals.twig b/resources/views/popup/list/journals.twigindex 24322762c3..c8576964e9 100644--- a/resources/views/popup/list/journals.twig+++ b/resources/views/popup/list/journals.twig@@ -1,4 +1,4 @@-<table class="table table-hover table-condensed">+<table class="table table-hover table-sm"><thead><tr><th> </th>diff --git a/resources/views/profile/change-email.twig b/resources/views/profile/change-email.twigindex 6f1e9a80b2..6ab5ab1aa2 100644--- a/resources/views/profile/change-email.twig+++ b/resources/views/profile/change-email.twig@@ -14,7 +14,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'change_your_email'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{% if errors|length > 0 %}<ul>diff --git a/resources/views/profile/change-password.twig b/resources/views/profile/change-password.twigindex 80bf41056d..cd297ad2e7 100644--- a/resources/views/profile/change-password.twig+++ b/resources/views/profile/change-password.twig@@ -14,7 +14,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'change_your_password'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{% if errors|length > 0 %}<ul>diff --git a/resources/views/profile/delete-account.twig b/resources/views/profile/delete-account.twigindex 80a7b12d5a..fe5298dcc9 100644--- a/resources/views/profile/delete-account.twig+++ b/resources/views/profile/delete-account.twig@@ -14,7 +14,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'delete_your_account'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><p class="text-danger">{{ 'delete_your_account_help'|_ }}diff --git a/resources/views/profile/index.twig b/resources/views/profile/index.twigindex 241c308e26..ec55b62438 100644--- a/resources/views/profile/index.twig+++ b/resources/views/profile/index.twig@@ -29,7 +29,7 @@<!-- main options --><div role="tabpanel" class="tab-pane active" id="options"><div class="box box-default">- <div class="box-body">+ <div class="card-body"><p>{{ trans('firefly.user_id_is',{user: userId})|raw }}</p>@@ -76,7 +76,7 @@<!-- command line options --><div role="tabpanel" class="tab-pane" id="cmd"><div class="box box-default">- <div class="box-body">+ <div class="card-body"><p>{{ 'explain_command_line_token'|_ }}</p>diff --git a/resources/views/profile/logout-other-sessions.twig b/resources/views/profile/logout-other-sessions.twigindex 4399b044c0..950deaa9a8 100644--- a/resources/views/profile/logout-other-sessions.twig+++ b/resources/views/profile/logout-other-sessions.twig@@ -14,7 +14,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'logout_other_sessions'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div class="form-group"><label for="inputOldPassword" class="col-sm-4 control-label">{{ 'current_password'|_ }}</label>diff --git a/resources/views/profile/mfa/backup-codes-intro.twig b/resources/views/profile/mfa/backup-codes-intro.twigindex b67e2c11e8..eaea7753e4 100644--- a/resources/views/profile/mfa/backup-codes-intro.twig+++ b/resources/views/profile/mfa/backup-codes-intro.twig@@ -9,11 +9,11 @@<input name="_token" type="hidden" value="{{ csrf_token() }}"><div class="row"><div class="col-lg-6 col-lg-offset-3 col-md-12 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'mfa_backup_codes_title'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div class="form group"><p>{{ 'mfa_backup_codes_intro'|_ }}@@ -29,8 +29,8 @@<div class="row"><div class="col-lg-6 col-lg-offset-3 col-md-12 col-sm-12 col-xs-12">- <div class="box">- <div class="box-body">+ <div class="card">+ <div class="card-body">{{ ExpandedForm.password('password', {helpText: 'current_password_confirm_mfa'|_}) }}{{ ExpandedForm.text('code', code) }}</div>diff --git a/resources/views/profile/mfa/backup-codes-post.twig b/resources/views/profile/mfa/backup-codes-post.twigindex 535edebb0b..796166cecd 100644--- a/resources/views/profile/mfa/backup-codes-post.twig+++ b/resources/views/profile/mfa/backup-codes-post.twig@@ -7,11 +7,11 @@{% block content %}<div class="row"><div class="col-lg-6 col-lg-offset-3 col-md-12 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'mfa_backup_codes_post_title'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div class="form group"><p>{{ '2fa_backup_codes'|_ }}diff --git a/resources/views/profile/mfa/disable-mfa.twig b/resources/views/profile/mfa/disable-mfa.twigindex 662c63ed0d..fe822dfd3f 100644--- a/resources/views/profile/mfa/disable-mfa.twig+++ b/resources/views/profile/mfa/disable-mfa.twig@@ -9,11 +9,11 @@<input name="_token" type="hidden" value="{{ csrf_token() }}"><div class="row"><div class="col-lg-6 col-lg-offset-3 col-md-12 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'disable_mfa_page'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><p class="hidden-print">{{ 'disable_mfa_intro'|_ }}</p>@@ -23,8 +23,8 @@</div><div class="row"><div class="col-lg-6 col-lg-offset-3 col-md-12 col-sm-12 col-xs-12">- <div class="box">- <div class="box-body">+ <div class="card">+ <div class="card-body">{{ ExpandedForm.password('password', {helpText: 'current_password_confirm_mfa'|_}) }}{{ ExpandedForm.text('code', code) }}</div>diff --git a/resources/views/profile/mfa/enable-mfa.twig b/resources/views/profile/mfa/enable-mfa.twigindex 65334927d8..5262a20af1 100644--- a/resources/views/profile/mfa/enable-mfa.twig+++ b/resources/views/profile/mfa/enable-mfa.twig@@ -9,11 +9,11 @@<input name="_token" type="hidden" value="{{ csrf_token() }}"><div class="row"><div class="col-lg-6 col-lg-offset-3 col-md-12 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'pref_two_factor_auth_code'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><p class="hidden-print">{{ 'pref_two_factor_auth_code_help'|_ }}</p>@@ -34,8 +34,8 @@</div><div class="row"><div class="col-lg-6 col-lg-offset-3 col-md-12 col-sm-12 col-xs-12">- <div class="box">- <div class="box-body">+ <div class="card">+ <div class="card-body">{{ ExpandedForm.password('password', {helpText: 'current_password_confirm_mfa'|_}) }}{{ ExpandedForm.text('code', code) }}</div>diff --git a/resources/views/profile/mfa/index.twig b/resources/views/profile/mfa/index.twigindex 02c3d2926c..646dce85c3 100644--- a/resources/views/profile/mfa/index.twig+++ b/resources/views/profile/mfa/index.twig@@ -8,13 +8,13 @@<div class="row"><div class="col-lg-8 col-lg-offset-2 col-md-12 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'mfa_index_title'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><p>{% if enabledMFA == true %}{{ 'mfa_index_enabled'|_ }}diff --git a/resources/views/profile/new-backup-codes.twig b/resources/views/profile/new-backup-codes.twigindex 77128da184..e50e6efb06 100644--- a/resources/views/profile/new-backup-codes.twig+++ b/resources/views/profile/new-backup-codes.twig@@ -7,11 +7,11 @@{% block content %}<div class="row"><div class="col-lg-6 col-lg-offset-3 col-md-12 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'pref_two_factor_auth_code'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div class="form group"><p>{{ '2fa_backup_codes'|_ }}diff --git a/resources/views/profile/oauth/index.twig b/resources/views/profile/oauth/index.twigindex 2067afd1f8..88ef68d882 100644--- a/resources/views/profile/oauth/index.twig+++ b/resources/views/profile/oauth/index.twig@@ -16,7 +16,7 @@<h3 class="box-title">{{ 'oauth_tokens'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><p>{{ trans('firefly.oauth_tokens_explain', {link: link})|raw }}</p>diff --git a/resources/views/recurring/create.twig b/resources/views/recurring/create.twigindex 32eab7a011..cc4a297f26 100644--- a/resources/views/recurring/create.twig+++ b/resources/views/recurring/create.twig@@ -16,7 +16,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'mandatory_for_recurring'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.text('title') }}{{ preFilled.first_date.format('Y-m-d') }}{{ ExpandedForm.date('first_date',null, {helpText: trans('firefly.help_first_date'), min: preFilled.first_date}) }}@@ -44,11 +44,11 @@<div class="col-lg-6 col-md-6 col-sm-12">{# optional recurrence stuff #}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'optional_for_recurring'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.textarea('recurring_description') }}{# only correct way to do active checkbox #}@@ -67,7 +67,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'mandatory_for_transaction'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><p><em>{{ 'mandatory_fields_for_tranaction'|_ }}</em></p>{# three buttons to distinguish type of transaction #}<div class="form-group" id="name_holder">@@ -114,11 +114,11 @@<div class="col-lg-6 col-md-6 col-sm-12">{# optional transaction information #}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'optional_for_transaction'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{# transaction information (optional) #}{{ CurrencyForm.currencyListEmpty('foreign_currency_id') }}{{ ExpandedForm.amountNoCurrency('foreign_amount') }}@@ -153,11 +153,11 @@{# row with submit stuff. #}<div class="row"><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'options'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.optionsList('create','recurrence') }}</div><div class="box-footer">@@ -174,7 +174,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'expected_repetitions'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">Here.</div></div>diff --git a/resources/views/recurring/delete.twig b/resources/views/recurring/delete.twigindex c0599345b7..9820d2dbd4 100644--- a/resources/views/recurring/delete.twig+++ b/resources/views/recurring/delete.twig@@ -14,7 +14,7 @@<div class="box-header with-border"><h3 class="box-title">{{ trans('form.delete_recurring', {'title': recurrence.title}) }}</h3></div>- <div class="box-body">+ <div class="card-body"><p class="text-danger">{{ trans('form.permDeleteWarning') }}</p>diff --git a/resources/views/recurring/edit.twig b/resources/views/recurring/edit.twigindex 286a1ae3b5..b7c768102c 100644--- a/resources/views/recurring/edit.twig+++ b/resources/views/recurring/edit.twig@@ -18,7 +18,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'mandatory_for_recurring'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><input type="hidden" name="id" value="{{ array.id }}"/>{{ ExpandedForm.text('title', array.title) }}{{ ExpandedForm.date('first_date',array.first_date, {helpText: trans('firefly.help_first_date_no_past')}) }}@@ -46,11 +46,11 @@<div class="col-lg-6 col-md-6 col-sm-12">{# optional recurrence stuff #}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'optional_for_recurring'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.textarea('recurring_description',array.description) }}{# only correct way to do active checkbox #}@@ -69,7 +69,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'mandatory_for_transaction'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><p><em>{{ 'mandatory_fields_for_tranaction'|_ }}</em></p>{# three buttons to distinguish type of transaction #}<div class="form-group" id="name_holder">@@ -112,11 +112,11 @@<div class="col-lg-6 col-md-6 col-sm-12">{# optional transaction information #}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'optional_for_transaction'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{# transaction information (optional) #}{{ CurrencyForm.currencyListEmpty('foreign_currency_id', array.transactions[0].foreign_currency_id) }}{{ ExpandedForm.amountNoCurrency('foreign_amount', array.transactions[0].foreign_amount) }}@@ -152,11 +152,11 @@{# row with submit stuff. #}<div class="row"><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'options'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.optionsList('update','recurrence') }}</div><div class="box-footer">@@ -173,7 +173,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'expected_repetitions'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">Here.</div></div>diff --git a/resources/views/recurring/old-index.twig b/resources/views/recurring/old-index.twigindex 95d9bc3122..11d11b94a6 100644--- a/resources/views/recurring/old-index.twig+++ b/resources/views/recurring/old-index.twig@@ -9,7 +9,7 @@{% if total > 0 %}<div class="row"><div class="col-lg-12 col-md-12 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'recurrences'|_ }}diff --git a/resources/views/recurring/show.twig b/resources/views/recurring/show.twigindex cc8ec9d9e6..0ef9c23d73 100644--- a/resources/views/recurring/show.twig+++ b/resources/views/recurring/show.twig@@ -8,7 +8,7 @@<div class="row"><!-- basic info --><div class="col-lg-8 col-md-12 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ array.title }}@@ -20,7 +20,7 @@{% endif %}</h3></div>- <div class="box-body">+ <div class="card-body"><h4>{{ 'transaction_journal_meta'|_ }}</h4>{% if array.nr_of_repetitions > 0 %}<p>@@ -61,13 +61,13 @@</div><!-- next and previous repetitions --><div class="col-lg-4 col-md-12 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ ('expected_'~array.type~'s')|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{% if null != array.repeat_until and today > array.repeat_until %}<span class="text-danger">{{ trans('firefly.repeat_until_in_past', {date: array.repeat_until.isoFormat(monthAndDayFormat) }) }}@@ -118,7 +118,7 @@<div class="row"><!-- transactions --><div class="col-lg-12 col-md-12 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'transaction_data'|_ }}@@ -198,13 +198,13 @@<div class="row"><!-- meta data --><div class="col-lg-12 col-md-12 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ ('created_'~array.type~'s')|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{% include 'list.groups' %}</div></div>diff --git a/resources/views/reports/audit/report.twig b/resources/views/reports/audit/report.twigindex 2910b3b167..2aef76aeb4 100644--- a/resources/views/reports/audit/report.twig+++ b/resources/views/reports/audit/report.twig@@ -12,7 +12,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'options'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><ul class="list-inline">{% for hide in hideable %}<li><input@@ -31,13 +31,13 @@{% for account in accounts %}<div class="row"><div class="col-lg-12 col-md-12 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ account.name }}</h3></div>{% set url = route('accounts.show',account.id) %}{% if not auditData[account.id].exists %}- <div class="box-body">+ <div class="card-body"><em>{{ trans('firefly.no_audit_activity',diff --git a/resources/views/reports/budget/month.twig b/resources/views/reports/budget/month.twigindex bf2d34d9ca..c9c781446e 100644--- a/resources/views/reports/budget/month.twig+++ b/resources/views/reports/budget/month.twig@@ -8,7 +8,7 @@<div class="row"><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'accounts'|_ }}</h3></div>@@ -23,7 +23,7 @@</div></div><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'budgets'|_ }}</h3></div>@@ -40,7 +40,7 @@</div><div class="row"><div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'account_per_budget'|_ }}</h3></div>@@ -57,11 +57,11 @@</div><div class="row"><div class="col-lg-6 col-md-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'expense_per_budget'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div class="center-chart"><canvas id="budgets-out-pie-chart" class="medium-chart" height="250"></canvas></div>@@ -69,11 +69,11 @@</div></div><div class="col-lg-6 col-md-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'expense_per_category'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div class="center-chart"><canvas id="categories-out-pie-chart" class="medium-chart" height="250"></canvas></div>@@ -83,11 +83,11 @@</div><div class="row"><div class="col-lg-6 col-md-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'expense_per_source_account'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div class="center-chart"><canvas id="source-accounts-pie-chart" class="medium-chart" height="250"></canvas></div>@@ -95,11 +95,11 @@</div></div><div class="col-lg-6 col-md-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'expense_per_destination_account'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div class="center-chart"><canvas id="dest-accounts-pie-chart" class="medium-chart" height="250"></canvas></div>@@ -115,7 +115,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'expenses'|_ }} ({{ budget.name }})</h3></div>- <div class="box-body">+ <div class="card-body"><canvas class="main_budget_canvas" data-url="{{ route('chart.budget.main', [accountIds, budget.id, start.format('Ymd'), end.format('Ymd')]) }}" id="in-out-chart-{{ budget.id }}" class="wide-chart" height="400" width="100%"></canvas></div></div>@@ -124,7 +124,7 @@{% endfor %}<div class="row"><div class="col-lg-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'average_spending_per_destination'|_ }}</h3></div>@@ -140,7 +140,7 @@</div><div class="col-lg-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'expenses'|_ }} ({{ trans('firefly.topX', {number: listLength}) }})</h3></div>diff --git a/resources/views/reports/category/month.twig b/resources/views/reports/category/month.twigindex 9f6a292649..7699b24fb4 100644--- a/resources/views/reports/category/month.twig+++ b/resources/views/reports/category/month.twig@@ -8,7 +8,7 @@<div class="row"><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'accounts'|_ }}</h3></div>@@ -23,7 +23,7 @@</div></div><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'categories'|_ }}</h3></div>@@ -40,7 +40,7 @@</div><div class="row"><div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'account_per_category'|_ }}</h3></div>@@ -57,11 +57,11 @@</div><div class="row"><div class="col-lg-4 col-md-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'expense_per_category'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div class="center-chart"><canvas id="category-out-pie-chart" class="medium-chart" height="250"></canvas></div>@@ -69,11 +69,11 @@</div></div><div class="col-lg-4 col-md-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'income_per_category'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div class="center-chart"><canvas id="category-in-pie-chart" class="medium-chart" height="250"></canvas></div>@@ -81,11 +81,11 @@</div></div><div class="col-lg-4 col-md-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'expense_per_budget'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div class="center-chart"><canvas id="budgets-out-pie-chart" class="medium-chart" height="250"></canvas></div>@@ -95,11 +95,11 @@</div><div class="row"><div class="col-lg-6 col-md-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'expense_per_source_account'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div class="center-chart"><canvas id="source-out-pie-chart" class="medium-chart" height="250"></canvas></div>@@ -107,11 +107,11 @@</div></div><div class="col-lg-6 col-md-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'income_per_source_account'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div class="center-chart"><canvas id="source-in-pie-chart" class="medium-chart" height="250"></canvas></div>@@ -121,11 +121,11 @@</div><div class="row"><div class="col-lg-6 col-md-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'expense_per_destination_account'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div class="center-chart"><canvas id="dest-out-pie-chart" class="medium-chart" height="250"></canvas></div>@@ -133,11 +133,11 @@</div></div><div class="col-lg-6 col-md-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'income_per_destination_account'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div class="center-chart"><canvas id="dest-in-pie-chart" class="medium-chart" height="250"></canvas></div>@@ -153,7 +153,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'income_and_expenses'|_ }} ({{ category.name }})</h3></div>- <div class="box-body">+ <div class="card-body"><canvas class="main_category_canvas" data-url="{{ route('chart.category.main', [accountIds, category.id, start.format('Ymd'), end.format('Ymd')]) }}" id="in-out-chart-{{ category.id }}" class="wide-chart" height="400" width="100%"></canvas></div></div>@@ -162,7 +162,7 @@{% endfor %}<div class="row"><div class="col-lg-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'average_spending_per_destination'|_ }}</h3></div>@@ -177,7 +177,7 @@</div></div><div class="col-lg-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'average_earning_per_source'|_ }}</h3></div>@@ -194,7 +194,7 @@</div><div class="row"><div class="col-lg-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'expenses'|_ }} ({{ trans('firefly.topX', {number: listLength}) }})</h3></div>@@ -209,7 +209,7 @@</div></div><div class="col-lg-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'income'|_ }} ({{ trans('firefly.topX', {number: listLength}) }})</h3></div>diff --git a/resources/views/reports/default/month.twig b/resources/views/reports/default/month.twigindex fd4362cd27..1d729484fd 100644--- a/resources/views/reports/default/month.twig+++ b/resources/views/reports/default/month.twig@@ -9,11 +9,11 @@{# chart #}<div class="row"><div class="col-lg-12 col-md-12 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'accountBalances'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><canvas id="account-balances-chart" class="wide-chart" height="400" width="100%"></canvas></div></div>@@ -23,7 +23,7 @@{# account balances and income vs. expense #}<div class="row"><div class="col-lg-6 col-md-6 col-sm-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'accountBalances'|_ }}</h3></div>@@ -38,7 +38,7 @@</div></div><div class="col-lg-6 col-md-6 col-sm-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'incomeVsExpenses'|_ }}</h3></div>@@ -57,7 +57,7 @@{# in and out #}<div class="row"><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'income'|_ }}</h3></div>@@ -72,7 +72,7 @@</div></div><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'expenses'|_ }}</h3></div>@@ -90,7 +90,7 @@<div class="row"><div class="col-lg-8 col-md-8 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'budgets'|_ }}</h3>@@ -108,7 +108,7 @@</div><div class="col-lg-4 col-md-4 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'categories'|_ }}</h3></div>@@ -124,7 +124,7 @@</div><div class="row"><div class="col-lg-12 col-md-12 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'budgets'|_ }} ({{ 'splitByAccount'|_|lower }})</h3></div>@@ -142,7 +142,7 @@</div><div class="row"><div class="col-lg-12 col-md-12 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'bills'|_ }}</h3></div>diff --git a/resources/views/reports/default/multi-year.twig b/resources/views/reports/default/multi-year.twigindex 85d531c113..84fee8fa38 100644--- a/resources/views/reports/default/multi-year.twig+++ b/resources/views/reports/default/multi-year.twig@@ -13,7 +13,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'incomeVsExpenses'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><canvas id="income-expenses-chart" class="wide-chart" height="400" width="100%"></canvas></div></div>@@ -23,7 +23,7 @@{# balances and income vs. expense. #}<div class="row"><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'accountBalances'|_ }}</h3></div>@@ -38,7 +38,7 @@</div></div><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'incomeVsExpenses'|_ }}</h3></div>@@ -57,7 +57,7 @@{# block with income #}<div class="row"><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'income'|_ }}</h3></div>@@ -73,7 +73,7 @@</div>{# block with expenses #}<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'expenses'|_ }}</h3></div>@@ -92,11 +92,11 @@{# net worth #}<div class="row"><div class="col-lg-12 col-md-12 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'net_worth'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><canvas id="net-worth" class="wide-chart" height="400" width="100%"></canvas></div><div class="box-footer">@@ -112,7 +112,7 @@{# This is the budget overview generated by budget period report #}<div class="row"><div class="col-lg-12 col-md-12 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'budgets'|_ }}</h3></div>@@ -132,11 +132,11 @@{# This is the chart that belongs to the above overview. #}<div class="row"><div class="col-lg-12 col-md-12 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'chart'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><p id="budget_help" class="text-muted text-center">{{ 'budget_chart_click'|_ }}</p><canvas id="budget_chart" class="wide-chart" height="400" width="100%"></canvas></div>@@ -147,7 +147,7 @@{# same thing but for categories (expenses) #}<div class="row"><div class="col-lg-12 col-md-12 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'categories'|_ }} ({{ 'expenses'|_ }})</h3></div>@@ -166,7 +166,7 @@{# same thing but for categories (income) #}<div class="row"><div class="col-lg-12 col-md-12 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'categories'|_ }} ({{ 'income'|_ }})</h3></div>@@ -185,11 +185,11 @@{# and the same chart too! #}<div class="row"><div class="col-lg-12 col-md-12 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'chart'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><p id="category_help" class="text-muted text-center">{{ 'category_chart_click'|_ }}</p><canvas id="category_chart" class="wide-chart" height="400" width="100%"></canvas></div>diff --git a/resources/views/reports/default/year.twig b/resources/views/reports/default/year.twigindex cd626ff379..da7b12940a 100644--- a/resources/views/reports/default/year.twig+++ b/resources/views/reports/default/year.twig@@ -13,7 +13,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'incomeVsExpenses'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><canvas id="income-expenses-chart" class="wide-chart" height="400" width="100%"></canvas></div></div>@@ -23,7 +23,7 @@{# balances and inc vs exp #}<div class="row"><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'accountBalances'|_ }}</h3></div>@@ -38,7 +38,7 @@</div></div><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'incomeVsExpenses'|_ }}</h3></div>@@ -57,7 +57,7 @@{# income and expenses. #}<div class="row"><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'income'|_ }}</h3></div>@@ -72,7 +72,7 @@</div></div><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'expenses'|_ }}</h3></div>@@ -91,11 +91,11 @@{# net worth #}<div class="row"><div class="col-lg-12 col-md-12 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'net_worth'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><canvas id="net-worth" class="wide-chart" height="400" width="100%"></canvas></div><div class="box-footer">@@ -110,7 +110,7 @@{# This is the budget overview generated by budget period report #}<div class="row"><div class="col-lg-12 col-md-12 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'budgets'|_ }}</h3></div>@@ -130,11 +130,11 @@{# This is the chart that belongs to the above overview. #}<div class="row"><div class="col-lg-12 col-md-12 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'chart'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><p id="budget_help" class="text-muted text-center">{{ 'budget_chart_click'|_ }}</p><canvas id="budget_chart" class="wide-chart" height="400" width="100%"></canvas></div>@@ -145,7 +145,7 @@{# same thing but for categories (expenses) #}<div class="row"><div class="col-lg-12 col-md-12 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'categories'|_ }} ({{ 'expenses'|_ }})</h3></div>@@ -164,7 +164,7 @@{# same thing but for categories (income) #}<div class="row"><div class="col-lg-12 col-md-12 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'categories'|_ }} ({{ 'income'|_ }})</h3></div>@@ -183,11 +183,11 @@{# and the same chart too! #}<div class="row"><div class="col-lg-12 col-md-12 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'chart'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><p id="category_help" class="text-muted text-center">{{ 'category_chart_click'|_ }}</p><canvas id="category_chart" class="wide-chart" height="400" width="100%"></canvas></div>diff --git a/resources/views/reports/double/report.twig b/resources/views/reports/double/report.twigindex 344471b929..6f5ad9cc58 100644--- a/resources/views/reports/double/report.twig+++ b/resources/views/reports/double/report.twig@@ -8,7 +8,7 @@<div class="row"><div class="col-lg-6 col-md-12 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'in_out_accounts'|_ }}</h3></div>@@ -24,7 +24,7 @@</div><div class="col-lg-6 col-md-12 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'in_out_accounts_per_asset'|_ }}</h3></div>@@ -42,11 +42,11 @@<div class="row"><div class="col-lg-4 col-md-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'expense_per_category'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div class="center-chart"><canvas id="category-out-pie-chart" class="medium-chart" height="250"></canvas></div>@@ -54,11 +54,11 @@</div></div><div class="col-lg-4 col-md-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'income_per_category'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div class="center-chart"><canvas id="category-in-pie-chart" class="medium-chart" height="250"></canvas></div>@@ -66,11 +66,11 @@</div></div><div class="col-lg-4 col-md-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'expense_per_budget'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div class="center-chart"><canvas id="budgets-out-pie-chart" class="medium-chart" height="250"></canvas></div>@@ -81,11 +81,11 @@<div class="row"><div class="col-lg-6 col-md-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'expense_per_tag'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div class="center-chart"><canvas id="tag-out-pie-chart" class="medium-chart" height="250"></canvas></div>@@ -98,11 +98,11 @@</div></div><div class="col-lg-6 col-md-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'income_per_tag'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div class="center-chart"><canvas id="tag-in-pie-chart" class="medium-chart" height="250"></canvas></div>@@ -124,7 +124,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'income_and_expenses'|_ }} ({{ account.name }}) {% if account.iban %}({{ account.iban }}){% endif %}</h3></div>- <div class="box-body">+ <div class="card-body"><canvas class="main_double_canvas"data-url="{{ route('chart.double.main', [accountIds, account.id, start.format('Ymd'), end.format('Ymd')]) }}"id="in-out-chart-{{ account.id }}" class="wide-chart" height="400" width="100%"></canvas>@@ -136,7 +136,7 @@<div class="row"><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'expenses'|_ }} ({{ trans('firefly.topX', {number: listLength}) }})</h3></div>@@ -152,7 +152,7 @@</div><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'income'|_ }} ({{ trans('firefly.topX', {number: listLength}) }})</h3></div>@@ -170,7 +170,7 @@<div class="row"><div class="col-lg-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'average_spending_per_source'|_ }}</h3></div>@@ -185,7 +185,7 @@</div></div><div class="col-lg-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'average_earning_per_destination'|_ }}</h3></div>diff --git a/resources/views/reports/index.twig b/resources/views/reports/index.twigindex 6e3b43089d..30b0213faf 100644--- a/resources/views/reports/index.twig+++ b/resources/views/reports/index.twig@@ -9,11 +9,11 @@<div class="row"><form class="form-horizontal nodisablebutton" id="report-form" action="{{ route('reports.index.post') }}" method="post"><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'reports'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><p class="text-info">{{ 'more_info_help'|_ }}</p>@@ -108,11 +108,11 @@</div></div>- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'reports_submit'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div class="form-group"><div class="col-sm-offset-3 col-sm-9"><button type="submit" class="btn btn-default">{{ 'submit'|_ }}</button>@@ -125,11 +125,11 @@<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'quick_link_reports'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{% if '' == accountList %}<p class="text-danger">{{ 'quick_link_needs_accounts'|_ }}diff --git a/resources/views/reports/partials/category-period.twig b/resources/views/reports/partials/category-period.twigindex 0f86503ade..10d0b0c333 100644--- a/resources/views/reports/partials/category-period.twig+++ b/resources/views/reports/partials/category-period.twig@@ -1,4 +1,4 @@-<table class="table table-hover sortable table-condensed">+<table class="table table-hover sortable table-sm"><thead><tr><th data-defaultsign="az" colspan="2">{{ 'category'|_ }}</th>diff --git a/resources/views/reports/tag/month.twig b/resources/views/reports/tag/month.twigindex 82dffb24fb..f75c835051 100644--- a/resources/views/reports/tag/month.twig+++ b/resources/views/reports/tag/month.twig@@ -8,7 +8,7 @@<div class="row"><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'accounts'|_ }}</h3></div>@@ -23,7 +23,7 @@</div></div><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'tags'|_ }}</h3></div>@@ -40,7 +40,7 @@</div><div class="row"><div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'account_per_tag'|_ }}</h3></div>@@ -57,11 +57,11 @@</div><div class="row"><div class="col-lg-6 col-md-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'expense_per_tag'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div class="center-chart"><canvas id="tag-out-pie-chart" class="medium-chart" height="250"></canvas></div>@@ -69,11 +69,11 @@</div></div><div class="col-lg-6 col-md-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'income_per_tag'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div class="center-chart"><canvas id="tag-in-pie-chart" class="medium-chart" height="250"></canvas></div>@@ -83,11 +83,11 @@</div><div class="row"><div class="col-lg-4 col-md-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'expense_per_category'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div class="center-chart"><canvas id="category-out-pie-chart" class="medium-chart" height="250"></canvas></div>@@ -95,11 +95,11 @@</div></div><div class="col-lg-4 col-md-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'income_per_category'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div class="center-chart"><canvas id="category-in-pie-chart" class="medium-chart" height="250"></canvas></div>@@ -107,11 +107,11 @@</div></div><div class="col-lg-4 col-md-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'expense_per_budget'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div class="center-chart"><canvas id="budgets-out-pie-chart" class="medium-chart" height="250"></canvas></div>@@ -121,11 +121,11 @@</div><div class="row"><div class="col-lg-6 col-md-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'expense_per_source_account'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div class="center-chart"><canvas id="source-out-pie-chart" class="medium-chart" height="250"></canvas></div>@@ -133,11 +133,11 @@</div></div><div class="col-lg-6 col-md-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'income_per_source_account'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div class="center-chart"><canvas id="source-in-pie-chart" class="medium-chart" height="250"></canvas></div>@@ -147,11 +147,11 @@</div><div class="row"><div class="col-lg-6 col-md-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'expense_per_destination_account'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div class="center-chart"><canvas id="dest-out-pie-chart" class="medium-chart" height="250"></canvas></div>@@ -159,11 +159,11 @@</div></div><div class="col-lg-6 col-md-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'income_per_destination_account'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><div class="center-chart"><canvas id="dest-in-pie-chart" class="medium-chart" height="250"></canvas></div>@@ -179,7 +179,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'income_and_expenses'|_ }} ({{ tag.tag }})</h3></div>- <div class="box-body">+ <div class="card-body"><canvas class="main_tag_canvas"data-url="{{ route('chart.tag.main', [accountIds, tag.id, start.format('Ymd'), end.format('Ymd')]) }}"id="in-out-chart-{{ tag.id }}" class="wide-chart" height="400" width="100%"></canvas>@@ -193,7 +193,7 @@{% endfor %}<div class="row"><div class="col-lg-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'average_spending_per_destination'|_ }}</h3></div>@@ -208,7 +208,7 @@</div></div><div class="col-lg-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'average_earning_per_source'|_ }}</h3></div>@@ -225,7 +225,7 @@</div><div class="row"><div class="col-lg-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'expenses'|_ }} ({{ trans('firefly.topX', {number: listLength}) }})</h3></div>@@ -240,7 +240,7 @@</div></div><div class="col-lg-6">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'income'|_ }} ({{ trans('firefly.topX', {number: listLength}) }})</h3></div>diff --git a/resources/views/rules/old-index.twig b/resources/views/rules/old-index.twigindex 32170c395b..5c04e0847a 100644--- a/resources/views/rules/old-index.twig+++ b/resources/views/rules/old-index.twig@@ -61,7 +61,7 @@</div></div>- <div class="box-body">+ <div class="card-body"><p><em>{{ ruleGroup.description }}</em></p>diff --git a/resources/views/rules/rule-group/create.twig b/resources/views/rules/rule-group/create.twigindex 69c4311765..9fdea36f75 100644--- a/resources/views/rules/rule-group/create.twig+++ b/resources/views/rules/rule-group/create.twig@@ -13,7 +13,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'mandatoryFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.text('title') }}</div></div>@@ -21,11 +21,11 @@<div class="col-lg-6 col-md-6 col-sm-12">{# optional fields #}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'optionalFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.textarea('description') }}</div></div>@@ -34,11 +34,11 @@<div class="row"><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">{# panel for options #}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'options'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.optionsList('create','rule-group') }}</div><div class="box-footer">diff --git a/resources/views/rules/rule-group/delete.twig b/resources/views/rules/rule-group/delete.twigindex 6d68075cce..3fda99f367 100644--- a/resources/views/rules/rule-group/delete.twig+++ b/resources/views/rules/rule-group/delete.twig@@ -14,7 +14,7 @@<div class="box-header with-border"><h3 class="box-title">{{ trans('form.delete_rule_group', {'title': ruleGroup.title}) }}</h3></div>- <div class="box-body">+ <div class="card-body"><p class="text-danger">{{ trans('form.permDeleteWarning') }}</p>diff --git a/resources/views/rules/rule-group/edit.twig b/resources/views/rules/rule-group/edit.twigindex 9707b4bc0b..ce96dab61b 100644--- a/resources/views/rules/rule-group/edit.twig+++ b/resources/views/rules/rule-group/edit.twig@@ -17,7 +17,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'mandatoryFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{# only correct way to do active checkbox #}{{ ExpandedForm.checkbox('active', 1) }}@@ -29,11 +29,11 @@<div class="col-lg-6 col-md-12 col-sm-6">{# optional fields #}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'optionalFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.textarea('description', ruleGroup.description) }}</div></div>@@ -42,11 +42,11 @@<div class="row"><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">{# panel for options #}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'options'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.optionsList('update','rule-group') }}</div><div class="box-footer">diff --git a/resources/views/rules/rule-group/select-transactions.twig b/resources/views/rules/rule-group/select-transactions.twigindex b941c19bbd..70545b8c3a 100644--- a/resources/views/rules/rule-group/select-transactions.twig+++ b/resources/views/rules/rule-group/select-transactions.twig@@ -17,7 +17,7 @@<div class="box-header with-border"><h3 class="box-title">{{ subTitle }}</h3></div>- <div class="box-body">+ <div class="card-body"><div id="form-body"><p>{{ trans('firefly.apply_rule_group_selection_intro', {title: ruleGroup.title}) }}diff --git a/resources/views/rules/rule/create.twig b/resources/views/rules/rule/create.twigindex b854a92a63..aafa8a3c1d 100644--- a/resources/views/rules/rule/create.twig+++ b/resources/views/rules/rule/create.twig@@ -20,7 +20,7 @@<div class="box-header with-border"><h3 class="box-title">{{ trans('firefly.create_rule_for_bill', {name: bill.name}) }}</h3></div>- <div class="box-body">+ <div class="card-body"><p class="text-info">{{ trans('firefly.create_rule_for_bill_txt', {name: bill.name}) }}</p>@@ -35,7 +35,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'mandatoryFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.text('title') }}{{ ExpandedForm.select('trigger',allJournalTriggers()) }}{{ RuleForm.ruleGroupList('rule_group_id', ruleGroup.id) }}@@ -47,11 +47,11 @@<div class="col-lg-6 col-md-6 col-sm-12">{# optional fields #}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'optionalFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.textarea('description', null, {helpText: trans('firefly.field_supports_markdown')}) }}</div></div>@@ -60,12 +60,12 @@<div class="row"><div class="col-lg-12 col-md-12 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'rule_triggers'|_ }}</h3></div><div class="box-body rule-trigger-box">- <table class="table table-condensed table-bordered table-striped">+ <table class="table table-sm table-bordered table-striped"><thead><tr><th colspan="2">{{ 'trigger'|_ }}</th>@@ -95,12 +95,12 @@<div class="row"><div class="col-lg-12 col-md-12 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'rule_actions'|_ }}</h3></div><div class="box-body rule-action-box">- <table class="table table-condensed table-bordered table-striped">+ <table class="table table-sm table-bordered table-striped"><thead><tr><th colspan="2">{{ 'action'|_ }}</th>@@ -127,11 +127,11 @@<div class="row"><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">{# panel for options #}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'options'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.checkbox('run_after_form',1,null, {helpText: trans('firefly.rule_run_after_creation')}) }}{{ ExpandedForm.optionsList('create','rule') }}</div>diff --git a/resources/views/rules/rule/delete.twig b/resources/views/rules/rule/delete.twigindex ac328bbf9e..2591c0cc27 100644--- a/resources/views/rules/rule/delete.twig+++ b/resources/views/rules/rule/delete.twig@@ -14,7 +14,7 @@<div class="box-header with-border"><h3 class="box-title">{{ trans('form.delete_rule', {'title': rule.title}) }}</h3></div>- <div class="box-body">+ <div class="card-body"><p class="text-danger">{{ trans('form.permDeleteWarning') }}</p>diff --git a/resources/views/rules/rule/edit.twig b/resources/views/rules/rule/edit.twigindex 5110f2cf25..ab8fce2c29 100644--- a/resources/views/rules/rule/edit.twig+++ b/resources/views/rules/rule/edit.twig@@ -16,7 +16,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'mandatoryFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.text('title', rule.title) }}{{ RuleForm.ruleGroupList('rule_group_id', rule.rule_group_id) }}{{ ExpandedForm.select('trigger',allJournalTriggers(), primaryTrigger) }}@@ -32,11 +32,11 @@<div class="col-lg-6 col-md-6 col-sm-12">{# optional fields #}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'optionalFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.textarea('description', rule.description, {helpText: trans('firefly.field_supports_markdown')}) }}</div></div>@@ -45,12 +45,12 @@<div class="row"><div class="col-lg-12 col-md-12 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'rule_triggers'|_ }}</h3></div><div class="box-body rule-trigger-box">- <table class="table table-condensed table-bordered table-striped">+ <table class="table table-sm table-bordered table-striped"><thead><tr><th colspan="2">{{ 'trigger'|_ }}</th>@@ -81,12 +81,12 @@<div class="row"><div class="col-lg-12 col-md-12 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'rule_actions'|_ }}</h3></div>- <div class="box-body">- <table class="table table-condensed table-bordered table-striped">+ <div class="card-body">+ <table class="table table-sm table-bordered table-striped"><thead><tr><th colspan="2">{{ 'action'|_ }}</th>@@ -113,11 +113,11 @@<div class="row"><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">{# panel for options #}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'options'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.checkbox('run_after_form',1,null, {helpText: trans('firefly.rule_run_after_edit')}) }}{{ ExpandedForm.optionsList('update','rule') }}</div>diff --git a/resources/views/rules/rule/select-transactions.twig b/resources/views/rules/rule/select-transactions.twigindex ca7f8d565c..976078e4b6 100644--- a/resources/views/rules/rule/select-transactions.twig+++ b/resources/views/rules/rule/select-transactions.twig@@ -16,7 +16,7 @@<div class="box-header with-border"><h3 class="box-title">{{ subTitle }}</h3></div>- <div class="box-body">+ <div class="card-body"><div id="form-body"><p>{{ trans('firefly.apply_rule_selection_intro', {title: rule.title}) }}diff --git a/resources/views/search/index.twig b/resources/views/search/index.twigindex 2b971f4c67..480ecf1a71 100644--- a/resources/views/search/index.twig+++ b/resources/views/search/index.twig@@ -11,7 +11,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'search_box'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><p>{{ 'search_box_intro'|_ }}</p>@@ -90,7 +90,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'transactions'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><p class="search_ongoing text-center">{{ 'search_searching'|_ }}</p>@@ -131,7 +131,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'search_error'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><p class="search_ongoing">{{ 'general_search_error'|_ }}</p>@@ -143,11 +143,11 @@{% if query|length == 0 and excludedWords|length == 0 and words|length == 0 and operators|length == 0 %}<div class="row"><div class="col-lg-12 col-md-12 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'search_results'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><p>{{ 'no_results_for_empty_search'|_ }}</p></div></div>diff --git a/resources/views/settings/configuration/index.twig b/resources/views/settings/configuration/index.twigindex 6431bcf49d..30bb6af231 100644--- a/resources/views/settings/configuration/index.twig+++ b/resources/views/settings/configuration/index.twig@@ -35,7 +35,7 @@ Technical stuff<div class="box-header with-border"><h3 class="box-title">{{ 'config_security'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><h4>{{ 'setting_single_user_mode'|_ }}</h4>@@ -54,7 +54,7 @@ Technical stuff<div class="box-header with-border"><h3 class="box-title">{{ 'config_features'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><h4>{{ 'setting_enable_exchange_rates'|_ }}</h4>@@ -89,7 +89,7 @@ Technical stuff<div class="box-header with-border"><h3 class="box-title">{{ 'config_external_connections'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><h4>{{ 'setting_enable_external_map'|_ }}</h4>@@ -124,7 +124,7 @@ Technical stuff<div class="box-header with-border"><h3 class="box-title">{{ 'config_tech'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><h4>{{ 'setting_valid_url_protocols'|_ }}</h4>diff --git a/resources/views/settings/index.twig b/resources/views/settings/index.twigindex 2b0232c07d..16af768a48 100644--- a/resources/views/settings/index.twig+++ b/resources/views/settings/index.twig@@ -10,7 +10,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'instance_configuration'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><ul><li><a href="{{ route('settings.configuration.index') }}">{{ 'firefly_instance_configuration'|_ }}</a>@@ -25,7 +25,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'user_administration'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><ul><li><a href="{{ route('settings.users') }}">{{ 'list_all_users'|_ }}</a></li></ul>@@ -37,7 +37,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'admin_maintanance_title'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><p>{{ 'admin_maintanance_expl'|_ }}</p>diff --git a/resources/views/settings/link/create.twig b/resources/views/settings/link/create.twigindex e8932d73e6..9763286316 100644--- a/resources/views/settings/link/create.twig+++ b/resources/views/settings/link/create.twig@@ -14,7 +14,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'mandatoryFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.text('name', null, {helpText: trans('firefly.link_type_help_name')}) }}{{ ExpandedForm.text('inward', null, {helpText: trans('firefly.link_type_help_inward')}) }}{{ ExpandedForm.text('outward', null, {helpText: trans('firefly.link_type_help_outward')}) }}@@ -25,11 +25,11 @@<div class="row"><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">{# panel for options #}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'options'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.optionsList('create','link_type') }}</div><div class="box-footer">diff --git a/resources/views/settings/link/delete.twig b/resources/views/settings/link/delete.twigindex dee7289166..20a20b7ef5 100644--- a/resources/views/settings/link/delete.twig+++ b/resources/views/settings/link/delete.twig@@ -15,7 +15,7 @@<div class="box-header with-border"><h3 class="box-title">{{ trans('form.delete_link_type', {'name': linkType.name}) }}</h3></div>- <div class="box-body">+ <div class="card-body"><p class="text-danger">{{ trans('form.permDeleteWarning') }}</p>diff --git a/resources/views/settings/link/edit.twig b/resources/views/settings/link/edit.twigindex b5b289509c..2f9c290835 100644--- a/resources/views/settings/link/edit.twig+++ b/resources/views/settings/link/edit.twig@@ -17,7 +17,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'mandatoryFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.text('name', linkType.name, {helpText: trans('firefly.link_type_help_name')}) }}{{ ExpandedForm.text('inward', linkType.inward, {helpText: trans('firefly.link_type_help_inward')}) }}{{ ExpandedForm.text('outward', linkType.outward, {helpText: trans('firefly.link_type_help_outward')}) }}@@ -29,11 +29,11 @@<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">{# panel for options #}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'options'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.optionsList('update','link_type') }}</div><div class="box-footer">diff --git a/resources/views/settings/notifications/index.twig b/resources/views/settings/notifications/index.twigindex 6a94f37010..6023e84443 100644--- a/resources/views/settings/notifications/index.twig+++ b/resources/views/settings/notifications/index.twig@@ -12,7 +12,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'notification_settings'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><p>{{ trans('firefly.owner_notifications_expl') }}</p>@@ -50,7 +50,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'available_channels_title'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><p>{{ 'available_channels_expl'|_ }}</p>diff --git a/resources/views/settings/update/index.twig b/resources/views/settings/update/index.twigindex 75fd76f769..695ebdcff4 100644--- a/resources/views/settings/update/index.twig+++ b/resources/views/settings/update/index.twig@@ -15,7 +15,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'admin_update_channel_title'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><p class="text-info">{{ 'admin_update_channel_explain'|_ }}</p>@@ -30,7 +30,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'admin_update_check_title'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><p class="text-info">{{ 'admin_update_check_explain'|_ }}</p>@@ -45,7 +45,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'admin_update_check_now_title'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><p class="text-info">{{ 'admin_update_check_now_explain'|_ }}</p>diff --git a/resources/views/settings/users/delete.twig b/resources/views/settings/users/delete.twigindex baaf289006..02fce92081 100644--- a/resources/views/settings/users/delete.twig+++ b/resources/views/settings/users/delete.twig@@ -15,7 +15,7 @@<div class="box-header with-border"><h3 class="box-title">{{ trans('form.delete_user', {'email': user.email}) }}</h3></div>- <div class="box-body">+ <div class="card-body"><p class="text-danger">{{ trans('form.permDeleteWarning') }}</p>diff --git a/resources/views/settings/users/edit.twig b/resources/views/settings/users/edit.twigindex 260fee2262..ae15e11490 100644--- a/resources/views/settings/users/edit.twig+++ b/resources/views/settings/users/edit.twig@@ -18,7 +18,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'mandatoryFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{% if canEditDetails %}{{ ExpandedForm.text('email',user.email,{'helpText': trans('firefly.admin_update_email')}) }}{{ ExpandedForm.password('password') }}@@ -40,11 +40,11 @@<div class="row"><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">{# panel for options #}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'options'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.optionsList('update','account') }}</div><div class="box-footer">diff --git a/resources/views/settings/users/index.twig b/resources/views/settings/users/index.twigindex 920c248da1..eb193120a7 100644--- a/resources/views/settings/users/index.twig+++ b/resources/views/settings/users/index.twig@@ -13,7 +13,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'invite_new_user_title'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><p>{{ 'invite_new_user_text'|_ }}</p>@@ -36,7 +36,7 @@<h3 class="box-title">{{ 'all_users'|_ }}</h3></div><div class="box-body no-padding">- <table class="table table-responsive table-condensed sortable" aria-label="Table">+ <table class="table table-responsive table-sm sortable" aria-label="Table"><thead><tr><th data-defaultsign="_19" class="hidden-xs" colspan="2"> </th>@@ -116,12 +116,12 @@{% if invitedUsers.count > 0 %}<div class="row"><div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'all_invited_users'|_ }}</h3></div><div class="box-body no-padding">- <table class="table table-responsive table-condensed sortable">+ <table class="table table-responsive table-sm sortable"><thead><tr><th data-defaultsign="_19" class="hidden-xs" colspan="1"> </th>diff --git a/resources/views/settings/users/show.twig b/resources/views/settings/users/show.twigindex 1c2cae88ff..fa1e2c3ca6 100644--- a/resources/views/settings/users/show.twig+++ b/resources/views/settings/users/show.twig@@ -10,7 +10,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'user_information'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><table class="table table-striped table-bordered table-responsive"><tbody><tr>@@ -75,7 +75,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'user_data_information'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><table class="table table-striped table-bordered table-responsive"><tr><td>{{ trans('list.accounts_count') }}</td>diff --git a/resources/views/tags/create.twig b/resources/views/tags/create.twigindex c1b390348f..f61d9a1376 100644--- a/resources/views/tags/create.twig+++ b/resources/views/tags/create.twig@@ -19,7 +19,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'mandatoryFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.text('tag') }}</div></div>@@ -27,11 +27,11 @@<div class="col-lg-7 col-md-7 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'optionalFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.date('date') }}{{ ExpandedForm.textarea('description') }}{{ ExpandedForm.file('attachments[]', {'multiple': 'multiple','helpText': trans('firefly.upload_max_file_size', {'size': uploadSize|filesize}) }) }}@@ -42,11 +42,11 @@<div class="row"><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">{# panel for options #}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'options'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.optionsList('create','tag') }}</div><div class="box-footer">diff --git a/resources/views/tags/delete.twig b/resources/views/tags/delete.twigindex 75ea8f9662..92a44a4518 100644--- a/resources/views/tags/delete.twig+++ b/resources/views/tags/delete.twig@@ -14,7 +14,7 @@<div class="box-header with-border"><h3 class="box-title">{{ trans('firefly.delete_tag',{tag: tag.tag}) }}</h3></div>- <div class="box-body">+ <div class="card-body"><p class="text-danger">{{ trans('form.permDeleteWarning') }}</p>diff --git a/resources/views/tags/edit.twig b/resources/views/tags/edit.twigindex 032e8677e4..11c60f772f 100644--- a/resources/views/tags/edit.twig+++ b/resources/views/tags/edit.twig@@ -23,7 +23,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'mandatoryFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.text('tag', tag.tag) }}</div></div>@@ -31,11 +31,11 @@<div class="col-lg-7 col-md-7 col-sm-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'optionalFields'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.date('date', tag.date.format('Y-m-d')) }}{{ ExpandedForm.textarea('description', tag.description) }}{{ ExpandedForm.file('attachments[]', {'multiple': 'multiple','helpText': trans('firefly.upload_max_file_size', {'size': uploadSize|filesize}) }) }}@@ -46,11 +46,11 @@<div class="row"><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">{# panel for options #}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'options'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body">{{ ExpandedForm.optionsList('update','tag') }}</div><div class="box-footer">diff --git a/resources/views/tags/index.blade.php b/resources/views/tags/index.blade.phpnew file mode 100644index 0000000000..a6c4485cb2--- /dev/null+++ b/resources/views/tags/index.blade.php@@ -0,0 +1,54 @@+@extends('layout.v3.session')+@section('content')+ @if(0 === $count)+ @php+ $shownDemo = true+ @endphp+ <x-empty-page :route="route('tags.create')" type="tags" object-type="default" />+ @endif+ <form action="{{ route('tags.mass-destroy') }}" method="post">+ <input type="hidden" name="_token" value="{{ csrf_token() }}"/>+ @foreach($tags as $period => $entries)+ @if(count($entries) > 0)+ <div class="row mb-2">+ <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">+ <div class="card">+ <x-elements.card-header-with-menu :cardTitle="'no-date' === $period ? __('firefly.without_date') : $period" :route="route('tags.create')" :linkTitle="__('firefly.no_tags_create_default')"/>+ <div class="card-body">+ <div class="row">+ @foreach($entries as $tagInfo)+ <div class="col-xs-6 col-sm-4 col-md-3 col-lg-2 big-line">+ <input type="checkbox" name="tags[]" value="{{ $tagInfo['id'] }}">+ <a+ class="badge text-bg-success text-truncate d-inline-block"++ title="{{ $tagInfo['created_at']->isoFormat($monthAndDayFormat) }}"+ href="{{ route('tags.show',[$tagInfo['id']]) }}">@if(null !== $tagInfo['location'])<span class="bi bi-geo-alt"></span>@endif<span class="bi bi-tag"></span> @if(strlen($tagInfo['tag']) > 20){{ substr($tagInfo['tag'],0,20) }}...@else{{ $tagInfo['tag'] }}@endif @if($tagInfo['attachments']->count() > 0)<span class="bi bi-paperclip"></span>@endif</a></div>+ @endforeach+ </div>+ </div>+ <x-elements.card-footer-with-menu :route="route('tags.create')" :linkTitle="__('firefly.no_tags_create_default')" />+ </div>+ </div>+ </div>+ @endif+ @endforeach+ <div class="row">+ <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">+ <p>+ <button type="submit" class="btn pull-right btn-danger confirm-tag-delete">+ <span class="bi bi-trash"></span> {{ __('firefly.delete_all_selected_tags') }}+ </button>+ </p>+ </div>+ </div>+ </form>++@endsection+@section('scripts')+ @vite(['js/pages/tags/index.js'])+ <script nonce="{{ $JS_NONCE }}">+ var confirmText = '{{ e(__('firefly.are_you_sure')) }}';+ </script>+ <script src="v1/js/ff/tags/index.js?v={{ $FF_BUILD_TIME }}" nonce="{{ $JS_NONCE }}"></script>+@endsectiondiff --git a/resources/views/tags/index.twig b/resources/views/tags/index.twigdeleted file mode 100644index 69e8409173..0000000000--- a/resources/views/tags/index.twig+++ /dev/null@@ -1,77 +0,0 @@-{% extends './layout/default' %}--{% block breadcrumbs %}- {{ Breadcrumbs.render(Route.getCurrentRoute.getName) }}-{% endblock %}--{% block content %}- {% if count == 0 %}- {% include 'partials.empty' with {objectType: 'default', type: 'tags',route: route('tags.create')} %}- {% else %}- <div class="row">- <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">- <p>- <a class="btn btn-success" href="{{ route('tags.create') }}"><span class="bi bi-plus-circle"></span> {{ ('no_tags_create_default')|_ }}</a>- </p>- </div>- </div>- <form action="{{ route('tags.mass-destroy') }}" method="post">- <input type="hidden" name="_token" value="{{ csrf_token() }}"/>- {% for period, entries in tags %}- {% if entries|length > 0 %}- <div class="row">- <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">- <div class="box">- <div class="box-header with-border">- <h3 class="box-title">- {% if period == 'no-date' %}{{ 'without_date'|_ }}{% else %}{{ period }}{% endif %}- </h3>- </div>- <div class="box-body">- <div class="row">- {% for tagInfo in entries %}- <div class="col-xs-6 col-sm-4 col-md-3 col-lg-2 big-line">- <input type="checkbox" name="tags[]" value="{{ tagInfo.id }}"> <a- class="label label-success bold-label"-- title="{{ tagInfo.created_at.isoFormat(monthAndDayFormat) }}"- href="{{ route('tags.show',tagInfo.id) }}">{% if tagInfo.location %}<span class="fa fa-map-marker"></span>{% endif %}<span class="bi bi-tag"></span>{{ tagInfo.tag }}{% if tagInfo.attachments.count() > 0 %}<span class="bi bi-paperclip"></span>{% endif %}</a></div>-- {% endfor %}- </div>-- <ul class="list-inline">- {% for tagInfo in entries %}- <li>- <!-- -->-- </li>- {% endfor %}- </ul>-- </div>- </div>- </div>- </div>- {% endif %}- {% endfor %}- <div class="row">- <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">- <p>- <a class="btn btn-success" href="{{ route('tags.create') }}"><span class="bi bi-plus-circle"></span> {{ ('no_tags_create_default')|_ }}</a>- <button type="submit" class="btn pull-right btn-danger confirm-tag-delete">- <span class="bi bi-trash"></span> {{ 'delete_all_selected_tags'|_ }}- </button>- </p>- </div>- </div>- </form>- {% endif %}--{% endblock %}-{% block scripts %}- <script nonce="{{ JS_NONCE }}">- var confirmText = '{{ 'are_you_sure'|_|escape('js') }}';- </script>- <script src="v1/js/ff/tags/index.js?v={{ FF_BUILD_TIME }}" nonce="{{ JS_NONCE }}"></script>-{% endblock %}diff --git a/resources/views/tags/show.twig b/resources/views/tags/show.twigindex 867e2c1154..a532e87c66 100644--- a/resources/views/tags/show.twig+++ b/resources/views/tags/show.twig@@ -7,7 +7,7 @@{% block content %}<div class="row"><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'meta_data'|_ }}</h3>@@ -175,7 +175,7 @@</div></div><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'location'|_ }}</h3><div class="box-tools pull-right">@@ -193,7 +193,7 @@</div></div></div>- <div class="box-body">+ <div class="card-body">{% if(location) %}<div id="location_map" class="map-size"></div>{% else %}@@ -206,7 +206,7 @@{% if attachments.count() > 0 %}<div class="row"><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'attachments'|_ }}@@ -230,7 +230,7 @@{% endif %}<div class="row"><div class="{% if periods|length > 0 %}col-lg-10 col-md-10 col-sm-12 col-xs-12{% else %}col-lg-12 col-md-12 col-sm-12 col-xs-12{% endif %}">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'transactions'|_ }}</h3>@@ -250,7 +250,7 @@</div></div></div>- <div class="box-body">+ <div class="card-body">{% include 'list.groups' with {showBudget:true, showCategory: true} %}{% if periods|length > 0 %}diff --git a/resources/views/transactions/bulk/edit.twig b/resources/views/transactions/bulk/edit.twigindex 6fa2e7f2e4..b9fe9a0596 100644--- a/resources/views/transactions/bulk/edit.twig+++ b/resources/views/transactions/bulk/edit.twig@@ -15,14 +15,14 @@<h3 class="box-title">{{ 'mass_bulk_journals'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><p>{{ 'mass_bulk_journals_explain'|_ }}</p><div class="row"><div class="col-lg-8 col-md-12 col-sm-12 col-xs-12">- <table class="table table-striped table-condensed">+ <table class="table table-striped table-sm"><thead><tr><th>{{ trans('list.description') }}</th>@@ -100,7 +100,7 @@</p><div class="row"><div class="col-lg-8 col-md-12 col-sm-12 col-xs-12">- <table class="table table-striped table-condensed">+ <table class="table table-striped table-sm"><tr><th class="quarter">{{ trans('list.category') }}</th><td>diff --git a/resources/views/transactions/convert.twig b/resources/views/transactions/convert.twigindex ad3a9e564b..845ab3374b 100644--- a/resources/views/transactions/convert.twig+++ b/resources/views/transactions/convert.twig@@ -16,7 +16,7 @@<div class="box-header with-border"><h3 class="box-title">{{ ('convert_options_'~sourceType.type~destinationType.type)|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><p>{# ONE: WITHDRAWAL TO DEPOSIT #}{% if sourceType.type == 'Withdrawal' and destinationType.type == 'Deposit' %}diff --git a/resources/views/transactions/delete.twig b/resources/views/transactions/delete.twigindex 5589e90e02..c836571ab0 100644--- a/resources/views/transactions/delete.twig+++ b/resources/views/transactions/delete.twig@@ -14,7 +14,7 @@<div class="box-header with-border"><h3 class="box-title">{{ trans('form.delete_journal', {'description': group.title|default(journal.description)}) }}</h3></div>- <div class="box-body">+ <div class="card-body"><p class="text-danger">{{ trans('form.permDeleteWarning') }}</p>diff --git a/resources/views/transactions/links/delete.twig b/resources/views/transactions/links/delete.twigindex b78bda5769..66f221b760 100644--- a/resources/views/transactions/links/delete.twig+++ b/resources/views/transactions/links/delete.twig@@ -14,7 +14,7 @@<div class="box-header with-border"><h3 class="box-title">{{ trans('firefly.delete_journal_link', {source: link.source.description|escape, destination: link.destination.description|escape, source_link: route('transactions.show', [link.source_id]) , destination_link: route('transactions.show',link.destination_id)})|raw }}</h3></div>- <div class="box-body">+ <div class="card-body"><p class="text-danger">{{ trans('form.permDeleteWarning') }}</p>diff --git a/resources/views/transactions/mass/delete.twig b/resources/views/transactions/mass/delete.twigindex 78dc238808..73fc1c9962 100644--- a/resources/views/transactions/mass/delete.twig+++ b/resources/views/transactions/mass/delete.twig@@ -14,7 +14,7 @@<div class="box-header with-border"><h3 class="box-title">{{ 'mass_delete_journals'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><p class="text-danger">{{ trans('form.permDeleteWarning') }}{{ 'perm-delete-many'|_ }}@@ -24,7 +24,7 @@{{ trans('form.mass_make_selection') }}</p>- <table class="table table-striped table-condensed">+ <table class="table table-striped table-sm"><tr><th> </th><th>{{ trans('list.transaction_type') }}</th>diff --git a/resources/views/transactions/mass/edit.twig b/resources/views/transactions/mass/edit.twigindex 31029a8c0f..d0b6ec542c 100644--- a/resources/views/transactions/mass/edit.twig+++ b/resources/views/transactions/mass/edit.twig@@ -14,13 +14,13 @@<div class="box-header with-border"><h3 class="box-title">{{ 'mass_edit_journals'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><p>{{ 'cannot_edit_other_fields'|_ }}<span class="text-danger">{{ 'cannot_change_amount_reconciled'|_ }}</span></p>- <table class="table table-striped table-condensed">+ <table class="table table-striped table-sm"><tr><th class=""> </th><th class="col-lg-2 col-md-2 col-sm-2">{{ trans('list.description') }}</th>diff --git a/resources/views/transactions/old-index.twig b/resources/views/transactions/old-index.twigindex 1c6ea05e6f..10c654b84c 100644--- a/resources/views/transactions/old-index.twig+++ b/resources/views/transactions/old-index.twig@@ -21,11 +21,11 @@<div class="row">{# for withdrawals, deposits and transfers #}<div class="{{ boxSize }}">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'categories'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><canvas id="category_chart" class="medium-chart" height="250"></canvas></div></div>@@ -33,11 +33,11 @@{# only for withdrawals #}{% if objectType == 'withdrawal' %}<div class="{{ boxSize }}">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'budgets'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><canvas id="budget_chart" class="medium-chart" height="250"></canvas></div></div>@@ -45,11 +45,11 @@{% endif %}{% if objectType != 'withdrawal' %}<div class="{{ boxSize }}">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'all_source_accounts'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><canvas id="source_chart" class="medium-chart" height="250"></canvas></div></div>@@ -57,11 +57,11 @@{% endif %}{# for all #}<div class="{{ boxSize }}">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'all_destination_accounts'|_ }}</h3></div>- <div class="box-body">+ <div class="card-body"><canvas id="destination_chart" class="medium-chart" height="250"></canvas></div></div>@@ -72,7 +72,7 @@{# list with journals #}<div class="row"><div class="{% if periods|length > 0 %}col-lg-10 col-md-10 col-sm-12{% else %}col-lg-12 col-md-12 col-sm-12{% endif %}">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ subTitle }}</h3></div>diff --git a/resources/views/transactions/show.twig b/resources/views/transactions/show.twigindex 8b7eec7a93..fc1c5ab3cb 100644--- a/resources/views/transactions/show.twig+++ b/resources/views/transactions/show.twig@@ -96,7 +96,7 @@</div></div>{% if groupLogEntries|length > 0 %}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'audit_log_entries'|_ }}@@ -208,7 +208,7 @@<div class="row">{% for index, journal in selectedGroup.transactions %}<div class="col-lg-{{ boxSize }}">- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ journal.description }}@@ -456,7 +456,7 @@<!-- Transaction links -->{% if links[journal.transaction_journal_id]|length > 0 %}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'journal_links'|_ }}@@ -501,7 +501,7 @@<!-- Attachments -->{% if attachments[journal.transaction_journal_id]|length > 0 %}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'attachments'|_ }}</h3></div>@@ -513,7 +513,7 @@<!-- Piggy bank events -->{% if events[journal.transaction_journal_id]|length > 0 %}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'piggy_events'|_ }}</h3></div>@@ -533,7 +533,7 @@</div>{% endif %}{% if logEntries[journal.transaction_journal_id]|length > 0 %}- <div class="box">+ <div class="card"><div class="box-header with-border"><h3 class="box-title">{{ 'audit_log_entries'|_ }}diff --git a/resources/views/transactions/single/delete.twig b/resources/views/transactions/single/delete.twigindex 37485aeedc..a4266daec2 100644--- a/resources/views/transactions/single/delete.twig+++ b/resources/views/transactions/single/delete.twig@@ -14,7 +14,7 @@<div class="box-header with-border"><h3 class="box-title">{{ trans('form.delete_journal', {'description': journal.description}) }}</h3></div>- <div class="box-body">+ <div class="card-body"><p class="text-danger">{{ trans('form.permDeleteWarning') }}</p>diff --git a/resources/views/webhooks/delete.twig b/resources/views/webhooks/delete.twigindex 54eef2a3f5..07ca7700d7 100644--- a/resources/views/webhooks/delete.twig+++ b/resources/views/webhooks/delete.twig@@ -11,7 +11,7 @@<div class="box-header with-border"><h3 class="box-title">{{ trans('form.delete_webhook', {'title': webhook.title}) }}</h3></div>- <div class="box-body">+ <div class="card-body"><p class="text-danger">{{ trans('form.permDeleteWarning') }}</p>