Skip to content

Firefly III: a personal finances manager

Remove v2 views

James Colea12fd4a3aee8
diff --git a/resources/views/v2/accounts/create.twig b/resources/views/v2/accounts/create.twig
deleted file mode 100644
index 774abb9a0c..0000000000
--- a/resources/views/v2/accounts/create.twig
+++ /dev/null
@@ -1,14 +0,0 @@
-{% extends './v2/layout/default' %}
-{% block breadcrumbs %}
- {{ Breadcrumbs.render }}
-{% endblock %}
-{% block content %}
-<div id="accounts_create"></div>
-{% endblock %}
-{% block scripts %}
- <script type="text/javascript" nonce="{{ JS_NONCE }}">
- // this is a terrible hack.
- var previousURL = '{{ Session.get('accounts.create.uri') }}';
- </script>
- <script src="v2/js/accounts/create.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
-{% endblock %}
diff --git a/resources/views/v2/accounts/delete.twig b/resources/views/v2/accounts/delete.twig
deleted file mode 100644
index 883e925b40..0000000000
--- a/resources/views/v2/accounts/delete.twig
+++ /dev/null
@@ -1,14 +0,0 @@
-{% extends './v2/layout/default' %}
-{% block breadcrumbs %}
- {{ Breadcrumbs.render }}
-{% endblock %}
-{% block content %}
-<div id="accounts_delete"></div>
-{% endblock %}
-{% block scripts %}
- <script type="text/javascript" nonce="{{ JS_NONCE }}">
- // this is a terrible hack.
- var previousURL = '{{ Session.get('accounts.delete.uri') }}';
- </script>
- <script src="v2/js/accounts/delete.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
-{% endblock %}
diff --git a/resources/views/v2/accounts/edit.twig b/resources/views/v2/accounts/edit.twig
deleted file mode 100644
index 56d6890529..0000000000
--- a/resources/views/v2/accounts/edit.twig
+++ /dev/null
@@ -1,14 +0,0 @@
-{% extends './v2/layout/default' %}
-{% block breadcrumbs %}
- {{ Breadcrumbs.render }}
-{% endblock %}
-{% block content %}
-<div id="accounts_edit"></div>
-{% endblock %}
-{% block scripts %}
- <script type="text/javascript" nonce="{{ JS_NONCE }}">
- // this is a terrible hack.
- var previousURL = '{{ Session.get('accounts.create.uri') }}';
- </script>
- <script src="v2/js/accounts/edit.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
-{% endblock %}
diff --git a/resources/views/v2/accounts/index.twig b/resources/views/v2/accounts/index.twig
deleted file mode 100644
index c748ed2ee1..0000000000
--- a/resources/views/v2/accounts/index.twig
+++ /dev/null
@@ -1,26 +0,0 @@
-{% extends './v2/layout/default' %}
-{% block breadcrumbs %}
- {{ Breadcrumbs.render }}
-{% endblock %}
-{% block content %}
-<div id="accounts"></div>
-{% endblock %}
-
-{% block control %}
- <div>
- <div class="p-3 control-sidebar-content">
- <h5>{{ 'date_range'|_ }}</h5>
- <hr class="mb-2">
- <div id="calendar"></div>
- <hr class="mb-2">
- <h5>{{ 'list_options'|_ }}</h5>
- <div id="indexOptions"></div>
- <hr class="mb-2">
- </div>
- </div>
-{% endblock %}
-
-
-{% block scripts %}
- <script src="v2/js/accounts/index.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
-{% endblock %}
diff --git a/resources/views/v2/accounts/show.twig b/resources/views/v2/accounts/show.twig
deleted file mode 100644
index dcdda06253..0000000000
--- a/resources/views/v2/accounts/show.twig
+++ /dev/null
@@ -1,15 +0,0 @@
-{% extends './v2/layout/default' %}
-{% block breadcrumbs %}
- {{ Breadcrumbs.render }}
-{% endblock %}
-{% block content %}
-<div id="accounts_show"></div>
-{% endblock %}
-
-{% block styles %}
-
-{% endblock %}
-
-{% block scripts %}
- <script src="v2/js/accounts/show.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
-{% endblock %}
diff --git a/resources/views/v2/admin/index_new.twig b/resources/views/v2/admin/index_new.twig
deleted file mode 100644
index ecb1b071f4..0000000000
--- a/resources/views/v2/admin/index_new.twig
+++ /dev/null
@@ -1,19 +0,0 @@
-{% extends './v2/layout/default' %}
-{% block breadcrumbs %}
- {{ Breadcrumbs.render }}
-{% endblock %}
-{% block content %}
- <!-- Small boxes (Stat box) -->
-
- <!-- Main row -->
- <div id="no-page">Hello, I am empty page.</div>
- <!-- /.row (main row) -->
-{% endblock %}
-
-{% block styles %}
-
-{% endblock %}
-
-{% block scripts %}
- <script src="v2/js/empty.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
-{% endblock %}
diff --git a/resources/views/v2/auth/login.twig b/resources/views/v2/auth/login.twig
deleted file mode 100644
index 1b2e9150fd..0000000000
--- a/resources/views/v2/auth/login.twig
+++ /dev/null
@@ -1,141 +0,0 @@
-{% extends './v2/layout/auth' %}
-{% block content %}
-
- {# error when logging in? #}
- {% if errors.count > 0 %}
- <div class="row">
- <div class="alert alert-danger alert-dismissible">
- <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
- <h5><span class="icon fas fa-ban"></span> {{ 'flash_error'|_ }}</h5>
- {{ errors.first }}
- </div>
- </div>
- {% endif %}
-
- {# Success message (used for undo email change etc. #}
- {% if Session.has('success') %}
- <div class="row">
- <div class="alert alert-info alert-dismissible">
- <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
- <h5><span class="icon fas fa-info"></span>
- {{ session('success') }}
- </div>
- </div>
- {% endif %}
-
- {# error when forced to logout #}
- {% if session('logoutMessage') %}
- <div class="row">
- <div class="alert alert-info alert-dismissible">
- <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
- <h5><span class="icon fas fa-info"></span>
- {{ session('logoutMessage') }}
- </div>
- </div>
- {% endif %}
-
- {# LDAP warning (untranslatable, i dont care) #}
- {% if ldapWarning %}
- <div class="row">
- <div class="alert alert-info alert-dismissible">
- <a target="_blank" href="https://docs.firefly-iii.org/firefly-iii/advanced-installation/authentication/#ldap">Please upgrade LDAP configuration</a>
- </div>
- </div>
- {% endif %}
-
- {# default header #}
- <div class="login-box ">
- <div class="login-logo">
- <img src="v2/images/firefly-iii-logo-new.png" alt="Firefly III" width="90"/><br />
- </div>
-
- {# demo site info #}
- {% if IS_DEMO_SITE %}
- <div class="callout callout-success">
- <h5><span class="fas fa-info"></span> Firefly III demonstration website</h5>
- To log in, please use email address <code>{{ DEMO_USERNAME }}</code> and password <code>{{ DEMO_PASSWORD }}</code>
- </div>
- {% endif %}
-
- <!-- /.login-logo -->
- <div class="card">
- <div class="card-body login-card-body">
- <p class="login-box-msg">{{ 'sign_in_to_start'|_ }}</p>
-
- <form action="{{ route('login') }}" method="post">
- <input type="hidden" name="_token" value="{{ csrf_token() }}"/>
- <div class="input-group mb-3">
-
- {# switch between alernative and Firefly III auth. #}
- {% if config('firefly.authentication_guard') == 'web' %}
- <input type="email" required autocomplete="email" name="email" class="form-control"
- id="emailInput" placeholder="{{ trans('form.email') }}"
- value="{% if not IS_DEMO_SITE %}{{ email }}{% else %}{{ DEMO_USERNAME }}{% endif %}"
- />
- {% else %}
- <input type="text" required autocomplete="username" name="{{ usernameField }}" value="{{ email }}" class="form-control"
- placeholder="{{ trans('form.login_name') }}"
-
- />
- {% endif %}
-
-
- <div class="input-group-append">
- <div class="input-group-text">
- <span class="fas fa-envelope"></span>
- </div>
- </div>
- </div>
- <div class="input-group mb-3">
- <input type="password" name="password" required autocomplete="current-password" class="form-control"
- placeholder="{{ trans('form.password') }}"
- {% if IS_DEMO_SITE %}value="{{ DEMO_PASSWORD }}"{% endif%}
- />
- <div class="input-group-append">
- <div class="input-group-text">
- <span class="fas fa-lock"></span>
- </div>
- </div>
- </div>
- <div class="row">
- <div class="col-12">
- <div class="icheck-primary">
- <input id="remember" checked type="checkbox" name="remember" {% if remember %}checked="checked"{% endif %} value="1">
- <label for="remember">
- {{ trans('form.remember_me') }}
- </label>
- </div>
- </div>
- </div>
- <div class="row">
- <!-- /.col -->
- <div class="col-12">
- <button type="submit" class="btn btn-primary btn-block">{{ 'sign_in'|_ }}</button>
- </div>
- <!-- /.col -->
- </div>
- </form>
- <div class="row">
- <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
- <ul class="list-unstyled small">
- {% if allowReset %}
- <li>
- <a href="{{ route('password.reset.request') }}">{{ 'forgot_my_password'|_ }}</a>
- </li>
- {% endif %}
- {% if allowRegistration %}
- <li>
- <a href="{{ route('register') }}">{{ 'register_new_account'|_ }}</a><br>
- </li>
- {% endif %}
- </ul>
- </div>
- </div>
- </div>
- </div>
- </div>
- <script type="text/javascript" nonce="{{ JS_NONCE }}">
- document.getElementById("emailInput").focus();
- </script>
- <!-- /.login-box -->
-{% endblock %}
diff --git a/resources/views/v2/auth/mfa.twig b/resources/views/v2/auth/mfa.twig
deleted file mode 100644
index 92fe4122b5..0000000000
--- a/resources/views/v2/auth/mfa.twig
+++ /dev/null
@@ -1,52 +0,0 @@
-{% extends './v2/layout/auth' %}
-{% block content %}
- {# error when logging in with MFA #}
- {% if session_has('error') %}
- <div class="row">
- <div class="alert alert-danger alert-dismissible">
- <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
- <h5><span class="icon fas fa-ban"></span> {{ 'flash_error'|_ }}</h5>
- {{ session('error') }}
- </div>
- </div>
- {% endif %}
-
-
- {# default header #}
- <div class="login-box">
- <div class="login-logo">
- <img src="v2/images/firefly-iii-logo-new.png" alt="Firefly III" width="90"/><br />
- </div>
-
- <!-- /.login-logo -->
- <div class="card">
- <div class="card-body login-card-body">
- <p class="login-box-msg">{{ trans('firefly.two_factor_welcome', {user: user.email}) }}</p>
- <p class="login-box-msg">{{ 'two_factor_enter_code'|_ }}</p>
-
- <form action="{{ route('two-factor.submit') }}" method="POST">
- <input type="hidden" name="_token" value="{{ csrf_token() }}"/>
- <div class="input-group mb-3">
- <input type="text" id="oneTimeInput" name="one_time_password" class="form-control" placeholder="{{ 'two_factor_code_here'|_ }}" autocomplete="off"/>
-
- <div class="input-group-append">
- <div class="input-group-text">
- <span class="fas fa-lock"></span>
- </div>
- </div>
- </div>
- <div class="row">
- <div class="col-12">
- <button type="submit" class="btn btn-primary btn-block">{{ 'authenticate'|_ }}</button>
- </div>
- <!-- /.col -->
- </div>
- </form>
- </div>
- </div>
- </div>
- <script type="text/javascript" nonce="{{ JS_NONCE }}">
- document.getElementById("oneTimeInput").focus();
- </script>
- <!-- /.login-box -->
-{% endblock %}
diff --git a/resources/views/v2/auth/passwords/email.twig b/resources/views/v2/auth/passwords/email.twig
deleted file mode 100644
index 2daf29f55a..0000000000
--- a/resources/views/v2/auth/passwords/email.twig
+++ /dev/null
@@ -1,85 +0,0 @@
-{% extends './v2/layout/auth' %}
-{% block content %}
-
-
- {% if errors|length > 0 %}
- <div class="row">
- <div class="alert alert-danger alert-dismissible">
- <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
- <h5><span class="icon fas fa-ban"></span> {{ 'flash_error'|_ }}</h5>
- <p>
- {{ 'problems_with_input'|_ }}
- </p>
- <ul class="list-unstyled">
- {% for error in errors.all %}
- <li>{{ error }}</li>
- {% endfor %}
- </ul>
- </div>
- </div>
- {% endif %}
-
- {# default header #}
- <div class="login-box">
- <div class="login-logo">
- <img src="v2/images/firefly-iii-logo-new.png" alt="Firefly III" width="90"/><br />
- </div>
-
-
- <!-- /.login-logo -->
- <div class="card">
- <div class="card-body login-card-body">
- <p class="login-box-msg">{{ 'reset_password'|_ }}</p>
-
- {% if session('status') %}
- <div class="row">
- <div class="col-lg-12">
- <p class="text-success">
- {{ session('status') }}
- </p>
- </div>
- </div>
- {% else %}
- <form action="{{ route('password.email') }}" method="post">
- <input type="hidden" name="_token" value="{{ csrf_token() }}"/>
- <div class="input-group mb-3">
- <input type="email" id="emailInput" required autocomplete="email" class="form-control" name="email" placeholder="{{ trans('form.email') }}"/>
- <div class="input-group-append">
- <div class="input-group-text">
- <span class="fas fa-envelope"></span>
- </div>
- </div>
- </div>
- <div class="row">
- <div class="col-12">
- <button type="submit" class="btn btn-primary btn-block">{{ 'reset_button'|_ }}</button>
- </div>
- </div>
- </form>
- <div class="row">
- <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
- <ul class="list-unstyled small">
-
- <li>
- <a href="{{ route('login') }}">{{ 'want_to_login'|_ }}</a>
- </li>
-
- {% if allowRegistration %}
- <li>
- <a href="{{ route('register') }}">{{ 'register_new_account'|_ }}</a><br>
- </li>
- {% endif %}
- </ul>
- </div>
- </div>
- {% endif %}
- </div>
- </div>
- </div>
- <!-- /.login-box -->
-{% endblock %}
-{% block scripts %}
- <script type="text/javascript" nonce="{{ JS_NONCE }}">
- document.getElementById("emailInput").focus();
- </script>
-{% endblock %}
diff --git a/resources/views/v2/auth/passwords/reset.twig b/resources/views/v2/auth/passwords/reset.twig
deleted file mode 100644
index 51716a3c5e..0000000000
--- a/resources/views/v2/auth/passwords/reset.twig
+++ /dev/null
@@ -1,116 +0,0 @@
-{% extends './v2/layout/auth' %}
-{% block content %}
-
-
- {% if errors|length > 0 %}
- <div class="row">
- <div class="alert alert-danger alert-dismissible">
- <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
- <h5><span class="icon fas fa-ban"></span> {{ 'flash_error'|_ }}</h5>
- <p>
- {{ 'problems_with_input'|_ }}
- </p>
- <ul class="list-unstyled">
- {% for error in errors.all %}
- <li>{{ error }}</li>
- {% endfor %}
- </ul>
- </div>
- </div>
- {% endif %}
-
-
- {# default header #}
- <div class="login-box">
- <div class="login-logo">
- <img src="v2/images/firefly-iii-logo-new.png" alt="Firefly III" width="90"/><br />
- </div>
- <!-- /.login-logo -->
- <div class="card">
- <div class="card-body login-card-body">
- <p class="login-box-msg">{{ 'reset_password'|_ }}</p>
-
- <form action="{{ route('password.reset.post') }}" method="post">
- <input type="hidden" name="_token" value="{{ csrf_token() }}"/>
- <input type="hidden" name="token" value="{{ token }}">
- <div class="input-group mb-3">
- <input type="email" required autocomplete="email" id="emailInput" name="email" class="form-control" value="{{ old('email') }}" placeholder="{{ trans('form.email') }}"/>
- <div class="input-group-append">
- <div class="input-group-text">
- <span class="fas fa-envelope"></span>
- </div>
- </div>
- </div>
-
- <div class="input-group mb-3">
- <input type="password" name="password" required autocomplete="new-password" class="form-control"
- placeholder="{{ trans('form.password') }}"/>
- <div class="input-group-append">
- <div class="input-group-text">
- <span class="fas fa-lock"></span>
- </div>
- </div>
- </div>
-
- <div class="input-group mb-3">
- <input type="password" name="password_confirmation" required autocomplete="new-password" class="form-control"
- placeholder="{{ trans('form.password_confirmation') }}"/>
- <div class="input-group-append">
- <div class="input-group-text">
- <span class="fas fa-lock"></span>
- </div>
- </div>
- </div>
-
- <div class="row">
- <div class="col-12">
- <div class="icheck-primary">
- <input id="verify_password" checked type="checkbox" name="verify_password" value="1">
- <label for="verify_password">
- {{ trans('form.verify_password') }}
- </label>
- </div>
- </div>
- </div>
-
- <div class="row">
- <div class="col-12">
- <button type="submit" class="btn btn-primary btn-block">{{ 'button_reset_password'|_ }}</button>
- </div>
- <!-- /.col -->
- </div>
- </form>
- <div class="row">
- <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
- <ul class="list-unstyled small">
- <li>
- <a data-toggle="modal" data-target="#passwordModal" href="#passwordModal">
- {{ 'what_is_pw_security'|_ }}
- </a>
- </li>
- <li>
- <a href="{{ route('login') }}">{{ 'want_to_login'|_ }}</a>
- </li>
-
- {% if allowRegistration %}
- <li>
- <a href="{{ route('register') }}">{{ 'register_new_account'|_ }}</a><br>
- </li>
- {% endif %}
- </ul>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- /.login-box -->
- {% include 'v2.partials.auth.password-modal' %}
-{% endblock %}
-{% block scripts %}
- <script type="text/javascript" nonce="{{ JS_NONCE }}">
- document.getElementById("emailInput").focus();
- </script>
- <script src="v2/js/manifest.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
- <script src="v2/js/vendor.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
- <script src="v2/js/register.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
-{% endblock %}
diff --git a/resources/views/v2/auth/register.twig b/resources/views/v2/auth/register.twig
deleted file mode 100644
index c187cea454..0000000000
--- a/resources/views/v2/auth/register.twig
+++ /dev/null
@@ -1,112 +0,0 @@
-{% extends './v2/layout/auth' %}
-{% block content %}
-
- {# errors during registration: #}
- {% if errors|length > 0 %}
- <div class="row">
- <div class="alert alert-info alert-dismissible">
- <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
- <h5><span class="icon fas fa-info"></span> {{ 'problems_with_input'|_ }}</h5>
- <ul class="list-unstyled">
- {% for error in errors.all %}
- <li>{{ error }}</li>
- {% endfor %}
- </ul>
- </div>
- </div>
-
- {% endif %}
- {# default header #}
- <div class="login-box">
- <div class="login-logo">
- <img src="v2/images/firefly-iii-logo-new.png" alt="Firefly III" width="90"/><br />
- </div>
-
- <!-- /.login-logo -->
- <div class="card">
- <div class="card-body login-card-body">
- <p class="login-box-msg">{{ 'register_new_account'|_ }}</p>
-
- <form action="{{ route('register') }}" method="post">
- <input type="hidden" name="_token" value="{{ csrf_token() }}"/>
- <div class="input-group mb-3">
- <input type="email" required autocomplete="email" name="email" value="{{ email }}" class="form-control"
- placeholder="{{ trans('form.email') }}"/>
- <div class="input-group-append">
- <div class="input-group-text">
- <span class="fas fa-envelope"></span>
- </div>
- </div>
- </div>
-
- <div class="input-group mb-3">
- <input type="password" name="password" required autocomplete="new-password" class="form-control"
- placeholder="{{ trans('form.password') }}"/>
- <div class="input-group-append">
- <div class="input-group-text">
- <span class="fas fa-lock"></span>
- </div>
- </div>
- </div>
-
- <div class="input-group mb-3">
- <input type="password" name="password_confirmation" required autocomplete="new-password" class="form-control"
- placeholder="{{ trans('form.password_confirmation') }}"/>
- <div class="input-group-append">
- <div class="input-group-text">
- <span class="fas fa-lock"></span>
- </div>
- </div>
- </div>
-
- <div class="row">
- <div class="col-12">
- <div class="icheck-primary">
- <input id="verify_password" checked type="checkbox" name="verify_password" value="1">
- <label for="verify_password">
- {{ trans('form.verify_password') }}
- </label>
- </div>
- </div>
- </div>
-
- <div class="row">
- <!-- /.col -->
- <div class="col-12">
- <button type="submit" class="btn btn-primary btn-block">{{ 'button_register'|_ }}</button>
- </div>
- <!-- /.col -->
- </div>
- <div class="row">
- <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
- <ul class="list-unstyled small">
- <li>
- <a data-toggle="modal" data-target="#passwordModal" href="#passwordModal">
- {{ 'what_is_pw_security'|_ }}
- </a>
- </li>
- <li>
- <a href="{{ route('login') }}">{{ 'want_to_login'|_ }}</a>
- </li>
- <li>
- <a href="{{ route('password.reset.request') }}">{{ 'forgot_my_password'|_ }}</a>
- </li>
- </ul>
- </div>
- </div>
- </form>
-
- </div>
- <!-- /.login-card-body -->
- </div>
- </div>
-
- {% include 'v2.partials.auth.password-modal' %}
-
- <!-- /.login-box -->
-{% endblock %}
-{% block scripts %}
- <script src="v2/js/manifest.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
- <script src="v2/js/vendor.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
- <script src="v2/js/register.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
-{% endblock %}
diff --git a/resources/views/v2/bills/create.twig b/resources/views/v2/bills/create.twig
deleted file mode 100644
index 8d84a086ff..0000000000
--- a/resources/views/v2/bills/create.twig
+++ /dev/null
@@ -1,11 +0,0 @@
-{% extends './v2/layout/default' %}
-{% block breadcrumbs %}
- {{ Breadcrumbs.render }}
-{% endblock %}
-{% block content %}
- <div id="bills_create"></div>
-{% endblock %}
-
-{% block scripts %}
- <script src="v2/js/bills/create.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
-{% endblock %}
diff --git a/resources/views/v2/bills/index.twig b/resources/views/v2/bills/index.twig
deleted file mode 100644
index 8410049d97..0000000000
--- a/resources/views/v2/bills/index.twig
+++ /dev/null
@@ -1,22 +0,0 @@
-{% extends './v2/layout/default' %}
-{% block breadcrumbs %}
- {{ Breadcrumbs.render }}
-{% endblock %}
-{% block content %}
- <div id="bills"></div>
-{% endblock %}
-
-{% block control %}
- <div>
- <div class="p-3 control-sidebar-content">
- <h5>{{ 'date_range'|_ }}</h5>
- <hr class="mb-2">
- <div id="calendar"></div>
- </div>
- </div>
-{% endblock %}
-
-
-{% block scripts %}
- <script src="v2/js/bills/index.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
-{% endblock %}
diff --git a/resources/views/v2/budgets/indexx.twig b/resources/views/v2/budgets/indexx.twig
deleted file mode 100644
index 96cabd2f17..0000000000
--- a/resources/views/v2/budgets/indexx.twig
+++ /dev/null
@@ -1,18 +0,0 @@
-
-{% extends './v2/layout/default' %}
-
-{% block breadcrumbs %}
- {{ Breadcrumbs.render }}
-{% endblock %}
-
-{% block content %}
- <div id="budgets"></div>
-{% endblock %}
-
-{% block styles %}
-
-{% endblock %}
-
-{% block scripts %}
- <script src="v2/js/budgets/index.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
-{% endblock %}
diff --git a/resources/views/v2/categories/indexx.twig b/resources/views/v2/categories/indexx.twig
deleted file mode 100644
index ecb1b071f4..0000000000
--- a/resources/views/v2/categories/indexx.twig
+++ /dev/null
@@ -1,19 +0,0 @@
-{% extends './v2/layout/default' %}
-{% block breadcrumbs %}
- {{ Breadcrumbs.render }}
-{% endblock %}
-{% block content %}
- <!-- Small boxes (Stat box) -->
-
- <!-- Main row -->
- <div id="no-page">Hello, I am empty page.</div>
- <!-- /.row (main row) -->
-{% endblock %}
-
-{% block styles %}
-
-{% endblock %}
-
-{% block scripts %}
- <script src="v2/js/empty.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
-{% endblock %}
diff --git a/resources/views/v2/currencies/indexx.twig b/resources/views/v2/currencies/indexx.twig
deleted file mode 100644
index ecb1b071f4..0000000000
--- a/resources/views/v2/currencies/indexx.twig
+++ /dev/null
@@ -1,19 +0,0 @@
-{% extends './v2/layout/default' %}
-{% block breadcrumbs %}
- {{ Breadcrumbs.render }}
-{% endblock %}
-{% block content %}
- <!-- Small boxes (Stat box) -->
-
- <!-- Main row -->
- <div id="no-page">Hello, I am empty page.</div>
- <!-- /.row (main row) -->
-{% endblock %}
-
-{% block styles %}
-
-{% endblock %}
-
-{% block scripts %}
- <script src="v2/js/empty.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
-{% endblock %}
diff --git a/resources/views/v2/error.twig b/resources/views/v2/error.twig
deleted file mode 100644
index f6a43110aa..0000000000
--- a/resources/views/v2/error.twig
+++ /dev/null
@@ -1,79 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <base href="{{ route('index') }}/">
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <title>Firefly III | :-(</title>
- <!-- Tell the browser to be responsive to screen width -->
- <meta name="viewport" content="width=device-width, initial-scale=1">
-
- <link rel="stylesheet" href="v2/plugins/local-fonts/gf-source.css" nonce="{{ JS_NONCE }}">
- <link rel="stylesheet" href="v2/css/app.css" nonce="{{ JS_NONCE }}">
-
-</head>
-<body>
-
-<div class="container-fluid">
- <div class="row">
- <div class="col-12">
- <div class="error-page">
- <h2 class="headline text-warning">:-(</h2>
-
- <div class="error-content">
- <h3><span class="fas fa-exclamation-triangle text-warning"></span> {{ trans('errors.error_occurred') }}</h3>
-
- <p>
- {{ trans('errors.error_not_recoverable') }}
- </p>
- <p class="text-danger">
- {{ message }}
- </p>
-
- {% if not debug %}
- <h4>
- {{ trans('errors.more_info') }}
- </h4>
- <p>
- {{ trans('errors.collect_info')|raw }}
- {{ trans('errors.collect_info_more')|raw }}
- </p>
- <h4>
- {{ trans('errors.github_help') }}
- </h4>
- <p>
- {{ trans('errors.github_instructions')|raw }}
- </p>
- <ol>
- <li>{{ trans('errors.use_search') }}</li>
- <li>{{ trans('errors.include_info', { link: route('debug') })|raw }}</li>
- <li>{{ trans('errors.tell_more') }}</li>
- <li>{{ trans('errors.what_did_you_do') }}</li>
- </ol>
- {% endif %}
-
- </div>
- </div>
- </div>
- </div>
-
- {% if debug %}
- <div class="row">
- <div class="col-lg-8 offset-lg-2">
- <h4>{{ trans('errors.error') }}</h4>
- <p>
- {{ trans('errors.error_location', {file: exception.getFile, line: exception.getLine, code: exception.getCode })|raw }}
- </p>
- <h4>
- {{ trans('errors.stacktrace') }}
- </h4>
- <div style="font-family: monospace;font-size:11px;">
- {{ exception.getTraceAsString|nl2br }}
- </div>
- </div>
- </div>
- {% endif %}
-
-</div>
-</body>
-</html>
diff --git a/resources/views/v2/export/indexx.twig b/resources/views/v2/export/indexx.twig
deleted file mode 100644
index ecb1b071f4..0000000000
--- a/resources/views/v2/export/indexx.twig
+++ /dev/null
@@ -1,19 +0,0 @@
-{% extends './v2/layout/default' %}
-{% block breadcrumbs %}
- {{ Breadcrumbs.render }}
-{% endblock %}
-{% block content %}
- <!-- Small boxes (Stat box) -->
-
- <!-- Main row -->
- <div id="no-page">Hello, I am empty page.</div>
- <!-- /.row (main row) -->
-{% endblock %}
-
-{% block styles %}
-
-{% endblock %}
-
-{% block scripts %}
- <script src="v2/js/empty.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
-{% endblock %}
diff --git a/resources/views/v2/index.twig b/resources/views/v2/index.twig
deleted file mode 100644
index e6c1455ec0..0000000000
--- a/resources/views/v2/index.twig
+++ /dev/null
@@ -1,35 +0,0 @@
-{% extends "./v2/layout/default" %}
-{% block breadcrumbs %}
- {{ Breadcrumbs.render }}
-{% endblock %}
-{% block content %}
- <!-- Small boxes (Stat box) -->
- <div class="alert alert-info">
- Hi there! The "v2"-layout is no longer receiving updates. Work will continue in "v3". This will be a fully functional
- <a href="https://en.wikipedia.org/wiki/Single-page_application" class="alert-link">SPA</a>
- based on the excellent <a href="https://quasar.dev/" class="alert-link">Quasar Framework</a> platform.
- Your comments, ideas and feedback will not be lost.
- </div>
- <!-- Main row -->
- <div id="dashboard"></div>
- <!-- /.row (main row) -->
-{% endblock %}
-
-{% block control %}
- <div>
- <div class="p-3 control-sidebar-content">
- <h5>{{ 'date_range'|_ }}</h5>
- <hr class="mb-2">
- <div id="calendar"></div>
- <hr class="mb-2">
- </div>
- </div>
-{% endblock %}
-
-{% block styles %}
-
-{% endblock %}
-
-{% block scripts %}
- <script src="v2/js/dashboard.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
-{% endblock %}
diff --git a/resources/views/v2/javascript/variables.twig b/resources/views/v2/javascript/variables.twig
deleted file mode 100644
index 839bb42595..0000000000
--- a/resources/views/v2/javascript/variables.twig
+++ /dev/null
@@ -1,2 +0,0 @@
-// var allowedOpposingTypes = {{ config('firefly.allowed_opposing_types')|json_encode|raw }};
-// var accountToTransaction = {{ config('firefly.account_to_transaction')|json_encode|raw }};
diff --git a/resources/views/v2/layout/auth.twig b/resources/views/v2/layout/auth.twig
deleted file mode 100644
index 01a74ef422..0000000000
--- a/resources/views/v2/layout/auth.twig
+++ /dev/null
@@ -1,35 +0,0 @@
-<!DOCTYPE html>
-<html lang="{{ trans('config.html_language') }}">
-<head>
- <base href="{{ route('index') }}/" />
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <title>Firefly III
- {% if title != "Firefly" and title != "" %}
- // {{ title }}
- {% endif %}
-
- {% if subTitle %}
- // {{ subTitle }}
- {% endif %}</title>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="stylesheet" href="v2/plugins/local-fonts/gf-source.css" nonce="{{ JS_NONCE }}">
- <link rel="stylesheet" href="v2/css/app.css" nonce="{{ JS_NONCE }}">
-</head>
-<body class="hold-transition login-page">
-{% block content %}{% endblock %}
-{% block scripts %}{% endblock %}
-
-<script nonce="{{ JS_NONCE }}">
- // Initialize the service worker
- if ('serviceWorker' in navigator) {
- navigator.serviceWorker.register('serviceworker.js?v={{ FF_VERSION }}', {
- scope: '{{ route('index') }}'
- }).then(
- () => console.log('ServiceWorker registration successful'),
- (err) => console.log('ServiceWorker registration failed: ', err)
- );
- }
-</script>
-</body>
-</html>
diff --git a/resources/views/v2/layout/default.twig b/resources/views/v2/layout/default.twig
deleted file mode 100644
index 7ffd5d14ae..0000000000
--- a/resources/views/v2/layout/default.twig
+++ /dev/null
@@ -1,110 +0,0 @@
-<!DOCTYPE html>
-<html lang="{{ trans('config.html_language') }}">
-<head>
- <base href="{{ route('index') }}/">
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="csrf-token" content="{{ csrf_token() }}">
- <meta name="locale" content="{{ locale|replace({'_':'-'}) }}">
- <meta name="robots" content="noindex, nofollow, noarchive, noodp, NoImageIndex, noydir">
- <meta name="apple-mobile-web-app-capable" content="yes">
-
- {# favicons #}
- {% include('v2.partials.layout.favicons') %}
-
- <title>
- {% if subTitle|default(false) %}
- {{ subTitle }} »
- {% endif %}
- {% if title != "Firefly III" %}
- {{ title }} »
- {% endif %}
-
- Firefly III
-
- </title>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="stylesheet" href="v2/plugins/local-fonts/gf-source.css" nonce="{{ JS_NONCE }}">
- <link rel="stylesheet" href="v2/css/app.css" nonce="{{ JS_NONCE }}">
-</head>
-<body class="hold-transition sidebar-mini layout-fixed layout-navbar-fixed">
-<div class="wrapper">
-
- <!-- Navbar -->
- {% include('v2.partials.layout.navbar') %}
-
- <!-- Main Sidebar Container -->
- {% include('v2.partials.layout.sidebar') %}
-
- <!-- Content Wrapper. Contains page content -->
- <div class="content-wrapper">
- <!-- Content Header (Page header) -->
- <div class="content-header">
- <div class="container-fluid">
- <!-- flashes -->
- {% include('v2.partials.layout.flashes') %}
- <div class="row mb-2">
- <div class="col-sm-6">
- <h1 class="m-0 text-dark">
- {% if mainTitleIcon|default(false) %}<span
- class="fa fas {{ mainTitleIcon }}"></span>{% endif %}
- {{ title }} <small class="text-muted">
- {% if subTitleIcon|default(false) %}<span
- class="fa fas {{ subTitleIcon }}"></span>{% endif %}
- <span id="page-subTitle">{{ subTitle|default('') }}</span></small></h1>
- </div><!-- /.col -->
- <div class="col-sm-6">
- {% block breadcrumbs %}{% endblock %}
- </div><!-- /.col -->
- </div><!-- /.row -->
- </div><!-- /.container-fluid -->
- </div>
- <!-- /.content-header -->
-
- <!-- Main content -->
- <section class="content">
- <div class="container-fluid">
- {% block content %}{% endblock %}
- </div><!-- /.container-fluid -->
- </section>
- <!-- /.content -->
- </div>
- <!-- /.content-wrapper -->
- {% include('v2.partials.layout.footer') %}
-
- <!-- Control Sidebar -->
- <aside class="control-sidebar control-sidebar-dark">
- <!-- Control sidebar content goes here -->
- {% block control %}
- <div class="p-3 control-sidebar-content">
- <h5>{{ 'advanced_options'|_ }}</h5>
- <hr class="mb-2">
- <p>
- {{ 'advanced_options_explain'|_ }}
- </p>
- </div>
- {% endblock %}
- </aside>
- <!-- /.control-sidebar -->
-</div>
-<!-- ./wrapper -->
-
-<script src="v2/js/manifest.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
-<script src="v2/js/vendor.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
-{% block scripts %}{% endblock %}
-
-<script nonce="{{ JS_NONCE }}">
- // Initialize the service worker
- if ('serviceWorker' in navigator) {
- navigator.serviceWorker.register('serviceworker.js?v={{ FF_VERSION }}', {
- scope: '{{ route('index') }}'
- }).then(
- () => console.log('ServiceWorker registration successful'),
- (err) => console.log('ServiceWorker registration failed: ', err)
- );
- }
-</script>
-
-</body>
-</html>
-
diff --git a/resources/views/v2/new-user/indexx.twig b/resources/views/v2/new-user/indexx.twig
deleted file mode 100644
index 756f4685f0..0000000000
--- a/resources/views/v2/new-user/indexx.twig
+++ /dev/null
@@ -1,19 +0,0 @@
-{% extends './v2/layout/default' %}
-{% block breadcrumbs %}
- {{ Breadcrumbs.render }}
-{% endblock %}
-{% block content %}
- <!-- Small boxes (Stat box) -->
-
- <!-- Main row -->
- <div id="newuser"></div>
- <!-- /.row (main row) -->
-{% endblock %}
-
-{% block styles %}
-
-{% endblock %}
-
-{% block scripts %}
- <script src="v2/js/new-user/index.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
-{% endblock %}
diff --git a/resources/views/v2/object-groups/indexx.twig b/resources/views/v2/object-groups/indexx.twig
deleted file mode 100644
index ecb1b071f4..0000000000
--- a/resources/views/v2/object-groups/indexx.twig
+++ /dev/null
@@ -1,19 +0,0 @@
-{% extends './v2/layout/default' %}
-{% block breadcrumbs %}
- {{ Breadcrumbs.render }}
-{% endblock %}
-{% block content %}
- <!-- Small boxes (Stat box) -->
-
- <!-- Main row -->
- <div id="no-page">Hello, I am empty page.</div>
- <!-- /.row (main row) -->
-{% endblock %}
-
-{% block styles %}
-
-{% endblock %}
-
-{% block scripts %}
- <script src="v2/js/empty.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
-{% endblock %}
diff --git a/resources/views/v2/partials/auth/password-modal.twig b/resources/views/v2/partials/auth/password-modal.twig
deleted file mode 100644
index 4da1f437b4..0000000000
--- a/resources/views/v2/partials/auth/password-modal.twig
+++ /dev/null
@@ -1,36 +0,0 @@
-<!-- Modal -->
-<div class="modal fade" id="passwordModal" tabindex="-1" role="dialog" aria-labelledby="passwordModalLabel" aria-hidden="true">
- <div class="modal-dialog">
- <div class="modal-content">
- <div class="modal-header">
- <h5 class="modal-title" id="exampleModalLabel">{{ 'secure_pw_title'|_ }}</h5>
- <button type="button" class="close" data-dismiss="modal" aria-label="{{ 'close'|_ }}">
- <span aria-hidden="true">&times;</span>
- </button>
- </div>
- <div class="modal-body">
- <p>
- {{ 'secure_pw_history'|_ }}
- </p>
- <p>
- {{ 'secure_pw_ff'|_ }}
- </p>
- <p>
- {{ 'secure_pw_check_box'|_ }}
- </p>
-
- <h4>{{ 'secure_pw_working_title'|_ }}</h4>
- <p>
- {{ 'secure_pw_working'|_ }}
- </p>
- <h4>{{ 'secure_pw_should'|_ }}</h4>
- <p>
- {{ 'secure_pw_long_password'|_ }}
- </p>
- </div>
- <div class="modal-footer">
- <button type="button" class="btn btn-primary" data-dismiss="modal">{{ 'close'|_ }}</button>
- </div>
- </div>
- </div>
-</div>
diff --git a/resources/views/v2/partials/layout/breadcrumbs.twig b/resources/views/v2/partials/layout/breadcrumbs.twig
deleted file mode 100644
index 91e467ac37..0000000000
--- a/resources/views/v2/partials/layout/breadcrumbs.twig
+++ /dev/null
@@ -1,11 +0,0 @@
-{% if breadcrumbs|length > 0 %}
- <ol class="breadcrumb float-sm-right">
- {% for breadcrumb in breadcrumbs %}
- {% if breadcrumb.url and not loop.last %}
- <li class="breadcrumb-item"><a href="{{ breadcrumb.url }}">{{ breadcrumb.title }}</a></li>
- {% else %}
- <li class="breadcrumb-item active">{{ breadcrumb.title }}</li>
- {% endif %}
- {% endfor %}
-</ol>
-{% endif %}
diff --git a/resources/views/v2/partials/layout/control.twig b/resources/views/v2/partials/layout/control.twig
deleted file mode 100644
index 8b13789179..0000000000
--- a/resources/views/v2/partials/layout/control.twig
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/resources/views/v2/partials/layout/favicons.twig b/resources/views/v2/partials/layout/favicons.twig
deleted file mode 100644
index 17199c3a97..0000000000
--- a/resources/views/v2/partials/layout/favicons.twig
+++ /dev/null
@@ -1,28 +0,0 @@
-{# main icons #}
-<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
-<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png">
-
-{# iOS icons #}
-<link rel="apple-touch-icon" sizes="76x76" href="maskable76.png">
-<link rel="apple-touch-icon" sizes="120x120" href="maskable120.png">
-<link rel="apple-touch-icon" sizes="152x152" href="maskable152.png">
-<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png">
-
-{# Pinned tab #}
-<link rel="mask-icon" href="safari-pinned-tab.svg" color="#1e6581">
-
-{# Android #}
-<link href="maskable192.png" rel="icon" sizes="192x192">
-<link href="maskable128.png" rel="icon" sizes="128x128">
-
-{# Manifest #}
-<link rel="manifest" href="/manifest.webmanifest">
-
-{# Android colors #}
-<meta name="theme-color" content="#1e6581">
-
-{# Microsoft meta #}
-<meta name="msapplication-TileColor" content="#1e6581">
-<meta name="msapplication-TileImage" content="maskable.png">
-<meta name="msapplication-tap-highlight" content="no">
-<meta name="application-name" content="Firefly III">
diff --git a/resources/views/v2/partials/layout/flashes.twig b/resources/views/v2/partials/layout/flashes.twig
deleted file mode 100644
index 6a9b30e31f..0000000000
--- a/resources/views/v2/partials/layout/flashes.twig
+++ /dev/null
@@ -1,57 +0,0 @@
-{# SUCCESS MESSAGE (ALWAYS SINGULAR) #}
-{% if session_has('success') %}
- <div class="row">
- <div class="col">
- <!-- alert from URL -->
- <div class="alert alert-success alert-dismissible">
- <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
- <h5><span class="icon fas fa-thumbs-up"></span> {{ 'flash_success'|_ }}</h5>
- <span>
- {% if session_has('success_url') %}
- <a href="{{ session('success_url') }}">
- {% endif %}
- {{ session('success') }}
- {% if session_has('success_url') %}
- </a>
- {% endif %}
- </span>
- </div>
- </div>
- </div>
-{% endif %}
-
-{% if session_has('warning') %}
- <div class="row">
- <div class="col">
- <!-- alert from URL -->
- <div class="alert alert-warning alert-dismissible">
- <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
- <h5><span class="icon fas fa-exclamation-triangle"></span> {{ 'flash_warning'|_ }}</h5>
- <span>
- {% if session_has('warning_url') %}
- <a href="{{ session('warning_url') }}" style="color:rgb(31, 45, 61);">
- {% endif %}
- {{ session('warning') }}
- {% if session_has('warning_url') %}
- </a>
- {% endif %}
- </span>
- </div>
- </div>
- </div>
-{% endif %}
-
-{% if upgrade_security_message and upgrade_security_level %}
- <div class="row">
- <div class="col">
- <!-- alert from URL -->
- <div class="alert alert-{{ upgrade_security_level }}">
- <h5><span class="fas fa-exclamation-triangle"></span> {{ ('flash_'~upgrade_security_level)|_ }}</h5>
- <span>
- {{ upgrade_security_message }}
- </span>
- </div>
- </div>
- </div>
-
-{% endif %}
diff --git a/resources/views/v2/partials/layout/footer.twig b/resources/views/v2/partials/layout/footer.twig
deleted file mode 100644
index c7e15dfc0f..0000000000
--- a/resources/views/v2/partials/layout/footer.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-<footer class="main-footer">
-
- <small><a href="https://firefly-iii.org/">Firefly III</a> &copy; James Cole, <a href="https://www.gnu.org/licenses/agpl-3.0.html">AGPL-3.0-or-later</a></small>
- <div class="float-right d-none d-sm-inline-block">
- <b>{{ 'version'|_ }}</b> <a href="{{ route('debug') }}">{{ Config.get('firefly.version') }}</a>
- </div>
-</footer>
diff --git a/resources/views/v2/partials/layout/navbar.twig b/resources/views/v2/partials/layout/navbar.twig
deleted file mode 100644
index e00088aba4..0000000000
--- a/resources/views/v2/partials/layout/navbar.twig
+++ /dev/null
@@ -1,124 +0,0 @@
-<nav class="main-header navbar navbar-expand navbar-white navbar-light">
- <!-- Left navbar links -->
- <ul class="navbar-nav">
- <li class="nav-item">
- <a class="nav-link" data-widget="pushmenu" href="#" role="button"><span class="fas fa-bars"></span></a>
- </li>
- </ul>
-
- <!-- SEARCH FORM -->
- <form class="form-inline ml-3" action="{{ route('search.index') }}" method="get">
- <div class="input-group input-group-sm">
- <input class="form-control form-control-navbar" name="search" type="search" placeholder="Search" aria-label="Search">
- <div class="input-group-append">
- <button class="btn btn-navbar" type="submit">
- <span class="fas fa-search"></span>
- </button>
- </div>
- </div>
- </form>
-
- <!-- Right navbar links -->
- <ul class="navbar-nav ml-auto">
- <!-- Messages Dropdown Menu -->
- {# calendar thing, removed #}
- <li class="nav-item dropdown">
- <a class="nav-link" data-toggle="dropdown" href="#">
- <span class="fas fa-cogs"></span>
- </a>
- <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
- <a href="{{ route('preferences.index') }}" class="dropdown-item">
- <span class="fas fa-fw fa-cogs mr-2"></span> {{ 'preferences'|_ }}
- </a>
- <div class="dropdown-divider"></div>
- <a href="{{ route('currencies.index') }}" class="dropdown-item">
- <span class="fas fa-fw fa-euro-sign mr-2"></span> {{ 'currencies'|_ }}
- </a>
- <div class="dropdown-divider"></div>
- <a href="{{ route('admin.index') }}" class="dropdown-item">
- <span class="fas fa-fw fa-envelope mr-2"></span> {{ 'administration'|_ }}
- </a>
- <div class="dropdown-divider"></div>
- <a href="#" class="dropdown-item">
- <span class="fas fa-fw fa-globe mr-2"></span> {{ 'webhooks'|_ }}
- </a>
- <div class="dropdown-divider"></div>
- <a href="{{ route('export.index') }}" class="dropdown-item">
- <span class="fas fa-fw fa-upload mr-2"></span> {{ 'export_data_menu'|_ }}
- </a>
- </div>
- </li>
- <!-- Notifications Dropdown Menu -->
- <li class="nav-item dropdown">
- <form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
- <input type="hidden" name="_token" value="{{ csrf_token() }}" />
- </form>
- <a class="nav-link" data-toggle="dropdown" href="#">
- <span class="far fa-user"></span>
- </a>
- <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
- <a href="{{ route('profile.index') }}" class="dropdown-item">
- <span class="fas fa-fw fa-user mr-2"></span> {{ 'profile'|_ }}
- </a>
- <div class="dropdown-divider"></div>
- <a href="{{ route('preferences.index') }}" class="dropdown-item">
- <span class="fas fa-fw fa-cogs mr-2"></span> {{ 'preferences'|_ }}
- </a>
- <div class="dropdown-divider"></div>
- <a href="{{ route('logout') }}" class="dropdown-item" onclick="event.preventDefault();document.getElementById('logout-form').submit();">
- <span class="fas fa-sign-out-alt mr-2"></span> {{ 'logout'|_ }}
- </a>
- </div>
- </li>
- <li class="nav-item dropdown">
- <a class="nav-link" data-toggle="dropdown" href="#">
- <span class="far fa-plus-square"></span>
- </a>
- <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
- <a href="{{ route('transactions.create', 'withdrawal') }}" class="dropdown-item">
- <span class="fas fa-long-arrow-alt-left nav-icon"></span> {{ 'new_withdrawal'|_ }}
- </a>
- <a href="{{ route('transactions.create', 'deposit') }}" class="dropdown-item">
- <span class="fas fa-long-arrow-alt-right nav-icon"></span> {{ 'new_deposit'|_ }}
- </a>
- <a href="{{ route('transactions.create', 'transfer') }}" class="dropdown-item">
- <span class="fas fa-exchange-alt nav-icon"></span> {{ 'new_transfer'|_ }}
- </a>
-
- <div class="dropdown-divider"></div>
- <a href="{{ route('budgets.create') }}" class="dropdown-item">
- <span class="nav-icon fas fa-chart-pie"></span> {{ 'new_budget'|_ }}
- </a>
- <a href="{{ route('bills.create') }}" class="dropdown-item">
- <span class="nav-icon far fa-calendar-alt"></span> {{ 'new_bill'|_ }}
- </a>
- <a href="{{ route('piggy-banks.create') }}" class="dropdown-item">
- <span class="nav-icon fas fa-piggy-bank"></span> {{ 'new_piggy_bank'|_ }}
- </a>
-
- <div class="dropdown-divider"></div>
- <a href="{{ route('rules.create') }}" class="dropdown-item">
- <span class="fas fa-random nav-icon"></span> {{ 'new_rule'|_ }}
- </a>
- <a href="{{ route('recurring.create') }}" class="dropdown-item">
- <span class="fas fa-magic nav-icon"></span> {{ 'new_recurring_transaction'|_ }}
- </a>
-
- <div class="dropdown-divider"></div>
- <a href="{{ route('accounts.create', 'asset') }}" class="dropdown-item">
- <span class="far fa-money-bill-alt nav-icon"></span> {{ 'new_asset_account'|_ }}
- </a>
- <a href="{{ route('accounts.create', 'liabilities') }}" class="dropdown-item">
- <span class="fas fa-funnel-dollar nav-icon"></span> {{ 'new_liabilities_account'|_ }}
- </a>
- </div>
- </li>
- <!-- here be dragons -->
- <li class="nav-item">
- <a class="nav-link" data-widget="control-sidebar" data-slide="true" href="#" role="button" title="{{ 'here_be_dragons'|_ }}">
- <span class="fas fa-dragon"></span>
- </a>
- </li>
- </ul>
-</nav>
-<!-- /.navbar -->
diff --git a/resources/views/v2/partials/layout/sidebar.twig b/resources/views/v2/partials/layout/sidebar.twig
deleted file mode 100644
index f78df82c04..0000000000
--- a/resources/views/v2/partials/layout/sidebar.twig
+++ /dev/null
@@ -1,203 +0,0 @@
-<aside class="main-sidebar sidebar-dark-primary elevation-4">
- <!-- Brand Logo -->
- <a href="{{ route('index') }}" class="brand-link">
- <img src="v2/images/logo-hollow.png" alt="Firefly III" class="brand-image"
- > <!-- img-circle elevation-3 -->
- <span class="brand-text font-weight-light">Firefly III</span>
- </a>
-
- <!-- Sidebar -->
- <div class="sidebar">
- <!-- Sidebar user panel (optional) -->
- <!--
- <div class="user-panel mt-3 pb-3 mb-3 d-flex">
- <div class="image">
- <img src="v2/dist/img/user2-160x160.jpg" class="img-circle elevation-2" alt="User Image">
- </div>
- <div class="info">
- <a href="#" class="d-block">Alexander Pierce</a>
- </div>
- </div>
- -->
-
- <!-- Sidebar Menu -->
- <nav class="mt-2">
- <ul class="nav nav-compact nav-child-indent nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
- <!-- Add icons to the links using the .nav-icon class
- with font-awesome or any other icon font library -->
- <li class="nav-item">
- <a href="{{ route('index') }}" class="nav-link {{ activeRouteStrict('index') }}">
- <span class="nav-icon fas fa-tachometer-alt"></span>
- <p>
- {{ 'dashboard'|_ }}
- </p>
- </a>
- </li>
-
- <li class="nav-header text-uppercase">{{ 'financial_control'|_ }}</li>
-
- <li class="nav-item">
- <a href="{{ route('budgets.index') }}" class="nav-link {{ activeRoutePartial('budgets') }}">
- <span class="nav-icon fas fa-chart-pie"></span>
- <p>
- {{ 'budgets'|_ }}
- </p>
- </a>
- </li>
-
- <li class="nav-item">
- <a href="{{ route('subscriptions.index') }}" class="nav-link {{ activeRoutePartial('bills') }} {{ activeRoutePartial('subscriptions') }}">
- <span class="nav-icon far fa-calendar-alt"></span>
- <p>
- {{ 'subscriptions'|_ }}
- </p>
- </a>
- </li>
-
- <li class="nav-item">
- <a href="{{ route('piggy-banks.index') }}" class="nav-link {{ activeRoutePartial('piggy-banks') }}">
- <span class="nav-icon fas fa-piggy-bank"></span>
- <p>
- {{ 'piggyBanks'|_ }}
- </p>
- </a>
- </li>
-
- <li class="nav-header text-uppercase">{{ 'accounting'|_ }}</li>
-
- <li class="nav-item has-treeview {{ menuOpenRoutePartial('transactions') }}">
- <a href="#" class="nav-link">
- <span class="nav-icon fas fa-exchange-alt"></span>
- <p>
- {{ 'transactions'|_ }}
- <span class="right fas fa-angle-left"></span>
- </p>
- </a>
- <ul class="nav nav-treeview">
- <li class="nav-item">
- <a href="{{ route('transactions.index', 'withdrawal') }}" class="nav-link {{ activeRoutePartialObjectType('transactions', 'withdrawal') }}">
- <span class="fas fa-long-arrow-alt-left nav-icon"></span>
- <p>{{ 'expenses'|_ }}</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="{{ route('transactions.index', 'deposit') }}" class="nav-link {{ activeRoutePartialObjectType('transactions', 'deposit') }}">
- <span class="fas fa-long-arrow-alt-right nav-icon"></span>
- <p>{{ 'income'|_ }}</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="{{ route('transactions.index', 'transfers') }}" class="nav-link {{ activeRoutePartialObjectType('transactions', 'transfers') }}">
- <span class="fas fa-exchange-alt nav-icon"></span>
- <p>{{ 'transfers'|_ }}</p>
- </a>
- </li>
- </ul>
- </li>
-
- <li class="nav-item has-treeview {{ menuOpenRoutePartial('rules') }} {{ menuOpenRoutePartial('recurring') }}">
- <a href="#" class="nav-link">
- <span class="nav-icon fas fa-microchip"></span>
- <p>
- {{ 'automation'|_ }}
- <span class="right fas fa-angle-left"></span>
- </p>
- </a>
- <ul class="nav nav-treeview">
- <li class="nav-item">
- <a href="{{ route('rules.index') }}" class="nav-link {{ activeRoutePartial('rules') }}">
- <span class="fas fa-random nav-icon"></span>
- <p>{{ 'rules'|_ }}</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="{{ route('recurring.index') }}" class="nav-link {{ activeRoutePartial('recurring') }}">
- <span class="fas fa-magic nav-icon"></span>
- <p>{{ 'recurrences'|_ }}</p>
- </a>
- </li>
- </ul>
- </li>
-
- <li class="nav-header text-uppercase">{{ 'others'|_ }}</li>
-
- <li class="nav-item has-treeview {{ menuOpenRoutePartial('accounts') }}">
- <a href="#" class="nav-link {{ activeRoutePartial('accounts') }}">
- <span class="nav-icon fas fa-credit-card"></span>
- <p>
- {{ 'accounts'|_ }}
- <span class="right fas fa-angle-left"></span>
- </p>
- </a>
- <ul class="nav nav-treeview">
- <li class="nav-item">
- <a href="{{ route('accounts.index','asset') }}" class="nav-link {{ activeRoutePartialObjectType('accounts', 'asset') }}">
- <span class="far fa-money-bill-alt nav-icon"></span>
- <p>{{ 'asset_accounts'|_ }}</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="{{ route('accounts.index','expense') }}" class="nav-link {{ activeRoutePartialObjectType('accounts', 'expense') }}">
- <span class="fas fa-shopping-cart nav-icon"></span>
- <p>{{ 'expense_accounts'|_ }}</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="{{ route('accounts.index','revenue') }}" class="nav-link {{ activeRoutePartialObjectType('accounts', 'revenue') }}">
- <span class="fas fa-briefcase nav-icon"></span>
- <p>{{ 'revenue_accounts'|_ }}</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="{{ route('accounts.index','liabilities') }}" class="nav-link {{ activeRoutePartialObjectType('accounts', 'liabilities') }}">
- <span class="fas fa-funnel-dollar nav-icon"></span>
- <p>{{ 'liabilities_accounts'|_ }}</p>
- </a>
- </li>
- </ul>
- </li>
-
- <li class="nav-item has-treeview {{ menuOpenRoutePartial('tags') }} {{ menuOpenRoutePartial('categories') }} {{ menuOpenRoutePartial('object-groups') }}">
- <a href="#" class="nav-link">
- <span class="nav-icon fas fa-tags"></span>
- <p>
- {{ 'classification'|_ }}
- <span class="right fas fa-angle-left"></span>
- </p>
- </a>
- <ul class="nav nav-treeview">
- <li class="nav-item">
- <a href="{{ route('categories.index') }}" class="nav-link {{ activeRoutePartial('categories') }}">
- <span class="fas fa-bookmark nav-icon"></span>
- <p>{{ 'categories'|_ }}</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="{{ route('tags.index') }}" class="nav-link {{ activeRoutePartial('tags') }}">
- <span class="fas fa-tags nav-icon"></span>
- <p>{{ 'tags'|_ }}</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="{{ route('object-groups.index') }}" class="nav-link {{ activeRoutePartial('object-groups') }}">
- <span class="far fa-envelope nav-icon"></span>
- <p>{{ 'object_groups_menu_bar'|_ }}</p>
- </a>
- </li>
- </ul>
- </li>
-
- <li class="nav-item">
- <a href="{{ route('reports.index') }}" class="nav-link {{ activeRoutePartial('reports') }}">
- <span class="nav-icon far fa-chart-bar"></span>
- <p>
- {{ 'reports'|_ }}
- </p>
- </a>
- </li>
- </ul>
- </nav>
- <!-- /.sidebar-menu -->
- </div>
- <!-- /.sidebar -->
-</aside>
diff --git a/resources/views/v2/piggy-banks/indexx.twig b/resources/views/v2/piggy-banks/indexx.twig
deleted file mode 100644
index 6e9e6b618a..0000000000
--- a/resources/views/v2/piggy-banks/indexx.twig
+++ /dev/null
@@ -1,19 +0,0 @@
-{% extends './v2/layout/default' %}
-{% block breadcrumbs %}
- {{ Breadcrumbs.render }}
-{% endblock %}
-{% block content %}
- <!-- Small boxes (Stat box) -->
-
- <!-- Main row -->
- <div id="no-page">Hello, I am empty page.</div>
- <!-- /.row (main row) -->
-{% endblock %}
-
-{% block styles %}
-
-{% endblock %}
-
-{% block scripts %}
- <script src="v2/js/empty.jsv" nonce="{{ JS_NONCE }}"></script>
-{% endblock %}
diff --git a/resources/views/v2/preferences/indexx.twig b/resources/views/v2/preferences/indexx.twig
deleted file mode 100644
index ecb1b071f4..0000000000
--- a/resources/views/v2/preferences/indexx.twig
+++ /dev/null
@@ -1,19 +0,0 @@
-{% extends './v2/layout/default' %}
-{% block breadcrumbs %}
- {{ Breadcrumbs.render }}
-{% endblock %}
-{% block content %}
- <!-- Small boxes (Stat box) -->
-
- <!-- Main row -->
- <div id="no-page">Hello, I am empty page.</div>
- <!-- /.row (main row) -->
-{% endblock %}
-
-{% block styles %}
-
-{% endblock %}
-
-{% block scripts %}
- <script src="v2/js/empty.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
-{% endblock %}
diff --git a/resources/views/v2/profile/indexx.twig b/resources/views/v2/profile/indexx.twig
deleted file mode 100644
index ecb1b071f4..0000000000
--- a/resources/views/v2/profile/indexx.twig
+++ /dev/null
@@ -1,19 +0,0 @@
-{% extends './v2/layout/default' %}
-{% block breadcrumbs %}
- {{ Breadcrumbs.render }}
-{% endblock %}
-{% block content %}
- <!-- Small boxes (Stat box) -->
-
- <!-- Main row -->
- <div id="no-page">Hello, I am empty page.</div>
- <!-- /.row (main row) -->
-{% endblock %}
-
-{% block styles %}
-
-{% endblock %}
-
-{% block scripts %}
- <script src="v2/js/empty.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
-{% endblock %}
diff --git a/resources/views/v2/recurring/indexx.twig b/resources/views/v2/recurring/indexx.twig
deleted file mode 100644
index 92aeead0a1..0000000000
--- a/resources/views/v2/recurring/indexx.twig
+++ /dev/null
@@ -1,19 +0,0 @@
-{% extends './v2/layout/default' %}
-{% block breadcrumbs %}
- {{ Breadcrumbs.render }}
-{% endblock %}
-{% block content %}
- <!-- Small boxes (Stat box) -->
-
- <!-- Main row -->
- <div id="no-page">Hello, I am empty page.</div>
- <!-- /.row (main row) -->
-{% endblock %}
-
-{% block styles %}
-
-{% endblock %}
-
-{% block scripts %}
- <script src="v2/js/empty.?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
-{% endblock %}
diff --git a/resources/views/v2/reports/indexx.twig b/resources/views/v2/reports/indexx.twig
deleted file mode 100644
index ecb1b071f4..0000000000
--- a/resources/views/v2/reports/indexx.twig
+++ /dev/null
@@ -1,19 +0,0 @@
-{% extends './v2/layout/default' %}
-{% block breadcrumbs %}
- {{ Breadcrumbs.render }}
-{% endblock %}
-{% block content %}
- <!-- Small boxes (Stat box) -->
-
- <!-- Main row -->
- <div id="no-page">Hello, I am empty page.</div>
- <!-- /.row (main row) -->
-{% endblock %}
-
-{% block styles %}
-
-{% endblock %}
-
-{% block scripts %}
- <script src="v2/js/empty.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
-{% endblock %}
diff --git a/resources/views/v2/rules/indexx.twig b/resources/views/v2/rules/indexx.twig
deleted file mode 100644
index ecb1b071f4..0000000000
--- a/resources/views/v2/rules/indexx.twig
+++ /dev/null
@@ -1,19 +0,0 @@
-{% extends './v2/layout/default' %}
-{% block breadcrumbs %}
- {{ Breadcrumbs.render }}
-{% endblock %}
-{% block content %}
- <!-- Small boxes (Stat box) -->
-
- <!-- Main row -->
- <div id="no-page">Hello, I am empty page.</div>
- <!-- /.row (main row) -->
-{% endblock %}
-
-{% block styles %}
-
-{% endblock %}
-
-{% block scripts %}
- <script src="v2/js/empty.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
-{% endblock %}
diff --git a/resources/views/v2/tags/indexx.twig b/resources/views/v2/tags/indexx.twig
deleted file mode 100644
index ecb1b071f4..0000000000
--- a/resources/views/v2/tags/indexx.twig
+++ /dev/null
@@ -1,19 +0,0 @@
-{% extends './v2/layout/default' %}
-{% block breadcrumbs %}
- {{ Breadcrumbs.render }}
-{% endblock %}
-{% block content %}
- <!-- Small boxes (Stat box) -->
-
- <!-- Main row -->
- <div id="no-page">Hello, I am empty page.</div>
- <!-- /.row (main row) -->
-{% endblock %}
-
-{% block styles %}
-
-{% endblock %}
-
-{% block scripts %}
- <script src="v2/js/empty.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
-{% endblock %}
diff --git a/resources/views/v2/transactions/create.twig b/resources/views/v2/transactions/create.twig
deleted file mode 100644
index a5ac7fa327..0000000000
--- a/resources/views/v2/transactions/create.twig
+++ /dev/null
@@ -1,23 +0,0 @@
-{% extends './v2/layout/default' %}
-{% block breadcrumbs %}
- {{ Breadcrumbs.render }}
-{% endblock %}
-{% block content %}
- <!-- Small boxes (Stat box) -->
-
- <!-- Main row -->
- <div id="transactions_create"></div>
- <!-- /.row (main row) -->
-{% endblock %}
-
-{% block styles %}
-
-{% endblock %}
-
-{% block scripts %}
- <script type="text/javascript" nonce="{{ JS_NONCE }}">
- // this is a terrible hack.
- var previousURL = '{{ previousUri }}';
- </script>
- <script src="v2/js/transactions/create.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
-{% endblock %}
diff --git a/resources/views/v2/transactions/edit.twig b/resources/views/v2/transactions/edit.twig
deleted file mode 100644
index e47fcfc3c2..0000000000
--- a/resources/views/v2/transactions/edit.twig
+++ /dev/null
@@ -1,23 +0,0 @@
-{% extends './v2/layout/default' %}
-{% block breadcrumbs %}
- {{ Breadcrumbs.render }}
-{% endblock %}
-{% block content %}
- <!-- Small boxes (Stat box) -->
-
- <!-- Main row -->
- <div id="transactions_edit"></div>
- <!-- /.row (main row) -->
-{% endblock %}
-
-{% block styles %}
-
-{% endblock %}
-
-{% block scripts %}
- <script type="text/javascript" nonce="{{ JS_NONCE }}">
- // this is a terrible hack.
- var previousURL = '{{ previousUri }}';
- </script>
- <script src="v2/js/transactions/edit.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
-{% endblock %}
diff --git a/resources/views/v2/transactions/index.twig b/resources/views/v2/transactions/index.twig
deleted file mode 100644
index 8ff1cc70c6..0000000000
--- a/resources/views/v2/transactions/index.twig
+++ /dev/null
@@ -1,29 +0,0 @@
-{% extends './v2/layout/default' %}
-{% block breadcrumbs %}
- {{ Breadcrumbs.render }}
-{% endblock %}
-{% block content %}
- <!-- Main row -->
- <div id="transactions_index"></div>
- <!-- /.row (main row) -->
-{% endblock %}
-
-{% block control %}
- <div>
- <div class="p-3 control-sidebar-content">
- <h5>{{ 'date_range'|_ }}</h5>
- <hr class="mb-2">
- <div id="calendar"></div>
- <hr class="mb-2">
- <h5>{{ 'list_options'|_ }}</h5>
- </div>
- </div>
-{% endblock %}
-
-{% block styles %}
-
-{% endblock %}
-
-{% block scripts %}
- <script src="v2/js/transactions/index.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
-{% endblock %}