Rebuild frontend.

This commit is contained in:
James Cole
2020-11-07 14:05:20 +01:00
parent 4d0839cf9c
commit 87f4b59cfe
30 changed files with 113 additions and 96 deletions

View File

@@ -23,5 +23,5 @@
window.$ = window.jQuery = require('jquery');
// admin stuff
require('bootstrap');
//require('bootstrap');

View File

@@ -50,7 +50,7 @@ if (localeToken) {
// admin stuff
require('jquery-ui');
require('bootstrap');
//require('bootstrap'); // bootstrap CSS?
require('./dist/js/adminlte');
require('overlayscrollbars');

View File

@@ -39,6 +39,7 @@ import TransactionListSmall from "../components/transactions/TransactionListSmal
*/
require('../bootstrap');
require('chart.js');
Vue.component('transaction-list-large', TransactionListLarge);
Vue.component('transaction-list-medium', TransactionListMedium);

41
frontend/src/pages/empty.js vendored Normal file
View File

@@ -0,0 +1,41 @@
/*
* dashboard.js
* Copyright (c) 2020 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/>.
*/
import Dashboard from "../components/dashboard/Dashboard";
import TopBoxes from "../components/dashboard/TopBoxes";
import MainAccount from "../components/dashboard/MainAccount";
import MainAccountList from "../components/dashboard/MainAccountList";
import MainBillsList from "../components/dashboard/MainBillsList";
import MainBudget from "../components/dashboard/MainBudget";
import MainCategory from "../components/dashboard/MainCategory";
import MainCredit from "../components/dashboard/MainCredit";
import MainDebit from "../components/dashboard/MainDebit";
import MainPiggyList from "../components/dashboard/MainPiggyList";
import TransactionListLarge from "../components/transactions/TransactionListLarge";
import TransactionListMedium from "../components/transactions/TransactionListMedium";
import TransactionListSmall from "../components/transactions/TransactionListSmall";
/**
* First we will load Axios via bootstrap.js
* jquery and bootstrap-sass preloaded in app.js
* vue, uiv and vuei18n are in app_vue.js
*/
require('../bootstrap');