mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-19 02:45:58 +00:00
Build empty bills things.
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
"/public/js/accounts/delete.js": "/public/js/accounts/delete.js",
|
"/public/js/accounts/delete.js": "/public/js/accounts/delete.js",
|
||||||
"/public/js/accounts/show.js": "/public/js/accounts/show.js",
|
"/public/js/accounts/show.js": "/public/js/accounts/show.js",
|
||||||
"/public/js/accounts/create.js": "/public/js/accounts/create.js",
|
"/public/js/accounts/create.js": "/public/js/accounts/create.js",
|
||||||
|
"/public/js/bills/index.js": "/public/js/bills/index.js",
|
||||||
"/public/js/budgets/index.js": "/public/js/budgets/index.js",
|
"/public/js/budgets/index.js": "/public/js/budgets/index.js",
|
||||||
"/public/js/transactions/create.js": "/public/js/transactions/create.js",
|
"/public/js/transactions/create.js": "/public/js/transactions/create.js",
|
||||||
"/public/js/transactions/edit.js": "/public/js/transactions/edit.js",
|
"/public/js/transactions/edit.js": "/public/js/transactions/edit.js",
|
||||||
|
36
frontend/src/components/bills/Index.vue
Normal file
36
frontend/src/components/bills/Index.vue
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
<!--
|
||||||
|
- Index.vue
|
||||||
|
- 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/>.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
Hallo!
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: "Index"
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
78
frontend/src/pages/bills/index.js
vendored
Normal file
78
frontend/src/pages/bills/index.js
vendored
Normal file
@@ -0,0 +1,78 @@
|
|||||||
|
/*
|
||||||
|
* index.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/>.
|
||||||
|
*/
|
||||||
|
require('../../bootstrap');
|
||||||
|
|
||||||
|
import Vue from "vue";
|
||||||
|
import Index from "../../components/bills/Index";
|
||||||
|
import store from "../../components/store";
|
||||||
|
//import {BPagination, BTable} from 'bootstrap-vue';
|
||||||
|
//import Calendar from "../../components/dashboard/Calendar";
|
||||||
|
//import IndexOptions from "../../components/accounts/IndexOptions";
|
||||||
|
|
||||||
|
// i18n
|
||||||
|
let i18n = require('../../i18n');
|
||||||
|
let props = {};
|
||||||
|
|
||||||
|
// See reference nr. 8
|
||||||
|
// See reference nr. 9
|
||||||
|
|
||||||
|
//Vue.component('b-table', BTable);
|
||||||
|
//Vue.component('b-pagination', BPagination);
|
||||||
|
//Vue.use(Vuex);
|
||||||
|
|
||||||
|
new Vue({
|
||||||
|
i18n,
|
||||||
|
store,
|
||||||
|
el: "#bills",
|
||||||
|
render: (createElement) => {
|
||||||
|
return createElement(Index, {props: props});
|
||||||
|
},
|
||||||
|
beforeCreate() {
|
||||||
|
// See reference nr. 10
|
||||||
|
this.$store.commit('initialiseStore');
|
||||||
|
this.$store.dispatch('updateCurrencyPreference');
|
||||||
|
|
||||||
|
// init the new root store (dont care about results)
|
||||||
|
this.$store.dispatch('root/initialiseStore');
|
||||||
|
|
||||||
|
// also init the dashboard store.
|
||||||
|
//this.$store.dispatch('dashboard/index/initialiseStore');
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
||||||
|
// new Vue({
|
||||||
|
// i18n,
|
||||||
|
// store,
|
||||||
|
// el: "#calendar",
|
||||||
|
// render: (createElement) => {
|
||||||
|
// return createElement(Calendar, {props: props});
|
||||||
|
// },
|
||||||
|
// // See reference nr. 11
|
||||||
|
// });
|
||||||
|
|
||||||
|
// new Vue({
|
||||||
|
// i18n,
|
||||||
|
// store,
|
||||||
|
// el: "#indexOptions",
|
||||||
|
// render: (createElement) => {
|
||||||
|
// return createElement(IndexOptions, {props: props});
|
||||||
|
// },
|
||||||
|
// // See reference nr. 12
|
||||||
|
// });
|
3
frontend/webpack.mix.js
vendored
3
frontend/webpack.mix.js
vendored
@@ -56,6 +56,9 @@ mix.js('src/pages/accounts/delete.js', 'public/js/accounts').vue({version: 2});
|
|||||||
mix.js('src/pages/accounts/show.js', 'public/js/accounts').vue({version: 2});
|
mix.js('src/pages/accounts/show.js', 'public/js/accounts').vue({version: 2});
|
||||||
mix.js('src/pages/accounts/create.js', 'public/js/accounts').vue({version: 2});
|
mix.js('src/pages/accounts/create.js', 'public/js/accounts').vue({version: 2});
|
||||||
|
|
||||||
|
// bills
|
||||||
|
mix.js('src/pages/bills/index.js', 'public/js/bills').vue({version: 2});
|
||||||
|
|
||||||
// budgets
|
// budgets
|
||||||
mix.js('src/pages/budgets/index.js', 'public/js/budgets').vue({version: 2});
|
mix.js('src/pages/budgets/index.js', 'public/js/budgets').vue({version: 2});
|
||||||
|
|
||||||
|
@@ -1910,9 +1910,9 @@ caniuse-api@^3.0.0:
|
|||||||
lodash.uniq "^4.5.0"
|
lodash.uniq "^4.5.0"
|
||||||
|
|
||||||
caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001219, caniuse-lite@^1.0.30001230:
|
caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001219, caniuse-lite@^1.0.30001230:
|
||||||
version "1.0.30001241"
|
version "1.0.30001242"
|
||||||
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001241.tgz#cd3fae47eb3d7691692b406568d7a3e5b23c7598"
|
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001242.tgz#04201627abcd60dc89211f22cbe2347306cda46b"
|
||||||
integrity sha512-1uoSZ1Pq1VpH0WerIMqwptXHNNGfdl7d1cJUFs80CwQ/lVzdhTvsFZCeNFslze7AjsQnb4C85tzclPa1VShbeQ==
|
integrity sha512-KvNuZ/duufelMB3w2xtf9gEWCSxJwUgoxOx5b6ScLXC4kPc9xsczUVCPrQU26j5kOsHM4pSUL54tAZt5THQKug==
|
||||||
|
|
||||||
chalk@^2.0.0, chalk@^2.4.2:
|
chalk@^2.0.0, chalk@^2.4.2:
|
||||||
version "2.4.2"
|
version "2.4.2"
|
||||||
@@ -1945,9 +1945,9 @@ chart.js@^2.9.4:
|
|||||||
moment "^2.10.2"
|
moment "^2.10.2"
|
||||||
|
|
||||||
chart.js@^3.4.0:
|
chart.js@^3.4.0:
|
||||||
version "3.4.0"
|
version "3.4.1"
|
||||||
resolved "https://registry.yarnpkg.com/chart.js/-/chart.js-3.4.0.tgz#4fb2a750225fcc1b387221422f5d4260b55b4579"
|
resolved "https://registry.yarnpkg.com/chart.js/-/chart.js-3.4.1.tgz#ff3b2b2a04a37b83618b4a6399a5f87ccc0f1e8a"
|
||||||
integrity sha512-mJsRm2apQm5mwz2OgYqGNG4erZh/qljcRZkWSa0kLkFr3UC3e1wKRMgnIh6WdhUrNu0w/JT9PkjLyylqEqHXEQ==
|
integrity sha512-0R4mL7WiBcYoazIhrzSYnWcOw6RmrRn7Q4nKZNsBQZCBrlkZKodQbfeojCCo8eETPRCs1ZNTsAcZhIfyhyP61g==
|
||||||
|
|
||||||
chartjs-color-string@^0.6.0:
|
chartjs-color-string@^0.6.0:
|
||||||
version "0.6.0"
|
version "0.6.0"
|
||||||
@@ -2730,9 +2730,9 @@ debug@^3.1.1:
|
|||||||
ms "^2.1.1"
|
ms "^2.1.1"
|
||||||
|
|
||||||
debug@^4.1.0, debug@^4.1.1:
|
debug@^4.1.0, debug@^4.1.1:
|
||||||
version "4.3.1"
|
version "4.3.2"
|
||||||
resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee"
|
resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.2.tgz#f0a49c18ac8779e31d4a0c6029dfb76873c7428b"
|
||||||
integrity sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==
|
integrity sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==
|
||||||
dependencies:
|
dependencies:
|
||||||
ms "2.1.2"
|
ms "2.1.2"
|
||||||
|
|
||||||
@@ -3281,9 +3281,9 @@ fastest-levenshtein@^1.0.12:
|
|||||||
integrity sha512-On2N+BpYJ15xIC974QNVuYGMOlEVt4s0EOI3wwMqOmK1fdDY+FN/zltPV8vosq4ad4c/gJ1KHScUn/6AWIgiow==
|
integrity sha512-On2N+BpYJ15xIC974QNVuYGMOlEVt4s0EOI3wwMqOmK1fdDY+FN/zltPV8vosq4ad4c/gJ1KHScUn/6AWIgiow==
|
||||||
|
|
||||||
fastq@^1.6.0:
|
fastq@^1.6.0:
|
||||||
version "1.11.0"
|
version "1.11.1"
|
||||||
resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.11.0.tgz#bb9fb955a07130a918eb63c1f5161cc32a5d0858"
|
resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.11.1.tgz#5d8175aae17db61947f8b162cfc7f63264d22807"
|
||||||
integrity sha512-7Eczs8gIPDrVzT+EksYBcupqMyxSHXXrHOLRRxU2/DicV8789MRBRR8+Hc2uWzUupOs4YS4JzBmBxjjCVBxD/g==
|
integrity sha512-HOnr8Mc60eNYl1gzwp6r5RoUyAn5/glBolUzP/Ez6IFVPMPirxn/9phgL6zhOtaTy7ISwPvQ+wT+hfcRZh/bzw==
|
||||||
dependencies:
|
dependencies:
|
||||||
reusify "^1.0.4"
|
reusify "^1.0.4"
|
||||||
|
|
||||||
@@ -6758,9 +6758,9 @@ wrappy@1:
|
|||||||
integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=
|
integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=
|
||||||
|
|
||||||
ws@^7.4.5:
|
ws@^7.4.5:
|
||||||
version "7.5.1"
|
version "7.5.2"
|
||||||
resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.1.tgz#44fc000d87edb1d9c53e51fbc69a0ac1f6871d66"
|
resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.2.tgz#09cc8fea3bec1bc5ed44ef51b42f945be36900f6"
|
||||||
integrity sha512-2c6faOUH/nhoQN6abwMloF7Iyl0ZS2E9HGtsiLrWn0zOOMWlhtDmdf/uihDt6jnuCxgtwGBNy6Onsoy2s2O2Ow==
|
integrity sha512-lkF7AWRicoB9mAgjeKbGqVUekLnSNO4VjKVnuPHpQeOxZOErX6BPXwJk70nFslRCEEA8EVW7ZjKwXaP9N+1sKQ==
|
||||||
|
|
||||||
xmldoc@^1.1.2:
|
xmldoc@^1.1.2:
|
||||||
version "1.1.2"
|
version "1.1.2"
|
||||||
|
2
public/v2/js/bills/index.js
vendored
Executable file
2
public/v2/js/bills/index.js
vendored
Executable file
File diff suppressed because one or more lines are too long
1
public/v2/js/bills/index.js.map
Executable file
1
public/v2/js/bills/index.js.map
Executable file
File diff suppressed because one or more lines are too long
2
public/v2/js/vendor.js
vendored
2
public/v2/js/vendor.js
vendored
File diff suppressed because one or more lines are too long
@@ -23,7 +23,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* Chart.js v3.4.0
|
* Chart.js v3.4.1
|
||||||
* https://www.chartjs.org
|
* https://www.chartjs.org
|
||||||
* (c) 2021 Chart.js Contributors
|
* (c) 2021 Chart.js Contributors
|
||||||
* Released under the MIT License
|
* Released under the MIT License
|
||||||
|
File diff suppressed because one or more lines are too long
@@ -3,17 +3,9 @@
|
|||||||
{{ Breadcrumbs.render }}
|
{{ Breadcrumbs.render }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<!-- Small boxes (Stat box) -->
|
<div id="bills"></div>
|
||||||
|
|
||||||
<!-- Main row -->
|
|
||||||
<div id="no-page">Hello, I am empty page.</div>
|
|
||||||
<!-- /.row (main row) -->
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block styles %}
|
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
<script src="v2/js/empty.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
|
<script src="v2/js/bills/index.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Reference in New Issue
Block a user