mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Various code cleanup and fixed alignments.
This commit is contained in:
@@ -25,7 +25,7 @@ declare(strict_types=1);
|
||||
|
||||
return [
|
||||
// index
|
||||
'index' => [
|
||||
'index' => [
|
||||
'intro' => [],
|
||||
'accounts-chart' => ['element' => '#accounts-chart'],
|
||||
'box_out_holder' => ['element' => '#box_out_holder'],
|
||||
@@ -35,11 +35,11 @@ return [
|
||||
'outro' => [],
|
||||
],
|
||||
// accounts: create
|
||||
'accounts_create' => [
|
||||
'accounts_create' => [
|
||||
'iban' => ['element' => '#ffInput_iban'],
|
||||
],
|
||||
// transactions: create
|
||||
'transactions_create' => [
|
||||
'transactions_create' => [
|
||||
'basic_info' => ['element' => '#transaction-info', 'position' => 'right'],
|
||||
'amount_info' => ['element' => '#amount-info', 'position' => 'bottom'],
|
||||
'optional_info' => ['element' => '#optional-info', 'position' => 'left'],
|
||||
@@ -49,21 +49,21 @@ return [
|
||||
'transactions_create_withdrawal' => [
|
||||
],
|
||||
|
||||
'transactions_create_deposit' => [
|
||||
'transactions_create_deposit' => [
|
||||
],
|
||||
|
||||
'transactions_create_transfer' => [
|
||||
'transactions_create_transfer' => [
|
||||
],
|
||||
|
||||
// extra text for asset account creation.
|
||||
'accounts_create_asset' => [
|
||||
'accounts_create_asset' => [
|
||||
'opening_balance' => ['element' => '#ffInput_opening_balance'],
|
||||
'currency' => ['element' => '#ffInput_currency_id'],
|
||||
'virtual' => ['element' => '#ffInput_virtual_balance'],
|
||||
],
|
||||
|
||||
// budgets: index
|
||||
'budgets_index' => [
|
||||
'budgets_index' => [
|
||||
'intro' => [],
|
||||
'set_budget' => ['element' => '#availableBar'],
|
||||
'see_expenses_bar' => ['element' => '#spentBar'],
|
||||
@@ -73,59 +73,59 @@ return [
|
||||
'outro' => [],
|
||||
],
|
||||
// reports: index, default report, audit, budget, cat, tag
|
||||
'reports_index' => [
|
||||
'reports_index' => [
|
||||
'intro' => [],
|
||||
'inputReportType' => ['element' => '#inputReportType'],
|
||||
'inputAccountsSelect' => ['element' => '#inputAccountsSelect'],
|
||||
'inputDateRange' => ['element' => '#inputDateRange'],
|
||||
'extra-options-box' => ['element' => '#extra-options-box', 'position' => 'top'],
|
||||
],
|
||||
'reports_report_default' => [
|
||||
'reports_report_default' => [
|
||||
'intro' => [],
|
||||
],
|
||||
'reports_report_audit' => [
|
||||
'reports_report_audit' => [
|
||||
'intro' => [],
|
||||
'optionsBox' => ['element' => '#optionsBox'],
|
||||
],
|
||||
'reports_report_category' => [
|
||||
'reports_report_category' => [
|
||||
'intro' => [],
|
||||
'pieCharts' => ['element' => '#pieCharts'],
|
||||
'incomeAndExpensesChart' => ['element' => '#incomeAndExpensesChart', 'position' => 'top'],
|
||||
],
|
||||
'reports_report_tag' => [
|
||||
'reports_report_tag' => [
|
||||
'intro' => [],
|
||||
'pieCharts' => ['element' => '#pieCharts'],
|
||||
'incomeAndExpensesChart' => ['element' => '#incomeAndExpensesChart', 'position' => 'top'],
|
||||
],
|
||||
'reports_report_budget' => [
|
||||
'reports_report_budget' => [
|
||||
'intro' => [],
|
||||
'pieCharts' => ['element' => '#pieCharts'],
|
||||
'incomeAndExpensesChart' => ['element' => '#incomeAndExpensesChart', 'position' => 'top'],
|
||||
],
|
||||
|
||||
// piggies: index, create, show
|
||||
'piggy-banks_index' => [
|
||||
'piggy-banks_index' => [
|
||||
'saved' => ['element' => '.piggySaved'],
|
||||
'button' => ['element' => '.piggyBar'],
|
||||
'accountStatus' => ['element' => '#accountStatus', 'position' => 'top'],
|
||||
],
|
||||
'piggy-banks_create' => [
|
||||
'piggy-banks_create' => [
|
||||
'name' => ['element' => '#ffInput_name'],
|
||||
'date' => ['element' => '#ffInput_targetdate'],
|
||||
],
|
||||
'piggy-banks_show' => [
|
||||
'piggy-banks_show' => [
|
||||
'piggyChart' => ['element' => '#piggyChart'],
|
||||
'piggyDetails' => ['element' => '#piggyDetails'],
|
||||
'piggyEvents' => ['element' => '#piggyEvents'],
|
||||
],
|
||||
|
||||
// bills: index, create, show
|
||||
'bills_index' => [
|
||||
'bills_index' => [
|
||||
'rules' => ['element' => '.rules'],
|
||||
'paid_in_period' => ['element' => '.paid_in_period'],
|
||||
'expected_in_period' => ['element' => '.expected_in_period'],
|
||||
],
|
||||
'bills_create' => [
|
||||
'bills_create' => [
|
||||
'intro' => [],
|
||||
'name' => ['element' => '#name_holder'],
|
||||
// 'match' => ['element' => '#match_holder'],
|
||||
@@ -133,13 +133,13 @@ return [
|
||||
'repeat_freq_holder' => ['element' => '#repeat_freq_holder'],
|
||||
'skip_holder' => ['element' => '#skip_holder'],
|
||||
],
|
||||
'bills_show' => [
|
||||
'bills_show' => [
|
||||
'billInfo' => ['element' => '#billInfo'],
|
||||
'billButtons' => ['element' => '#billButtons'],
|
||||
'billChart' => ['element' => '#billChart', 'position' => 'top'],
|
||||
],
|
||||
// rules: index, create-rule, edit-rule
|
||||
'rules_index' => [
|
||||
'rules_index' => [
|
||||
'intro' => [],
|
||||
'new_rule_group' => ['element' => '#new_rule_group'],
|
||||
'new_rule' => ['element' => '.new_rule'],
|
||||
@@ -148,23 +148,23 @@ return [
|
||||
'rule-triggers' => ['element' => '.rule-triggers'],
|
||||
'outro' => [],
|
||||
],
|
||||
'rules_create' => [
|
||||
'rules_create' => [
|
||||
'mandatory' => ['element' => '#mandatory'],
|
||||
'ruletriggerholder' => ['element' => '.rule-trigger-box'],
|
||||
'test_rule_triggers' => ['element' => '.test_rule_triggers'],
|
||||
'actions' => ['element' => '.rule-action-box', 'position' => 'top'],
|
||||
],
|
||||
// preferences: index
|
||||
'preferences_index' => [
|
||||
'preferences_index' => [
|
||||
'tabs' => ['element' => '.nav-tabs'],
|
||||
],
|
||||
// currencies: index, create
|
||||
'currencies_index' => [
|
||||
'currencies_index' => [
|
||||
'intro' => [],
|
||||
'default' => ['element' => '#default-currency'],
|
||||
'buttons' => ['element' => '.buttons'],
|
||||
],
|
||||
'currencies_create' => [
|
||||
'currencies_create' => [
|
||||
'code' => ['element' => '#ffInput_code'],
|
||||
],
|
||||
];
|
||||
|
Reference in New Issue
Block a user