mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Delete accounts.
This commit is contained in:
parent
fa0397e431
commit
7ab81e493a
40
frontend/src/pages/accounts/delete.js
vendored
Normal file
40
frontend/src/pages/accounts/delete.js
vendored
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
/*
|
||||||
|
* 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 Delete from "../../components/accounts/Delete";
|
||||||
|
|
||||||
|
// i18n
|
||||||
|
let i18n = require('../../i18n');
|
||||||
|
|
||||||
|
// get page name?
|
||||||
|
|
||||||
|
|
||||||
|
let props = {
|
||||||
|
|
||||||
|
};
|
||||||
|
new Vue({
|
||||||
|
i18n,
|
||||||
|
render(createElement) {
|
||||||
|
return createElement(Delete, {props: props});
|
||||||
|
}
|
||||||
|
}).$mount('#accounts_delete');
|
2
public/v2/css/app.css
vendored
2
public/v2/css/app.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
public/v2/js/accounts/delete.js
vendored
Executable file
2
public/v2/js/accounts/delete.js
vendored
Executable file
File diff suppressed because one or more lines are too long
1
public/v2/js/accounts/delete.js.map
Executable file
1
public/v2/js/accounts/delete.js.map
Executable file
File diff suppressed because one or more lines are too long
2
public/v2/js/accounts/index.js
vendored
2
public/v2/js/accounts/index.js
vendored
File diff suppressed because one or more lines are too long
2
public/v2/js/accounts/show.js
vendored
2
public/v2/js/accounts/show.js
vendored
File diff suppressed because one or more lines are too long
2
public/v2/js/dashboard.js
vendored
2
public/v2/js/dashboard.js
vendored
File diff suppressed because one or more lines are too long
2
public/v2/js/transactions/create.js
vendored
2
public/v2/js/transactions/create.js
vendored
File diff suppressed because one or more lines are too long
2
public/v2/js/transactions/edit.js
vendored
2
public/v2/js/transactions/edit.js
vendored
File diff suppressed because one or more lines are too long
2
public/v2/js/transactions/index.js
vendored
2
public/v2/js/transactions/index.js
vendored
File diff suppressed because one or more lines are too long
14
resources/views/v2/accounts/delete.twig
Normal file
14
resources/views/v2/accounts/delete.twig
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{% extends './v2/layout/default' %}
|
||||||
|
{% block breadcrumbs %}
|
||||||
|
{{ Breadcrumbs.render }}
|
||||||
|
{% endblock %}
|
||||||
|
{% block content %}
|
||||||
|
<div id="accounts_delete"></div>
|
||||||
|
{% endblock %}
|
||||||
|
{% block scripts %}
|
||||||
|
<script type="text/javascript">
|
||||||
|
// this is a terrible hack.
|
||||||
|
var previousURL = '{{ Session.get('accounts.delete.uri') }}';
|
||||||
|
</script>
|
||||||
|
<script src="v2/js/accounts/delete.js" nonce="{{ JS_NONCE }}"></script>
|
||||||
|
{% endblock %}
|
Loading…
Reference in New Issue
Block a user