firefly-iii/config/intro.php

177 lines
6.9 KiB
PHP
Raw Normal View History

2017-07-16 00:35:08 -05:00
<?php
/**
* intro.php
2020-03-17 11:06:30 -05:00
* Copyright (c) 2019 james@firefly-iii.org.
2017-07-16 00:35:08 -05:00
*
* This file is part of Firefly III (https://github.com/firefly-iii).
2017-10-21 01:40:00 -05:00
*
* 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.
2017-10-21 01:40:00 -05:00
*
* This program is distributed in the hope that it will be useful,
2017-10-21 01:40:00 -05:00
* 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.
2017-10-21 01:40:00 -05:00
*
* 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/>.
2017-07-16 00:35:08 -05:00
*/
declare(strict_types=1);
/*
* Always make sure intro is the first element (if any) and outro is the last one.
*/
return [
2017-07-20 23:00:10 -05:00
// index
2020-08-02 02:47:19 -05:00
'index' => [
2017-07-16 11:14:29 -05:00
'intro' => [],
2017-07-20 23:00:10 -05:00
'accounts-chart' => ['element' => '#accounts-chart'],
'box_out_holder' => ['element' => '#box_out_holder'],
'help' => ['element' => '#help', 'position' => 'bottom'],
'sidebar-toggle' => ['element' => '#sidebar-toggle', 'position' => 'bottom'],
2020-03-17 11:06:30 -05:00
'cash_account' => ['element' => '#all_transactions', 'position' => 'left'],
2017-07-16 11:14:29 -05:00
'outro' => [],
],
2017-07-20 23:00:10 -05:00
// accounts: create
2020-08-02 02:47:19 -05:00
'accounts_create' => [
2018-04-02 07:43:06 -05:00
'iban' => ['element' => '#ffInput_iban'],
2017-07-20 23:00:10 -05:00
],
2019-08-04 12:54:31 -05:00
// transactions: create
2020-08-02 02:47:19 -05:00
'transactions_create' => [
'basic_info' => ['element' => '#transaction-info', 'position' => 'right'],
'amount_info' => ['element' => '#amount-info', 'position' => 'bottom'],
'optional_info' => ['element' => '#optional-info', 'position' => 'left'],
2022-03-29 08:01:12 -05:00
'split' => ['element' => '.split_add_btn', 'position' => 'top'],
2020-08-02 02:47:19 -05:00
],
2020-03-20 11:31:54 -05:00
'transactions_create_withdrawal' => [
2019-08-07 11:51:35 -05:00
],
2020-03-20 11:31:54 -05:00
'transactions_create_deposit' => [
2019-08-04 12:54:31 -05:00
],
2020-03-20 11:31:54 -05:00
'transactions_create_transfer' => [
2019-08-07 11:51:35 -05:00
],
2019-08-04 12:54:31 -05:00
2017-07-20 23:00:10 -05:00
// extra text for asset account creation.
2020-03-20 11:31:54 -05:00
'accounts_create_asset' => [
2019-06-21 22:51:32 -05:00
'opening_balance' => ['element' => '#ffInput_opening_balance'],
2017-07-20 23:00:10 -05:00
'currency' => ['element' => '#ffInput_currency_id'],
2019-06-21 22:51:32 -05:00
'virtual' => ['element' => '#ffInput_virtual_balance'],
2017-07-20 23:00:10 -05:00
],
// budgets: index
2020-03-20 11:31:54 -05:00
'budgets_index' => [
2017-07-20 23:00:10 -05:00
'intro' => [],
2020-03-17 11:06:30 -05:00
'set_budget' => ['element' => '#availableBar'],
2017-07-20 23:00:10 -05:00
'see_expenses_bar' => ['element' => '#spentBar'],
'navigate_periods' => ['element' => '#periodNavigator'],
'new_budget' => ['element' => '#createBudgetBox'],
'list_of_budgets' => ['element' => '#budgetList'],
2017-09-29 01:52:15 -05:00
'outro' => [],
2017-07-20 23:00:10 -05:00
],
// reports: index, default report, audit, budget, cat, tag
2020-03-20 11:31:54 -05:00
'reports_index' => [
2017-07-22 03:50:30 -05:00
'intro' => [],
'inputReportType' => ['element' => '#inputReportType'],
'inputAccountsSelect' => ['element' => '#inputAccountsSelect'],
'inputDateRange' => ['element' => '#inputDateRange'],
2017-07-22 15:56:21 -05:00
'extra-options-box' => ['element' => '#extra-options-box', 'position' => 'top'],
2017-07-20 23:00:10 -05:00
],
2020-03-20 11:31:54 -05:00
'reports_report_default' => [
2017-07-20 23:00:10 -05:00
'intro' => [],
],
2020-03-20 11:31:54 -05:00
'reports_report_audit' => [
2017-07-22 03:50:30 -05:00
'intro' => [],
'optionsBox' => ['element' => '#optionsBox'],
2017-07-20 23:00:10 -05:00
],
2020-03-20 11:31:54 -05:00
'reports_report_category' => [
2017-07-22 03:50:30 -05:00
'intro' => [],
'pieCharts' => ['element' => '#pieCharts'],
'incomeAndExpensesChart' => ['element' => '#incomeAndExpensesChart', 'position' => 'top'],
2017-07-20 23:00:10 -05:00
],
2020-03-20 11:31:54 -05:00
'reports_report_tag' => [
2017-07-22 03:50:30 -05:00
'intro' => [],
'pieCharts' => ['element' => '#pieCharts'],
'incomeAndExpensesChart' => ['element' => '#incomeAndExpensesChart', 'position' => 'top'],
2017-07-20 23:00:10 -05:00
],
2020-03-20 11:31:54 -05:00
'reports_report_budget' => [
2017-07-22 03:50:30 -05:00
'intro' => [],
'pieCharts' => ['element' => '#pieCharts'],
'incomeAndExpensesChart' => ['element' => '#incomeAndExpensesChart', 'position' => 'top'],
2017-07-20 23:00:10 -05:00
],
// piggies: index, create, show
2020-03-20 11:31:54 -05:00
'piggy-banks_index' => [
2017-07-22 03:50:30 -05:00
'saved' => ['element' => '.piggySaved'],
2020-03-17 11:06:30 -05:00
'button' => ['element' => '.piggyBar'],
2017-07-22 03:50:30 -05:00
'accountStatus' => ['element' => '#accountStatus', 'position' => 'top'],
2017-07-20 23:00:10 -05:00
],
2020-03-20 11:31:54 -05:00
'piggy-banks_create' => [
2017-08-12 02:06:13 -05:00
'name' => ['element' => '#ffInput_name'],
'date' => ['element' => '#ffInput_targetdate'],
2017-07-22 15:56:21 -05:00
2017-07-20 23:00:10 -05:00
],
2020-03-20 11:31:54 -05:00
'piggy-banks_show' => [
2017-07-22 15:56:21 -05:00
'piggyChart' => ['element' => '#piggyChart'],
'piggyDetails' => ['element' => '#piggyDetails'],
'piggyEvents' => ['element' => '#piggyEvents'],
2017-07-20 23:00:10 -05:00
],
// bills: index, create, show
2020-03-20 11:31:54 -05:00
'bills_index' => [
2018-04-14 02:59:04 -05:00
'rules' => ['element' => '.rules'],
2017-07-22 15:56:21 -05:00
'paid_in_period' => ['element' => '.paid_in_period'],
'expected_in_period' => ['element' => '.expected_in_period'],
2017-07-20 23:00:10 -05:00
],
2020-03-20 11:31:54 -05:00
'bills_create' => [
2018-04-07 15:23:16 -05:00
'intro' => [],
2017-07-22 15:56:21 -05:00
'name' => ['element' => '#name_holder'],
2018-04-07 15:23:16 -05:00
//'match' => ['element' => '#match_holder'],
2017-07-22 15:56:21 -05:00
'amount_min_holder' => ['element' => '#amount_min_holder'],
'repeat_freq_holder' => ['element' => '#repeat_freq_holder'],
'skip_holder' => ['element' => '#skip_holder'],
2017-07-20 23:00:10 -05:00
],
2020-03-20 11:31:54 -05:00
'bills_show' => [
2017-07-22 15:56:21 -05:00
'billInfo' => ['element' => '#billInfo'],
'billButtons' => ['element' => '#billButtons'],
'billChart' => ['element' => '#billChart', 'position' => 'top'],
2017-07-20 23:00:10 -05:00
],
// rules: index, create-rule, edit-rule
2020-03-20 11:31:54 -05:00
'rules_index' => [
2017-07-16 11:14:29 -05:00
'intro' => [],
2017-07-20 23:00:10 -05:00
'new_rule_group' => ['element' => '#new_rule_group'],
'new_rule' => ['element' => '.new_rule'],
'prio_buttons' => ['element' => '.prio_buttons'],
'test_buttons' => ['element' => '.test_buttons'],
'rule-triggers' => ['element' => '.rule-triggers'],
2017-07-16 11:14:29 -05:00
'outro' => [],
2017-07-16 00:35:08 -05:00
],
2020-03-20 11:31:54 -05:00
'rules_create' => [
2017-07-22 15:56:21 -05:00
'mandatory' => ['element' => '#mandatory'],
'ruletriggerholder' => ['element' => '.rule-trigger-box'],
'test_rule_triggers' => ['element' => '.test_rule_triggers'],
'actions' => ['element' => '.rule-action-box', 'position' => 'top'],
2017-07-20 23:00:10 -05:00
],
// preferences: index
2020-03-20 11:31:54 -05:00
'preferences_index' => [
2017-08-12 02:06:13 -05:00
'tabs' => ['element' => '.nav-tabs'],
2017-07-20 23:00:10 -05:00
],
// currencies: index, create
2020-03-20 11:31:54 -05:00
'currencies_index' => [
2017-07-22 15:56:21 -05:00
'intro' => [],
'default' => ['element' => '#default-currency'],
2020-03-17 11:06:30 -05:00
'buttons' => ['element' => '.buttons'],
2017-07-20 23:00:10 -05:00
],
2020-03-20 11:31:54 -05:00
'currencies_create' => [
2020-03-17 11:06:30 -05:00
'code' => ['element' => '#ffInput_code'],
2017-07-20 23:00:10 -05:00
],
2017-08-12 00:48:39 -05:00
];