Improve pages to show intro texts.

This commit is contained in:
James Cole
2017-07-22 10:50:30 +02:00
parent f2d388f742
commit 5b69a697e4
13 changed files with 119 additions and 69 deletions

View File

@@ -15,7 +15,7 @@ declare(strict_types=1);
return [
// index
'index' => [
'index' => [
'intro' => [],
'accounts-chart' => ['element' => '#accounts-chart'],
'box_out_holder' => ['element' => '#box_out_holder'],
@@ -24,19 +24,19 @@ return [
'outro' => [],
],
// accounts: create
'accounts_create' => [
'accounts_create' => [
'intro' => [],
'iban' => ['element' => '#ffInput_iban'],
],
// extra text for asset account creation.
'accounts_create_asset' => [
'accounts_create_asset' => [
'opening_balance' => ['element' => '#ffInput_openingBalance'],
'currency' => ['element' => '#ffInput_currency_id'],
'virtual' => ['element' => '#ffInput_virtualBalance'],
],
// budgets: index
'budgets_index' => [
'budgets_index' => [
'intro' => [],
'set_budget' => ['element' => '#availableBar',],
'see_expenses_bar' => ['element' => '#spentBar'],
@@ -47,54 +47,80 @@ return [
],
// tags: wait for upgrade
// 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'],
],
'reports_report_default' => [
'intro' => [],
],
'reports_report_default' => [
'intro' => [],
'reports_report_audit' => [
'intro' => [],
'optionsBox' => ['element' => '#optionsBox'],
],
'reports_report_audit' => [
'intro' => [],
'reports_report_category' => [
'intro' => [],
'pieCharts' => ['element' => '#pieCharts'],
'incomeAndExpensesChart' => ['element' => '#incomeAndExpensesChart', 'position' => 'top'],
],
'reports_report_category' => [
'intro' => [],
'reports_report_tag' => [
'intro' => [],
'pieCharts' => ['element' => '#pieCharts'],
'incomeAndExpensesChart' => ['element' => '#incomeAndExpensesChart', 'position' => 'top'],
],
'reports_report_report' => [
'intro' => [],
],
'reports_report_budget' => [
'intro' => [],
'reports_report_budget' => [
'intro' => [],
'pieCharts' => ['element' => '#pieCharts'],
'incomeAndExpensesChart' => ['element' => '#incomeAndExpensesChart', 'position' => 'top'],
],
// transactions: create
'transactions_create' => [
// transactions: create (also per type!)
'transactions_create' => [
'intro' => [],
'switch_box' => ['element' => '#switch-box'],
'ffInput_category' => ['element' => '#ffInput_category'],
],
'transactions_create_withdrawal' => [
'ffInput_budget' => ['element' => '#ffInput_budget_id'],
'currency_dropdown_amount' => ['element' => '#currency_dropdown_amount'],
],
'transactions_create_deposit' => [
'currency_dropdown_amount' => ['element' => '#currency_dropdown_amount'],
],
'transactions_create_transfer' => [
'ffInput_piggy_bank_id' => ['element' => '#ffInput_piggy_bank_id'],
],
// piggies: index, create, show
'piggy-banks_index' => [
'piggy-banks_index' => [
'intro' => [],
'saved' => ['element' => '.piggySaved'],
'button' => ['element' => '.piggyBar',],
'accountStatus' => ['element' => '#accountStatus', 'position' => 'top'],
],
'piggy-banks_create' => [
'intro' => [],
],
'piggy-banks_create' => [
'intro' => [],
],
'piggy-banks_show' => [
'piggy-banks_show' => [
'intro' => [],
],
// bills: index, create, show
'bills_index' => [
'bills_index' => [
'intro' => [],
],
'bills_create' => [
'bills_create' => [
'intro' => [],
],
'bills_show' => [
'bills_show' => [
'intro' => [],
],
// rules: index, create-rule, edit-rule
'rules_index' => [
'rules_index' => [
'intro' => [],
'new_rule_group' => ['element' => '#new_rule_group'],
'new_rule' => ['element' => '.new_rule'],
@@ -103,36 +129,36 @@ return [
'rule-triggers' => ['element' => '.rule-triggers'],
'outro' => [],
],
'rules_create' => [
'rules_create' => [
'intro' => [],
],
'rules_edit' => [
'rules_edit' => [
'intro' => [],
],
// import: index, config-steps
'import_index' => [
'import_index' => [
'intro' => [],
],
'import_configure' => [
'import_configure' => [
'intro' => [],
],
// export: index
'export_index' => [
'export_index' => [
'intro' => [],
],
// preferences: index
'preferences_index' => [
'preferences_index' => [
'intro' => [],
],
// currencies: index, create
'currencies_index' => [
'currencies_index' => [
'intro' => [],
],
'currencies_create' => [
'currencies_create' => [
'intro' => [],
],
// admin: index
'admin_index' => [
'admin_index' => [
'intro' => [],
],