mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-05 04:21:40 +00:00
Rebuild new layout.
This commit is contained in:
36
frontend/src/pages/accounts/create.js
vendored
Normal file
36
frontend/src/pages/accounts/create.js
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* create.js
|
||||
* Copyright (c) 2021 james@firefly-iii.org
|
||||
*
|
||||
* 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/>.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
require('../../bootstrap');
|
||||
|
||||
import Create from "../../components/accounts/Create";
|
||||
|
||||
// i18n
|
||||
let i18n = require('../../i18n');
|
||||
|
||||
let props = {};
|
||||
new Vue({
|
||||
i18n,
|
||||
render(createElement) {
|
||||
return createElement(Create, {props: props});
|
||||
}
|
||||
}).$mount('#accounts_create');
|
||||
4
frontend/src/pages/accounts/index.js
vendored
4
frontend/src/pages/accounts/index.js
vendored
@@ -25,12 +25,14 @@ import store from "../../components/store";
|
||||
import {BPagination, BTable} from 'bootstrap-vue';
|
||||
import Calendar from "../../components/dashboard/Calendar";
|
||||
import IndexOptions from "../../components/accounts/IndexOptions";
|
||||
//import Vuex from "vuex";
|
||||
|
||||
// i18n
|
||||
let i18n = require('../../i18n');
|
||||
let props = {};
|
||||
|
||||
// TODO: long lists are slow to load. Fix this.
|
||||
// TODO add interest for liabilities
|
||||
|
||||
Vue.component('b-table', BTable);
|
||||
Vue.component('b-pagination', BPagination);
|
||||
//Vue.use(Vuex);
|
||||
|
||||
2
frontend/src/pages/dashboard.js
vendored
2
frontend/src/pages/dashboard.js
vendored
@@ -43,6 +43,8 @@ import store from '../components/store';
|
||||
* vue, uiv and vuei18n are in app_vue.js
|
||||
*/
|
||||
|
||||
// TODO pretty sure not all categories, budgets and other objects are picked up because they're paginated.
|
||||
|
||||
require('../bootstrap');
|
||||
require('chart.js');
|
||||
|
||||
|
||||
6
frontend/src/pages/transactions/create.js
vendored
6
frontend/src/pages/transactions/create.js
vendored
@@ -28,6 +28,12 @@ Vue.config.productionTip = false;
|
||||
// i18n
|
||||
let i18n = require('../../i18n');
|
||||
|
||||
// TODO take transaction type from URL. Simplifies a lot of code.
|
||||
// TODO make sure the enter button works.
|
||||
// TODO add preferences in sidebar
|
||||
// TODO If I change the date box at all even if you just type over it with the current date, it posts back a day.
|
||||
// TODO Cash accounts do not work
|
||||
|
||||
let props = {};
|
||||
new Vue({
|
||||
i18n,
|
||||
|
||||
Reference in New Issue
Block a user