Skip to content

Firefly III: a personal finances manager

Remove unused items.

James Cole8368dde20430
diff --git a/resources/views/layout/default.blade.php b/resources/views/layout/default.blade.php
deleted file mode 100644
index aabb43a780..0000000000
--- a/resources/views/layout/default.blade.php
+++ /dev/null
@@ -1,306 +0,0 @@
-<!DOCTYPE html>
-<html lang="{{ trans('config.html_language') }}">
-<head>
- <!--
- If the base href URL begins with "http://" but you are sure it should start with "https://",
- please visit the following page: https://bit.ly/FF3-broken-base-href
- -->
- <base href="{{ route('index', null, true) }}/">
- <meta charset="UTF-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="csrf-token" content="{{ csrf_token() }}">
- <meta name="robots" content="noindex, nofollow, noarchive, noodp, NoImageIndex, noydir">
- <meta name="apple-mobile-web-app-capable" content="yes">
- <meta name="mobile-web-app-capable" content="yes">
- <title>
- {% if pageTitle %}
- {{ pageTitle }} »
- @endif
- {% if subTitle and not pageTitle %}
- {{ $subTitle }} »
- @endif
- {% if title != "Firefly III" %}
- {{ title }} »
- @endif
-
- Firefly III
-
- </title>
- <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
- {{-- CSS things --}}
- <link href="v1/lib/bs/css/bootstrap.min.css?v={{ $FF_BUILD_TIME }}" rel="stylesheet" type="text/css"
- nonce="{{ $JS_NONCE }}">
- <link href="v1/lib/fa/css/font-awesome.min.css?v={{ $FF_BUILD_TIME }}" rel="stylesheet" type="text/css"
- nonce="{{ $JS_NONCE }}">
-
-
- {{-- the theme --}}
- <link href="v1/lib/adminlte/css/AdminLTE.min.css?v={{ $FF_BUILD_TIME }}" rel="stylesheet" type="text/css"
- nonce="{{ $JS_NONCE }}">
- {% if 'browser' == darkMode %}
- <meta name="color-scheme" content="light dark">
- <script nonce="{{ $JS_NONCE }}">
- // If `prefers-color-scheme` is not supported, fall back to light mode.
- // In this case, light.css will be downloaded with `highest` priority.
- if (window.matchMedia('(prefers-color-scheme: dark)').media === 'not all') {
- document.documentElement.style.display = 'none';
- document.head.insertAdjacentHTML(
- 'beforeend',
- '<link rel="stylesheet" href="v1/lib/adminlte/css/skins/skin-light.min.css?v={{ $FF_BUILD_TIME }}" nonce="{{ $JS_NONCE }}" onload="document.documentElement.style.display = \'\'">',
- );
- }
- </script>
- <link href="v1/css/daterangepicker-default.css?v={{ $FF_BUILD_TIME }}" rel="stylesheet" type="text/css"
- nonce="{{ $JS_NONCE }}">
- <link href="v1/lib/adminlte/css/skins/skin-dark.min.css?v={{ $FF_BUILD_TIME }}" rel="stylesheet" type="text/css"
- nonce="{{ $JS_NONCE }}" media="(prefers-color-scheme: dark)">
- <link href="v1/lib/adminlte/css/skins/skin-light.min.css?v={{ $FF_BUILD_TIME }}" rel="stylesheet" type="text/css"
- nonce="{{ $JS_NONCE }}" media="(prefers-color-scheme: light)">
- @endif
- {% if 'dark' == darkMode %}
- <meta name="color-scheme" content="dark">
- <link href="v1/css/daterangepicker-dark.css?v={{ $FF_BUILD_TIME }}" rel="stylesheet" type="text/css"
- nonce="{{ $JS_NONCE }}">
- <link href="v1/lib/adminlte/css/skins/skin-dark.min.css?v={{ $FF_BUILD_TIME }}" rel="stylesheet" type="text/css"
- nonce="{{ $JS_NONCE }}">
- @endif
- {% if 'light' == darkMode %}
- <meta name="color-scheme" content="light">
- <link href="v1/css/daterangepicker-light.css?v={{ $FF_BUILD_TIME }}" rel="stylesheet" type="text/css"
- nonce="{{ $JS_NONCE }}">
- <link href="v1/lib/adminlte/css/skins/skin-light.min.css?v={{ $FF_BUILD_TIME }}" rel="stylesheet" type="text/css"
- nonce="{{ $JS_NONCE }}">
- @endif
- {{-- Firefly III customisations --}}
- <link href="v1/css/firefly.css?v={{ $FF_BUILD_TIME }}" rel="stylesheet" type="text/css" nonce="{{ $JS_NONCE }}">
-
- {{-- Extra CSS for the demo: --}}
- {% if not shownDemo %}
- <link href="v1/lib/intro/introjs.min.css?v={{ $FF_BUILD_TIME }}" rel="stylesheet" type="text/css"
- nonce="{{ $JS_NONCE }}">
- @endif
-
- {{-- Any local custom CSS. --}}
- @section('styles')@endsection
- <!--[if lt IE 9]>
- <script src="v1/js/lib/html5shiv.min.js?v={{ $FF_BUILD_TIME }}" nonce="{{ $JS_NONCE }}"></script>
- <script src="v1/js/lib/respond.min.js?v={{ $FF_BUILD_TIME }}" nonce="{{ $JS_NONCE }}"></script>
- <![endif]-->
-
- {{-- favicons --}}
- {% include 'partials.favicons' %}
-
-</head>
-<body class="skin-firefly-iii sidebar-mini hold-transition">
-{{-- this entry is in the header so it's loaded early --}}
-<script type="text/javascript" nonce="{{ $JS_NONCE }}">
- var forceDemoOff = false;
- if ('true' === localStorage.getItem('ff3_sidebar_collapsed')) {
- document.body.classList.add('sidebar-collapse');
- }
-</script>
-<div class="wrapper" id="app">
-
- <header class="main-header">
-
- {{-- Logo --}}
- <a href="{{ route('index') }}" class="logo">
- {{-- mini logo for sidebar mini 50x50 pixels --}}
- <span class="logo-mini">FF</span>
- {{-- logo for regular state and mobile devices --}}
- <span class="logo-lg"><strong>Firefly</strong>III</span>
- </a>
-
- <nav class="navbar navbar-static-top" role="navigation">
- <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
- <span class="sr-only">{{ 'toggleNavigation'|_ }}</span>
- </a>
- <div class="navbar-custom-menu">
- <ul class="nav navbar-nav">
- <li class="hidden-sm hidden-xs">
- <a href="#" id="anonymous">
- {% if anonymous %}
- <span class="text-danger bi bi-eye-slash"></span>
- @endif
- {% if not anonymous %}
- <span class="text-success bi bi-eye"></span>
- @endif
- </a>
- </li>
- <li class="hidden-sm hidden-xs">
- <a href="#" id="help" data-route="{{ original_route_name }}"
- data-extra="{{ objectType|default("") }}">
- <span class="bi bi-question-circle" data-route="{{ original_route_name }}"
- data-extra="{{ objectType|default("") }}"></span>
- </a>
- </li>
-
- <li>
- <span class="date-range-holder">
- <span id="daterange"></span>
- </span>
- </li>
-
- <li class="dropdown user user-menu">
- <span class="dropdown-holder">
- <span class="hidden-xs">{{ Auth.user.email }}</span>
- </span>
- </li>
- <li id="sidebar-toggle">
- <a href="#" data-toggle="control-sidebar"><span class="bi bi-plus-circle-circle"></span></a>
- </li>
- </ul>
- </div>
-
- </nav>
- </header>
- <aside class="main-sidebar">
- <section class="sidebar">
- <form action="{{ route('search.index') }}" method="get" class="sidebar-form">
- <div class="input-group">
- <input autocomplete="off" type="text" name="search" class="form-control"
- placeholder="{{ 'searchPlaceholder'|_ }}" value="{{ query }}" spellcheck="false"/>
- <span class="input-group-btn">
- <button type='submit' name='go' id='search-btn' class="btn btn-flat"><span class="bi bi-search"></span></button>
- </span>
- </div>
- </form>
- {% include('partials.menu-sidebar') %}
- </section>
- </aside>
-
- <div class="content-wrapper">
- <section class="content-header">
- {% include('partials.page-header') %}
- @endsection
- </section>
-
- <section class="content">
- {% if IS_DEMO_SITE %}
- <div class="row no-print">
- <div class="col-lg-12">
- <p class="well">
- {% include ['demo.' ~ Route.getCurrentRoute.getName, 'demo.no-demo-text'] %}
- </p>
- </div>
- </div>
- @endif
-
- {% include('partials.flashes') %}
-
- @section('content')@endsection
- </section>
- </div>
- <footer class="main-footer">
- <div class="text-end">
- <b class="hidden-xs">{{ 'version'|_ }}</b> <a
- href="{{ route('debug') }}">{{ Config.get('firefly.version') }}</a>
- </div>
- <strong><a href="https://github.com/firefly-iii/firefly-iii">Firefly III</a></strong>
- <small class="text-muted">&copy; James Cole, <a href="https://www.gnu.org/licenses/agpl-3.0.html">AGPL-3.0-or-later</a>.</small>
- {% if FF_IS_ALPHA %}<small class="text-danger hidden-xs"><br>{{ 'is_alpha_warning'|_ }}</small>@endif
- {% if FF_IS_BETA %}<small class="text-warning hidden-xs"><br>{{ 'is_beta_warning'|_ }}</small>@endif
- </footer>
-
- {% include('partials.control-bar') %}
-
-</div>
-<div class="modal fade" id="defaultModal" tabindex="-1" role="dialog">
-</div>
-
-<div class="modal fade" tabindex="-1" role="dialog" id="helpModal">
- <div class="modal-dialog modal-lg">
- <div class="modal-content">
- <div class="modal-header">
- <h4 class="modal-title" id="helpTitle">&nbsp;</h4>
- </div>
- <div class="modal-body" id="helpBody">&nbsp;</div>
- <div class="modal-footer">
- <small class="pull-left">
- {{ 'need_more_help'|_ }}
- </small>
- <br/>
- <small class="pull-left">
- {{ trans('firefly.reenable_intro_text')|raw }}
- </small>
- <button type="button" class="btn btn-outline-secondary" data-bs-dismiss="modal">{{ __('firefly.close') }}</button>
- </div>
- </div>
- </div>
-</div>
-
-{{-- Java libraries and stuff: --}}
-
-{% block definitions %}@endsection
-
-{{-- Moment JS --}}
-<script src="v1/js/lib/moment.min.js?v={{ $FF_BUILD_TIME }}" type="text/javascript" nonce="{{ $JS_NONCE }}"></script>
-<script src="v1/js/lib/moment/{{ language|replace({'-':'_'}) }}.js?v={{ $FF_BUILD_TIME }}" type="text/javascript"
- nonce="{{ $JS_NONCE }}"></script>
-
-{{-- All kinds of variables. --}}
-<script
- src="{{ route('javascript.variables') }}?ext=.js&amp;v={{ FF_VERSION }}{% if account %}&amp;account={{ account.id }}@endif"
- type="text/javascript" nonce="{{ $JS_NONCE }}"></script>
-
-{{-- Base script: jquery and bootstrap --}}
-<script src="v1/js/app.js?v={{ $FF_BUILD_TIME }}" type="text/javascript" nonce="{{ $JS_NONCE }}"></script>
-
-{{-- Vue scripts and components. Only loaded when needed --}}
-{% if VUE_SCRIPT_NAME %}
- <script src="v1/js/app_vue.js?v={{ $FF_BUILD_TIME }}" type="text/javascript" nonce="{{ $JS_NONCE }}"></script>
- <script src="v1/js/{{ VUE_SCRIPT_NAME }}.js?v={{ $FF_BUILD_TIME }}" type="text/javascript"
- nonce="{{ $JS_NONCE }}"></script>
-@endif
-
-{{-- date range picker, current template, etc. --}}
-<script src="v1/js/lib/daterangepicker.js?v={{ $FF_BUILD_TIME }}" type="text/javascript" nonce="{{ $JS_NONCE }}"></script>
-<script src="v1/lib/adminlte/js/adminlte.min.js?v={{ $FF_BUILD_TIME }}" type="text/javascript"
- nonce="{{ $JS_NONCE }}"></script>
-<script type="text/javascript" src="v1/js/lib/accounting.min.js?v={{ $FF_BUILD_TIME }}" nonce="{{ $JS_NONCE }}"></script>
-
-{{-- Firefly III code --}}
-<script type="text/javascript" src="v1/js/ff/firefly.js?v={{ $FF_BUILD_TIME }}" nonce="{{ $JS_NONCE }}"></script>
-<script type="text/javascript" src="v1/js/ff/help.js?v={{ $FF_BUILD_TIME }}" nonce="{{ $JS_NONCE }}"></script>
-{% if not shownDemo %}
- <script type="text/javascript" nonce="{{ $JS_NONCE }}">
- var routeForTour = "{{ current_route_name }}";
- var routeStepsUrl = "{{ route('json.intro', [current_route_name, objectType|default("")]) }}";
- var routeForFinishedTour = "{{ route('json.intro.finished', [current_route_name, objectType|default("")]) }}";
- </script>
- <script type="text/javascript" src="v1/lib/intro/intro.min.js?v={{ $FF_BUILD_TIME }}" nonce="{{ $JS_NONCE }}"></script>
- <script type="text/javascript" src="v1/js/ff/intro/intro.js?v={{ $FF_BUILD_TIME }}" nonce="{{ $JS_NONCE }}"></script>
-@endif
-
-@section('scripts')@endsection
-
-{% if config('firefly.tracker_site_id') != '' and config('firefly.tracker_url') != '' %}
- <!-- This tracker tag is only here because this instance of Firefly III was purposefully configured to include it -->
- <!-- Your own installation will NOT include it, unless you explicitly configure it to have it. -->
- <script type="text/javascript" nonce="{{ $JS_NONCE }}">
- var _paq = window._paq || [];
- _paq.push(['trackPageView']);
- _paq.push(['enableLinkTracking']);
- (function () {
- var u = "//{{ config('firefly.tracker_url') }}/";
- _paq.push(['setTrackerUrl', u + 'matomo.php']);
- _paq.push(['setSiteId', '{{ config('firefly.tracker_site_id') }}']);
- var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0];
- g.type = 'text/javascript';
- g.async = true;
- g.defer = true;
- g.src = u + 'matomo.js';
- s.parentNode.insertBefore(g, s);
- })();
- </script>
- <noscript><p><img
- src="//{{ config('firefly.tracker_url') }}/matomo.php?idsite={{ config('firefly.tracker_site_id') }}&amp;rec=1"
- class="no-border" alt=""/></p></noscript>
-@endif
-
-<form id="logout-form" action="{{ route('logout') }}" method="POST" class="hidden">
- <input type="hidden" name="_token" value="{{ csrf_token() }}"/>
-</form>
-
-</body>
-</html>
diff --git a/resources/views/layout/empty.blade.php b/resources/views/layout/empty.blade.php
deleted file mode 100644
index 4ce34c05a8..0000000000
--- a/resources/views/layout/empty.blade.php
+++ /dev/null
@@ -1,92 +0,0 @@
-<!DOCTYPE html>
-<html lang="{{ trans('config.html_language') }}">
-<head>
- <base href="{{ route('index') }}/">
- <meta charset="UTF-8">
- <meta name="robots" content="noindex, nofollow, noarchive, noodp, NoImageIndex, noydir">
- <title>Firefly III</title>
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="csrf-token" content="{{ csrf_token() }}">
- <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
- <meta name="apple-mobile-web-app-capable" content="yes">
- <meta name="mobile-web-app-capable" content="yes">
-
- {{-- CSS things --}}
-
- {{-- libraries --}}
- <link href="v1/lib/bs/css/bootstrap.min.css?v={{ $FF_BUILD_TIME }}" rel="stylesheet" type="text/css" nonce="{{ $JS_NONCE }}">
- <link href="v1/lib/fa/css/font-awesome.min.css?v={{ $FF_BUILD_TIME }}" rel="stylesheet" type="text/css" nonce="{{ $JS_NONCE }}">
-
- {{-- the theme --}}
- <link href="v1/lib/adminlte/css/AdminLTE.min.css?v={{ $FF_BUILD_TIME }}" rel="stylesheet" type="text/css" nonce="{{ $JS_NONCE }}">
- {% if 'browser' == darkMode %}
- <meta name="color-scheme" content="light dark">
- <script nonce="{{ $JS_NONCE }}">
- // If `prefers-color-scheme` is not supported, fall back to light mode.
- // In this case, light.css will be downloaded with `highest` priority.
- if (window.matchMedia('(prefers-color-scheme: dark)').media === 'not all') {
- document.documentElement.style.display = 'none';
- document.head.insertAdjacentHTML(
- 'beforeend',
- '<link rel="stylesheet" href="v1/lib/adminlte/css/skins/skin-light.min.css?v={{ $FF_BUILD_TIME }}" nonce="{{ $JS_NONCE }}" onload="document.documentElement.style.display = \'\'">',
- );
- }
- </script>
- <link href="v1/lib/adminlte/css/skins/skin-dark.min.css?v={{ $FF_BUILD_TIME }}" rel="stylesheet" type="text/css" nonce="{{ $JS_NONCE }}" media="(prefers-color-scheme: dark)">
- <link href="v1/lib/adminlte/css/skins/skin-light.min.css?v={{ $FF_BUILD_TIME }}" rel="stylesheet" type="text/css" nonce="{{ $JS_NONCE }}" media="(prefers-color-scheme: light)">
- @endif
- {% if 'dark' == darkMode %}
- <meta name="color-scheme" content="dark">
- <link href="v1/lib/adminlte/css/skins/skin-dark.min.css?v={{ $FF_BUILD_TIME }}" rel="stylesheet" type="text/css" nonce="{{ $JS_NONCE }}">
- @endif
- {% if 'light' == darkMode %}
- <meta name="color-scheme" content="light">
- <link href="v1/lib/adminlte/css/skins/skin-light.min.css?v={{ $FF_BUILD_TIME }}" rel="stylesheet" type="text/css" nonce="{{ $JS_NONCE }}">
- @endif
-
- {{-- Firefly III customisations --}}
- <link href="v1/css/firefly.css?v={{ $FF_BUILD_TIME }}" rel="stylesheet" type="text/css" nonce="{{ $JS_NONCE }}">
-
- <!--[if lt IE 9]>
- <script src="v1/js/lib/html5shiv.min.js?v={{ $FF_BUILD_TIME }}" nonce="{{ $JS_NONCE }}"></script>
- <script src="v1/js/lib/respond.min.js?v={{ $FF_BUILD_TIME }}" nonce="{{ $JS_NONCE }}"></script>
- <![endif]-->
-
- {{-- favicons --}}
- {% include('partials.favicons') %}
-
-</head>
-<body class="login-page">
-<div class="login-box">
- <div class="login-logo">
- <a href="{{ route('index') }}"><strong>Firefly</strong>III</a>
- </div>
- @section('content')@endsection
-</div>
-
-<script src="v1/js/app.js?v={{ $FF_BUILD_TIME }}" type="text/javascript" nonce="{{ $JS_NONCE }}"></script>
-
-{% if config('firefly.tracker_site_id') != '' and config('firefly.tracker_url') != '' %}
- <!-- This tracker tag is only here because this instance of Firefly III was purposefully configured to include it -->
- <!-- Your own installation will NOT include it, unless you explicitly configure it to have it. -->
- <script type="text/javascript" nonce="{{ $JS_NONCE }}">
- var _paq = window._paq || [];
- _paq.push(['trackPageView']);
- _paq.push(['enableLinkTracking']);
- (function () {
- var u = "//{{ config('firefly.tracker_url') }}/";
- _paq.push(['setTrackerUrl', u + 'matomo.php']);
- _paq.push(['setSiteId', '{{ config('firefly.tracker_site_id') }}']);
- var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0];
- g.type = 'text/javascript';
- g.async = true;
- g.defer = true;
- g.src = u + 'matomo.js';
- s.parentNode.insertBefore(g, s);
- })();
- </script>
- <noscript><p><img src="//{{ config('firefly.tracker_url') }}/matomo.php?idsite={{ config('firefly.tracker_site_id') }}&amp;rec=1" class="no-border" alt=""/></p></noscript>
-@endif
-
-</body>
-</html>
diff --git a/resources/views/layout/guest.blade.php b/resources/views/layout/guest.blade.php
deleted file mode 100644
index ad3179bff6..0000000000
--- a/resources/views/layout/guest.blade.php
+++ /dev/null
@@ -1,106 +0,0 @@
-<!DOCTYPE html>
-<html lang="{{ trans('config.html_language') }}">
-<head>
- <base href="{{ route('index') }}/">
- <meta charset="UTF-8">
- <meta name="robots" content="noindex, nofollow, noarchive, noodp, NoImageIndex, noydir">
- <meta name="apple-mobile-web-app-capable" content="yes">
- <meta name="mobile-web-app-capable" content="yes">
- <title>Firefly III
-
- {% if title != "Firefly" and title != "" %}
- // {{ title }}
- @endif
-
- {% if subTitle %}
- // {{ $subTitle }}
- @endif
- </title>
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="csrf-token" content="{{ csrf_token() }}">
- <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
-
- {{-- CSS things --}}
-
- {{-- libraries --}}
- <link href="v1/lib/bs/css/bootstrap.min.css?v={{ $FF_BUILD_TIME }}" rel="stylesheet" type="text/css" nonce="{{ $JS_NONCE }}">
- <link href="v1/lib/fa/css/font-awesome.min.css?v={{ $FF_BUILD_TIME }}" rel="stylesheet" type="text/css" nonce="{{ $JS_NONCE }}">
-
- {{-- the theme --}}
- <link href="v1/lib/adminlte/css/AdminLTE.min.css?v={{ $FF_BUILD_TIME }}" rel="stylesheet" type="text/css" nonce="{{ $JS_NONCE }}">
- {% if 'browser' == darkMode %}
- <meta name="color-scheme" content="light dark">
- <script nonce="{{ $JS_NONCE }}">
- // If `prefers-color-scheme` is not supported, fall back to light mode.
- // In this case, light.css will be downloaded with `highest` priority.
- if (window.matchMedia('(prefers-color-scheme: dark)').media === 'not all') {
- document.documentElement.style.display = 'none';
- document.head.insertAdjacentHTML(
- 'beforeend',
- '<link rel="stylesheet" href="v1/lib/adminlte/css/skins/skin-light.min.css?v={{ $FF_BUILD_TIME }}" nonce="{{ $JS_NONCE }}" onload="document.documentElement.style.display = \'\'">',
- );
- }
- </script>
- <link href="v1/lib/adminlte/css/skins/skin-dark.min.css?v={{ $FF_BUILD_TIME }}" rel="stylesheet" type="text/css" nonce="{{ $JS_NONCE }}" media="(prefers-color-scheme: dark)">
- <link href="v1/lib/adminlte/css/skins/skin-light.min.css?v={{ $FF_BUILD_TIME }}" rel="stylesheet" type="text/css" nonce="{{ $JS_NONCE }}" media="(prefers-color-scheme: light)">
- @endif
- {% if 'dark' == darkMode %}
- <meta name="color-scheme" content="dark">
- <link href="v1/lib/adminlte/css/skins/skin-dark.min.css?v={{ $FF_BUILD_TIME }}" rel="stylesheet" type="text/css" nonce="{{ $JS_NONCE }}">
- @endif
- {% if 'light' == darkMode %}
- <meta name="color-scheme" content="light">
- <link href="v1/lib/adminlte/css/skins/skin-light.min.css?v={{ $FF_BUILD_TIME }}" rel="stylesheet" type="text/css" nonce="{{ $JS_NONCE }}">
- @endif
-
- {{-- Firefly III customisations --}}
- <link href="v1/css/firefly.css?v={{ $FF_BUILD_TIME }}" rel="stylesheet" type="text/css" nonce="{{ $JS_NONCE }}">
-
- <!--[if lt IE 9]>
- <script src="v1/js/lib/html5shiv.min.js?v={{ $FF_BUILD_TIME }}" nonce="{{ $JS_NONCE }}"></script>
- <script src="v1/js/lib/respond.min.js?v={{ $FF_BUILD_TIME }}" nonce="{{ $JS_NONCE }}"></script>
- <![endif]-->
-
- {{-- favicons --}}
- {% include('partials.favicons') %}
-
-</head>
-<body class="login-page">
-<div class="login-box">
- <div class="login-logo">
- <a href="{{ route('index') }}"><strong>Firefly</strong>III</a>
- </div>
- @section('content')@endsection
-</div>
-<div class="text-center text-muted">
- <small>
- Developed by James Cole, the source code is licensed under the <a href="https://www.gnu.org/licenses/agpl-3.0.html">AGPL-3.0-or-later</a>.
- </small>
-</div>
-<script src="v1/js/app.js?v={{ $FF_BUILD_TIME }}" type="text/javascript" nonce="{{ $JS_NONCE }}"></script>
-<script type="text/javascript" src="v1/js/ff/guest.js?v={{ $FF_BUILD_TIME }}" nonce="{{ $JS_NONCE }}"></script>
-
-{% if config('firefly.tracker_site_id') != '' and config('firefly.tracker_url') != '' %}
- <!-- This tracker tag is only here because this instance of Firefly III was purposefully configured to include it -->
- <!-- Your own installation will NOT include it, unless you explicitly configure it to have it. -->
- <script type="text/javascript" nonce="{{ $JS_NONCE }}">
- var _paq = window._paq || [];
- _paq.push(['trackPageView']);
- _paq.push(['enableLinkTracking']);
- (function () {
- var u = "//{{ config('firefly.tracker_url') }}/";
- _paq.push(['setTrackerUrl', u + 'matomo.php']);
- _paq.push(['setSiteId', '{{ config('firefly.tracker_site_id') }}']);
- var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0];
- g.type = 'text/javascript';
- g.async = true;
- g.defer = true;
- g.src = u + 'matomo.js';
- s.parentNode.insertBefore(g, s);
- })();
- </script>
- <noscript><p><img src="//{{ config('firefly.tracker_url') }}/matomo.php?idsite={{ config('firefly.tracker_site_id') }}&amp;rec=1" class="no-border" alt=""/></p></noscript>
-@endif
-
-</body>
-</html>
diff --git a/resources/views/layout/install.blade.php b/resources/views/layout/install.blade.php
deleted file mode 100644
index 63b9f12914..0000000000
--- a/resources/views/layout/install.blade.php
+++ /dev/null
@@ -1,65 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <title>Firefly III - Installation and update</title>
- <base href="{{ route('index') }}/">
- <meta charset="UTF-8">
- <meta name="robots" content="noindex, nofollow, noarchive, noodp, NoImageIndex, noydir">
- <meta name="apple-mobile-web-app-capable" content="yes">
- <meta name="mobile-web-app-capable" content="yes">
- <meta name="color-scheme" content="light dark">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="csrf-token" content="{{ csrf_token() }}">
- <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
-
- {{-- CSS things --}}
-
- <!-- fonts and styles -->
- <link rel="stylesheet" href="v3-local/css/fonts.css?v=6.0.7">
- <link rel="stylesheet" href="v3-local/lib/fontawesome-free/css/all.min.css?v=6.0.7">
- <link rel="stylesheet" href="v3-local/lib/icheck-bootstrap/icheck-bootstrap.min.css?v=6.0.7">
- <link rel="stylesheet" href="v3-local/dist/css/adminlte.min.css?v=6.0.7">
-
- {{-- favicons --}}
- {% include('partials.favicons') %}
-</head>
-<body class="hold-transition login-page dark-mode">
-<div class="login-box">
- <div class="login-logo">
- <strong>Firefly</strong>III<br/>
- <span class="install-box-title">installation and upgrade</span>
- </div>
- @section('content')@endsection
-</div>
-<div class="text-center text-muted">
- <small>
- Developed by James Cole, the source code is licensed under the <a href="https://www.gnu.org/licenses/agpl-3.0.html">AGPL-3.0-or-later</a>.
- </small>
-</div>
-<script src="v1/js/app.js?v={{ $FF_BUILD_TIME }}" type="text/javascript" nonce="{{ $JS_NONCE }}"></script>
-<script type="text/javascript" src="v1/js/ff/guest.js?v={{ $FF_BUILD_TIME }}" nonce="{{ $JS_NONCE }}"></script>
-@section('scripts')@endsection
-{% if config('firefly.tracker_site_id') != '' and config('firefly.tracker_url') != '' %}
- <!-- This tracker tag is only here because this instance of Firefly III was purposefully configured to include it -->
- <!-- Your own installation will NOT include it, unless you explicitly configure it to have it. -->
- <script type="text/javascript" nonce="{{ $JS_NONCE }}">
- var _paq = window._paq || [];
- _paq.push(['trackPageView']);
- _paq.push(['enableLinkTracking']);
- (function () {
- var u = "//{{ config('firefly.tracker_url') }}/";
- _paq.push(['setTrackerUrl', u + 'matomo.php']);
- _paq.push(['setSiteId', '{{ config('firefly.tracker_site_id') }}']);
- var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0];
- g.type = 'text/javascript';
- g.async = true;
- g.defer = true;
- g.src = u + 'matomo.js';
- s.parentNode.insertBefore(g, s);
- })();
- </script>
- <noscript><p><img src="//{{ config('firefly.tracker_url') }}/matomo.php?idsite={{ config('firefly.tracker_site_id') }}&amp;rec=1" class="no-border" alt=""/></p></noscript>
-@endif
-
-</body>
-</html>
diff --git a/resources/views/layout/v2/error.blade.php b/resources/views/layout/v2/error.blade.php
deleted file mode 100644
index 1680bb4b18..0000000000
--- a/resources/views/layout/v2/error.blade.php
+++ /dev/null
@@ -1,91 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <base href="{{ route('index') }}/"/>
- <meta charset="utf-8">
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <title>@yield('status_code') @yield('status') - Firefly III</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="title" content="@yield('status_code') @yield('status') - Firefly III">
-
- <!-- copy of head.blade.php -->
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="csrf-token" content="{{ csrf_token() }}">
- <meta name="robots" content="noindex, nofollow, noarchive, noodp, NoImageIndex, noydir">
- <meta name="apple-mobile-web-app-capable" content="yes">
- <meta name="mobile-web-app-capable" content="yes">
- <meta name="color-scheme" content="light dark">
-
- <script type="text/javascript" nonce="{{ $JS_NONCE ?? 'none' }}">
- /*!
- * Color mode toggler for Bootstrap's docs (https://getbootstrap.com/)
- * Copyright 2011-2023 The Bootstrap Authors
- * Licensed under the Creative Commons Attribution 3.0 Unported License.
- */
-
- (() => {
- 'use strict'
- // todo store just happens to store in localStorage but if not, this would break.
- const getStoredTheme = () => JSON.parse(localStorage.getItem('darkMode'))
-
- const getPreferredTheme = () => {
- const storedTheme = getStoredTheme()
- if (storedTheme) {
- return storedTheme
- }
-
- return window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light'
- }
-
- const setTheme = theme => {
- if (theme === 'browser' && window.matchMedia('(prefers-color-scheme: dark)').matches) {
- document.documentElement.setAttribute('data-bs-theme', 'dark')
- window.theme = 'dark';
- return;
- }
- if (theme === 'browser' && window.matchMedia('(prefers-color-scheme: light)').matches) {
- window.theme = 'light';
- document.documentElement.setAttribute('data-bs-theme', 'light')
- return;
- }
- document.documentElement.setAttribute('data-bs-theme', theme)
- window.theme = theme;
- }
-
- setTheme(getPreferredTheme())
-
- window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', () => {
- const storedTheme = getStoredTheme()
- if (storedTheme !== 'light' && storedTheme !== 'dark') {
- setTheme(getPreferredTheme())
- }
- })
- })()
- </script>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- {{-- @vite(['css/app.css', 'js/app.js']) --}}
- <style nonce="{{ $JS_NONCE ?? '' }}">
- .monospace {font-family: monospace;font-size:11px;}
- </style>
-
-</head>
-<body class="container bg-body-secondary">
-<div class="row">
- <div class="col mt-3">
- <img src="images/logo-session.png" width="68" height="100" alt="Firefly III Logo" title="Firefly III"/><br>
- </div>
-</div>
-<div class="row">
- <div class="col">
- <h1><strong>Firefly</strong> III - @yield('status_code') @yield('status') :(</h1>
- </div>
-</div>
-<div class="row">
- <div class="col">
- <h2 class="text-danger">@yield('sub_title')</h2>
- </div>
-</div>
-@yield('content')
-@yield('scripts')
-</body>
-</html>
diff --git a/resources/views/layout/v2/session.blade.php b/resources/views/layout/v2/session.blade.php
deleted file mode 100644
index 056d868b22..0000000000
--- a/resources/views/layout/v2/session.blade.php
+++ /dev/null
@@ -1,81 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <base href="{{ route('index') }}/" />
- <meta charset="utf-8">
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <title>{{ __('firefly.login_page_title') }}</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="title" content="{{ __('firefly.login_page_title') }}">
-
- <!-- copy of head.blade.php -->
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="csrf-token" content="{{ csrf_token() }}">
- <meta name="robots" content="noindex, nofollow, noarchive, noodp, NoImageIndex, noydir">
- <meta name="apple-mobile-web-app-capable" content="yes">
- <meta name="mobile-web-app-capable" content="yes">
- <meta name="color-scheme" content="light dark">
-
- <script type="text/javascript" nonce="{{ $JS_NONCE }}">
- /*!
- * Color mode toggler for Bootstrap's docs (https://getbootstrap.com/)
- * Copyright 2011-2023 The Bootstrap Authors
- * Licensed under the Creative Commons Attribution 3.0 Unported License.
- */
-
- (() => {
- 'use strict'
- // todo store just happens to store in localStorage but if not, this would break.
- const getStoredTheme = () => JSON.parse(localStorage.getItem('darkMode'))
-
- const getPreferredTheme = () => {
- const storedTheme = getStoredTheme()
- if (storedTheme) {
- return storedTheme
- }
-
- return window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light'
- }
-
- const setTheme = theme => {
- if (theme === 'browser' && window.matchMedia('(prefers-color-scheme: dark)').matches) {
- document.documentElement.setAttribute('data-bs-theme', 'dark')
- window.theme = 'dark';
- return;
- }
- if (theme === 'browser' && window.matchMedia('(prefers-color-scheme: light)').matches) {
- window.theme = 'light';
- document.documentElement.setAttribute('data-bs-theme', 'light')
- return;
- }
- document.documentElement.setAttribute('data-bs-theme', theme)
- window.theme = theme;
- }
-
- setTheme(getPreferredTheme())
-
- window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', () => {
- const storedTheme = getStoredTheme()
- if (storedTheme !== 'light' && storedTheme !== 'dark') {
- setTheme(getPreferredTheme())
- }
- })
- })()
- </script>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- @vite(['sass/app.scss'])
-</head>
-
-<body class="login-page bg-body-secondary">
-<div class="login-box">
- <div class="login-logo">
- <img src="images/logo-session.png" width="68" height="100" alt="Firefly III Logo" title="Firefly III" /><br>
- <a href='{{ route('index') }}'><b>Firefly</b> III</a> </div>
- @yield('content')
-
-
-</div>
-
-@yield('scripts')
-</body>
-</html>
diff --git a/resources/views/partials/boxes.blade.php b/resources/views/partials/boxes.blade.php
deleted file mode 100644
index 1d87b4d38d..0000000000
--- a/resources/views/partials/boxes.blade.php
+++ /dev/null
@@ -1,78 +0,0 @@
-<div class="row hidden-xs">
- {{-- box for in and out (balance) --}}
- <div class="col-lg-3 col-md-6 col-sm-6 col-xs-12">
- <div class="info-box bg-aqua-gradient" id="box_out_holder">
- <span class="info-box-icon"><span class="fa fa-balance-scale"></span></span>
-
- <div class="info-box-content">
- <span class="info-box-text">
- <a href="{{ route('reports.report.default', ['allAssetAccounts',start.format('Ymd'),end.format('Ymd')]) }}">{{ 'in_out_period'|_ }}</a></span>
- <span class="info-box-number" id="box-balance-sums"></span>
-
- <div class="progress" id="box-balance-progress">
- <div class="progress-bar"></div>
- </div>
- <span class="progress-description">
- <span id="box-balance-list" ></span>
- </span>
- </div>
- </div>
- </div>
-
- {{-- box for bills --}}
- <div class="col-lg-3 col-md-6 col-sm-6 col-xs-12">
- <div class="info-box bg-teal-gradient">
- <span class="info-box-icon"><span class="bi bi-calendar-o"></span></span>
-
- <div class="info-box-content">
- <span class="info-box-text"><a href="{{ route('subscriptions.index') }}">{{ 'bills_to_pay'|_ }}</a></span>
- <span class="info-box-number" id="box-bills-unpaid"></span>
-
- <div class="progress">
- <div class="progress-bar"></div>
- </div>
- <span class="progress-description">
- {{ 'paid'|_ }}:
- <span title="{{ 'bills_paid'|_ }}" id="box-bills-paid"></span>
- </span>
- </div>
- </div>
- </div>
-
- {{-- available to spend total / per day --}}
- <div class="col-lg-3 col-md-6 col-sm-6 col-xs-12">
- <div class="info-box bg-green-gradient" id="box-left-to-spend-box">
- <span class="info-box-icon"><span class="bi bi-cash"></span></span>
- <div class="info-box-content">
- <span class="info-box-text"><a id="box-left-to-spend-text" href="{{ route('budgets.index') }}">{{ 'left_to_spend'|_ }}</a></span>
- <span class="info-box-number" id="box-left-to-spend"></span>
-
- <div class="progress">
- <div class="progress-bar"></div>
- </div>
- <span class="progress-description">
- {{ 'per_day'|_ }}:
- <span title="{{ 'left_to_spend_per_day'|_ }}" id="box-left-per-day"></span>
- </span>
- </div>
- </div>
- </div>
-
- {{-- net worth --}}
- <div class="col-lg-3 col-md-6 col-sm-6 col-xs-12">
- <div class="info-box bg-blue-gradient">
- <span class="info-box-icon"><span class="fa fa-line-chart"></span></span>
-
- <div class="info-box-content">
- <span class="info-box-text">
- <a href="{{ route('reports.report.default', ['allAssetAccounts','currentYearStart','currentYearEnd']) }}">{{ __('firefly.net_worth') }}</a></span>
- <span class="info-box-number" id="box-net-worth"></span>
-
- <div class="progress">
- <div class="progress-bar"></div>
- </div>
- <span class="progress-description"></span>
- </div>
- </div>
- </div>
-</div>
diff --git a/resources/views/partials/control-bar.blade.php b/resources/views/partials/control-bar.blade.php
deleted file mode 100644
index 20589517d3..0000000000
--- a/resources/views/partials/control-bar.blade.php
+++ /dev/null
@@ -1,132 +0,0 @@
-<aside class="control-sidebar control-sidebar-dark">
- <div class="tab-content">
- <div class="tab-panel active" id="control-sidebar-home-tab">
- <h3 class="control-sidebar-heading">{{ 'create_new_stuff'|_ }}</h3>
- <ul class='control-sidebar-menu'>
- <li>
- <a href="{{ route('transactions.create', 'withdrawal') }}">
- <span class="menu-icon bi bi-arrow-left bg-red"></span>
-
- <div class="menu-info">
- <h4 class="control-sidebar-subheading">{{ 'new_withdrawal'|_ }}</h4>
- </div>
- </a>
- </li>
- <li>
- <a href="{{ route('transactions.create', 'deposit') }}">
- <span class="menu-icon bi bi-arrow-right bg-green"></span>
-
- <div class="menu-info">
- <h4 class="control-sidebar-subheading">{{ 'new_deposit'|_ }}</h4>
- </div>
- </a>
- </li>
- <li>
- <a href="{{ route('transactions.create', 'transfer') }}">
- <span class="menu-icon bi bi-arrow-left-right bg-blue"></span>
-
- <div class="menu-info">
- <h4 class="control-sidebar-subheading">{{ 'new_transfer'|_ }}</h4>
- </div>
- </a>
- </li>
- <li>
- <a href="{{ route('accounts.create', 'asset') }}">
- <span class="menu-icon bi bi-cash bg-maroon"></span>
-
- <div class="menu-info">
- <h4 class="control-sidebar-subheading">{{ 'new_asset_account'|_ }}</h4>
- </div>
- </a>
- </li>
- <li>
- <a href="{{ route('accounts.create', 'expense') }}">
- <span class="menu-icon fa fa-shopping-cart bg-maroon"></span>
-
- <div class="menu-info">
- <h4 class="control-sidebar-subheading">{{ 'new_expense_account'|_ }}</h4>
- </div>
- </a>
- </li>
- <li>
- <a href="{{ route('accounts.create', 'revenue') }}">
- <span class="menu-icon bi bi-download bg-maroon"></span>
-
- <div class="menu-info">
- <h4 class="control-sidebar-subheading">{{ 'new_revenue_account'|_ }}</h4>
- </div>
- </a>
- </li>
- <li>
- <a href="{{ route('accounts.create', 'liabilities') }}">
- <span class="menu-icon fa fa-ticket bg-maroon"></span>
-
- <div class="menu-info">
- <h4 class="control-sidebar-subheading">{{ 'new_liabilities_account'|_ }}</h4>
- </div>
- </a>
- </li>
-
- <li>
- <a href="{{ route('budgets.create') }}">
- <span class="menu-icon bi bi-pie-chart bg-red"></span>
-
- <div class="menu-info">
- <h4 class="control-sidebar-subheading">{{ 'new_budget'|_ }}</h4>
- </div>
- </a>
- </li>
-
- <li>
- <a href="{{ route('categories.create') }}">
- <span class="menu-icon bi bi-bookmark bg-red"></span>
-
- <div class="menu-info">
- <h4 class="control-sidebar-subheading">{{ 'new_category'|_ }}</h4>
- </div>
- </a>
- </li>
-
- <li>
- <a href="{{ route('piggy-banks.create') }}">
- <span class="menu-icon fa fa-bullseye bg-teal"></span>
-
- <div class="menu-info">
- <h4 class="control-sidebar-subheading">{{ 'new_piggy_bank'|_ }}</h4>
- </div>
- </a>
- </li>
- <li>
- <a href="{{ route('subscriptions.create') }}">
- <span class="menu-icon bi bi-calendar-o bg-purple"></span>
-
- <div class="menu-info">
- <h4 class="control-sidebar-subheading">{{ 'new_bill'|_ }}</h4>
- </div>
- </a>
- </li>
- <li>
- <a href="{{ route('rules.create') }}">
- <span class="menu-icon fa fa-random bg-red"></span>
-
- <div class="menu-info">
- <h4 class="control-sidebar-subheading">{{ 'new_rule'|_ }}</h4>
- </div>
- </a>
- </li>
- <li>
- <a href="{{ route('recurring.create') }}">
- <span class="menu-icon fa fa-paint-brush bg-teal"></span>
-
- <div class="menu-info">
- <h4 class="control-sidebar-subheading">{{ 'new_recurring_transaction'|_ }}</h4>
- </div>
- </a>
- </li>
-
- </ul>
-
- </div>
- </div>
-</aside>
-<div class='control-sidebar-bg'></div>
diff --git a/resources/views/partials/empty.blade.php b/resources/views/partials/empty.blade.php
deleted file mode 100644
index 46085afe46..0000000000
--- a/resources/views/partials/empty.blade.php
+++ /dev/null
@@ -1,26 +0,0 @@
-<div class="row">
- <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12 offset-lg-3 col-md-offset-3">
- <div class="box box-success">
- <div class="card-header">
- <h3 class="card-title">{{ ('no_'~type~'_title_'~objectType)|_ }}</h3>
- </div>
-
- <div class="card-body">
- <p>
- {{ ('no_'~type~'_intro_'~objectType)|_ }}
- </p>
- <p>
- {{ ('no_'~type~'_imperative_'~objectType)|_ }}
-
- </p>
- <p class="text-center">
- <a class="btn btn-lg btn-success" href="{{ route }}">{{ ('no_'~type~'_create_'~objectType)|_ }}</a>
- </p>
- </div>
-
- </div>
- </div>
-</div>
-<script type="text/javascript" nonce="{{ $JS_NONCE }}">
- forceDemoOff = true;
-</script>
diff --git a/resources/views/partials/favicons.blade.php b/resources/views/partials/favicons.blade.php
deleted file mode 100644
index beb756e3d1..0000000000
--- a/resources/views/partials/favicons.blade.php
+++ /dev/null
@@ -1,11 +0,0 @@
-<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png">
-<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png?v=3e8AboOwbd">
-<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png?v=3e8AboOwbd">
-<link rel="manifest" href="manifest.webmanifest?v=3e8AboOwbd" crossorigin="use-credentials">
-<link rel="mask-icon" href="safari-pinned-tab.svg" color="#3c8dbc">
-<link rel="shortcut icon" href="favicon.ico?v=3e8AboOwbd">
-<meta name="apple-mobile-web-app-title" content="Firefly III">
-<meta name="application-name" content="Firefly III">
-<meta name="msapplication-TileColor" content="#3c8dbc">
-<meta name="msapplication-TileImage" content="mstile-144x144.png?v=3e8AboOwbd">
-<meta name="theme-color" content="#3c8dbc">
diff --git a/resources/views/partials/flashes.blade.php b/resources/views/partials/flashes.blade.php
deleted file mode 100644
index 99d4edf6f6..0000000000
--- a/resources/views/partials/flashes.blade.php
+++ /dev/null
@@ -1,114 +0,0 @@
-{{-- LOCALE ERROR MESSAGE --}}
-{% if invalidMonetaryLocale %}
- <div class="alert alert-info alert-dismissible" role="alert">
- <button type="button" class="close" data-dismiss="alert">
- <span>&times;</span><span class="sr-only">{{ __('firefly.close') }}</span>
- </button>
- <strong>{{ 'invalid_server_configuration'|_ }}:</strong> <span class="bi bi-cash"></span> {{ 'invalid_locale_settings'|_ }}
- </div>
-@endif
-
-{{-- MANDATORY UPDATE MESSAGE --}}
-{% if upgrade_security_message and upgrade_security_level %}
- <div class="alert alert-{{ upgrade_security_level }} alert-dismissible" role="alert">
- <strong>{{ ('flash_'~upgrade_security_level)|_ }}</strong> <span class="fa fa-exclamation-triangle"></span> {{ upgrade_security_message }}
- </div>
-@endif
-
-{{-- SUCCESS MESSAGE (ALWAYS SINGULAR) --}}
-{% if session_has('success') %}
- <div class="alert alert-success alert-dismissible" role="alert">
- <button type="button" class="close" data-dismiss="alert">
- <span>&times;</span><span class="sr-only">{{ __('firefly.close') }}</span>
- </button>
- <strong>{{ 'flash_success'|_ }}</strong>
- {% if session_has('success_url') %}
- <a href="{{ session('success_url') }}">
- @endif
- {{ session('success') }}
- {% if session_has('success_url') %}
- </a>
- @endif
-
- </div>
-@endif
-
-{{-- INFO MESSAGE (CAN BE MULTIPLE) --}}
-{% if session_has('info') %}
- <div class="alert alert-info alert-dismissible" role="alert">
- <button type="button" class="close" data-dismiss="alert">
- <span>&times;</span><span class="sr-only">{{ __('firefly.close') }}</span>
- </button>
-
- {{-- MULTIPLE INFO MESSAGE --}}
- {% if session('info') is iterable and session('info')|length > 1 %}
- <strong>
- {{ Lang::choice('firefly.flash_info_multiple', session('info')|length, {count: session('info')|length}) }}:</strong>
- <ul class="list-unstyled">
- {% for inf in session('info') %}
- <li>{{ inf|raw }}</li>
- @endforeach
- </ul>
- @endif
- {{-- SET OF MULTIPLE INFO MESSAGES, BUT THERE IS JUST ONE --}}
- {% if session('info') is iterable and session('info')|length == 1 %}
- <strong>{{ 'flash_info'|_ }}:</strong> {{ session('info')[0]|raw }}
- @endif
- {{-- SINGLE INFO MESSAGE --}}
- {% if session('info') is not iterable %}
- {% if session_has('info_url') %}
- <a href="{{ session('info_url') }}">
- @endif
- <strong>{{ 'flash_info'|_ }}:</strong> {{ session('info')|raw }}
- {% if session_has('info_url') %}
- </a>
- @endif
- @endif
-
- </div>
-
-@endif
-
-{{-- WARNING MESSAGE (ALWAYS SINGULAR) --}}
-{% if session_has('warning') %}
- <div class="alert alert-warning alert-dismissible" role="alert">
- <button type="button" class="close" data-dismiss="alert">
- <span>&times;</span><span class="sr-only">{{ __('firefly.close') }}</span>
- </button>
- <strong>{{ 'flash_warning'|_ }}</strong> {{ session('warning') }}
- </div>
-@endif
-
-{{-- ERROR MESSAGE (CAN BE MULTIPLE) --}}
-{% if session_has('error') %}
- <div class="alert alert-danger alert-dismissible" role="alert">
- <button type="button" class="close" data-dismiss="alert">
- <span>&times;</span><span class="sr-only">{{ __('firefly.close') }}</span>
- </button>
-
- {{-- MULTIPLE ERRORS (BAD) --}}
- {% if session('error') is iterable and session('error')|length > 1 %}
- <strong>
- {{ Lang::choice('firefly.flash_error_multiple', session('error')|length, {count: session('error')|length}) }}:
- </strong>
- <ul class="list-unstyled">
- {% for err in session('error') %}
- <li>{{ err }}</li>
- @endforeach
- </ul>
- @endif
-
- {{-- SET OF MULTIPLE ERRORS, BUT THERE IS JUST ONE --}}
- {% if session('error') is iterable and session('error')|length == 1 %}
- <strong>{{ 'flash_error'|_ }}</strong>
- {{ session('error')[0]|raw }}
- @endif
-
- {{-- SINGLE ERROR --}}
- {% if session('error') is not iterable %}
- <strong>{{ 'flash_error'|_ }}</strong> {{ session('error')|raw }}
- @endif
-
- </div>
-@endif
-
diff --git a/resources/views/partials/menu-sidebar.blade.php b/resources/views/partials/menu-sidebar.blade.php
deleted file mode 100644
index cd150fc117..0000000000
--- a/resources/views/partials/menu-sidebar.blade.php
+++ /dev/null
@@ -1,277 +0,0 @@
-<ul class="sidebar-menu" data-widget="tree">
- <li class="{{ activeRouteStrict('index') }}">
- <a href="{{ route('index') }}">
- <em class="fa fa-dashboard"></em>
- <span>{{ 'dashboard'|_ }}</span>
- </a>
- </li>
-
- <li class="{{ activeRouteStrict('search.index') }} visible-xs hidden-sm hidden-md hidden-lg">
- <a href="{{ route('search.index') }}">
- <em class="fa fa-search"></em>
- <span>{{ 'search'|_ }}</span>
- </a>
- </li>
-
- <li class="header text-uppercase">{{ 'financial_control'|_ }}</li>
-
- <li class="{{ activeRoutePartial('budgets') }}" id="budget-menu">
- <a href="{{ route('budgets.index') }}">
- <em class="bi bi-pie-chart"></em>
- <span>{{ __('firefly.budgets') }}</span>
- </a>
- </li>
-
- <li class="{{ activeRoutePartial('subscriptions') }}">
- <a href="{{ route('subscriptions.index') }}">
- <em class="bi bi-calendar-o"></em>
- <span>{{ 'subscriptions'|_ }}</span>
- </a>
- </li>
-
- <li class="{{ activeRoutePartial('piggy-banks') }}">
- <a href="{{ route('piggy-banks.index') }}">
- <em class="fa fa-bullseye"></em>
- <span>{{ 'piggyBanks'|_ }}</span>
- </a>
- </li>
-
- <li class="header text-uppercase">{{ 'accounting'|_ }}</li>
-
- <li class="{{ activeRoutePartial('transactions') }} treeview" id="transaction-menu">
- <a href="#">
- <em class="bi bi-arrow-left-right"></em>
- <span>{{ __('firefly.transactions') }}</span>
- <span class="text-end-container">
- <span class="fa fa-angle-left text-end"></span>
- </span>
- </a>
-
- <ul class="treeview-menu">
- <li class="{{ activeRoutePartialObjectType('transactions', 'withdrawal') }}">
- <a href="{{ route('transactions.index', ['withdrawal']) }}">
- <span class="bi bi-caret-right"></span>
- <span>{{ __('firefly.expenses') }}</span>
- </a>
- </li>
- <li class="{{ activeRoutePartialObjectType('transactions', 'deposit') }}">
- <a href="{{ route('transactions.index', ['deposit']) }}">
- <span class="bi bi-caret-right"></span>
- <span>{{ __('firefly.income') }}</span>
- </a>
- </li>
- <li class="{{ activeRoutePartialObjectType('transactions', 'transfers') }}">
- <a href="{{ route('transactions.index', ['transfers']) }}">
- <span class="bi bi-caret-right"></span>
- <span>{{ 'transfers'|_ }}</span>
- </a>
- </li>
- </ul>
- </li>
-
- <li class="{{ activeRoutePartial('recurring') }} {{ activeRoutePartial('rules') }} treeview">
- <a href="#">
- <em class="fa fa-microchip"></em>
- <span>{{ 'automation'|_ }}</span>
- <span class="text-end-container">
- <span class="fa fa-angle-left text-end"></span>
- </span>
- </a>
-
- <ul class="treeview-menu">
- <li class="{{ activeRoutePartial('rules') }}">
- <a href="{{ route('rules.index') }}">
- <span class="bi bi-caret-right"></span>
- <span>{{ 'rules'|_ }}</span>
- </a>
- </li>
- <li class="{{ activeRoutePartial('recurring') }}">
- <a href="{{ route('recurring.index') }}">
- <span class="bi bi-caret-right"></span>
- <span>{{ 'recurrences'|_ }}</span>
- </a>
- </li>
- {% if true == featuringWebhooks %}
- <li class="{{ activeRoutePartial('webhooks') }}">
- <a href="{{ route('webhooks.index') }}">
- <span class="bi bi-caret-right"></span>
- <span>{{ 'webhooks'|_ }}</span>
- </a>
- </li>
- @else
- <li class="">
- <a href="#">
- <span class="bi bi-caret-right"></span>
- <span>{{ 'webhooks'|_ }} ({{ 'webhooks_menu_disabled'|_ }})</span>
- </a>
- </li>
- @endif
- </ul>
- </li>
-
- <li class="header text-uppercase">{{ 'others'|_ }}</li>
-
- <li class="{{ activeRoutePartial('accounts') }} treeview" id="account-menu">
- <a href="#">
- <em class="fa fa-credit-card"></em>
- <span>{{ __('firefly.accounts') }}</span>
- <span class="text-end-container">
- <span class="fa fa-angle-left text-end"></span>
- </span>
- </a>
-
- <ul class="treeview-menu">
- <li class="{{ activeRoutePartialObjectType('accounts', 'asset') }}">
- <a href="{{ route('accounts.index', ['asset']) }}">
- <span class="bi bi-caret-right"></span>
- <span>{{ 'asset_accounts'|_ }}</span>
- </a>
- </li>
- <li class="{{ activeRoutePartialObjectType('accounts', 'expense') }}">
- <a href="{{ route('accounts.index', ['expense']) }}">
- <span class="bi bi-caret-right"></span>
- <span>{{ 'expense_accounts'|_ }}</span>
- </a>
- </li>
- <li class="{{ activeRoutePartialObjectType('accounts', 'revenue') }}">
- <a href="{{ route('accounts.index', ['revenue']) }}">
- <span class="bi bi-caret-right"></span>
- <span>{{ 'revenue_accounts'|_ }}</span>
- </a>
- </li>
- <li class="{{ activeRoutePartialObjectType('accounts', 'liabilities') }}">
- <a href="{{ route('accounts.index', ['liabilities']) }}">
- <span class="bi bi-caret-right"></span>
- <span>{{ 'liabilities_accounts'|_ }}</span>
- </a>
- </li>
- </ul>
- </li>
-
- <li class="{{ activeRoutePartial('categories') }} {{ activeRoutePartial('tags') }} {{ activeRoutePartial('groups') }} treeview">
- <a href="#">
- <em class="bi bi-tags"></em>
- <span>{{ 'classification'|_ }}</span>
- <span class="text-end-container">
- <span class="fa fa-angle-left text-end"></span>
- </span>
- </a>
-
- <ul class="treeview-menu">
- <li class="{{ activeRoutePartial('categories') }}">
- <a href="{{ route('categories.index') }}">
- <span class="bi bi-caret-right"></span>
- <span>{{ __('firefly.categories') }}</span>
- </a>
- </li>
- <li class="{{ activeRoutePartial('tags') }}">
- <a href="{{ route('tags.index') }}">
- <span class="bi bi-caret-right"></span>
- <span>{{ __('firefly.tags') }}</span>
- </a>
- </li>
- <li class="{{ activeRoutePartial('object-groups') }}">
- <a href="{{ route('object-groups.index') }}">
- <span class="bi bi-caret-right"></span>
- <span>{{ 'object_groups_menu_bar'|_ }}</span>
- </a>
- </li>
- </ul>
- </li>
-
- <li class="{{ activeRoutePartial('reports') }}" id="report-menu">
- <a href="{{ route('reports.index') }}"> {{-- relative route! --}}
- <em class="fa fa-bar-chart"></em>
- <span>{{ 'reports'|_ }}</span>
- </a>
- </li>
-
-
- {% if config('firefly.feature_flags.export') %}
- <li class="{{ activeRoutePartial('export') }}" id="report-menu">
- <a href="{{ route('export.index') }}">
- <em class="fa fa-upload"></em>
- <span>{{ 'export_data_menu'|_ }}</span>
- </a>
- </li>
- @endif
-
- <li class="{{ activeRoutePartial('administrations') }} {{ activeRoutePartial('setting') }} {{ activeRoutePartial('oauth') }} {{ activeRoutePartial('profile') }} {{ activeRoutePartial('preferences') }} {{ activeRoutePartial('currencies') }} {{ activeRoutePartial('exchange-rates') }} treeview"
- id="option-menu">
- <a href="#">
- <em class="fa fa-sliders"></em>
- <span>{{ __('firefly.options') }}</span>
- <span class="text-end-container">
- <span class="fa fa-angle-left text-end"></span>
- </span>
- </a>
-
- <ul class="treeview-menu">
- <li class="{{ activeRoutePartial('profile') }}">
- <a class="{{ activeRouteStrict('profile.index') }}" href="{{ route('profile.index') }}">
- <span class="bi bi-caret-right"></span>
- <span>{{ 'profile'|_ }}</span>
- </a>
- </li>
- <li class="{{ activeRoutePartial('oauth') }}">
- <a class="{{ activeRouteStrict('profile.oauth.index') }}" href="{{ route('profile.oauth.index') }}">
- <span class="bi bi-caret-right"></span>
- <span>{{ 'oauth_tokens'|_ }}</span>
- </a>
- </li>
- <li class="{{ activeRoutePartial('preferences') }}">
- <a class="{{ activeRouteStrict('preferences.index') }}"
- href="{{ route('preferences.index') }}">
- <span class="bi bi-caret-right"></span>
- <span>{{ 'preferences'|_ }}</span>
- </a>
- </li>
- <li class="{{ activeRoutePartial('currencies') }}">
- <a class="{{ activeRoutePartial('currencies') }}" href="{{ route('currencies.index') }}">
- <span class="bi bi-caret-right"></span>
- <span>{{ 'currencies'|_ }}</span>
- </a>
- </li>
- {% if (fireflyiiiconfig('enable_exchange_rates', true)) %}
- <li class="{{ activeRoutePartial('exchange-rates') }}">
- <a class="{{ activeRoutePartial('exchange-rates') }}" href="{{ route('exchange-rates.index') }}">
- <span class="bi bi-caret-right"></span>
- <span>{{ 'menu_exchange_rates_index'|_ }}</span>
- </a>
- </li>
- @endif
- <li class="{{ activeRoutePartial('administrations') }}">
- <a class="{{ activeRoutePartial('administration') }}" href="{{ route('administrations.index') }}">
- <span class="bi bi-caret-right"></span>
- <span>{{ 'administrations_index_menu'|_ }}</span>
- </a>
- </li>
- {% if hasRole('owner') %}
- <li class="{{ activeRoutePartial('settings') }}">
- <a class="{{ activeRoutePartial('settings') }}" href="{{ route('settings.index') }}">
- <span class="bi bi-caret-right"></span>
- <span>{{ 'system_settings'|_ }}</span>
- </a>
- </li>
- @endif
- </ul>
- </li>
-
- {% if 'web' == authGuard %}
- <li>
- <a href="{{ route('logout') }}" class="logout-link">
- <em class="fa fa-sign-out"></em>
- <span>{{ 'logout'|_ }}
- </span>
- </a>
- </li>
- @endif
- {% if 'remote_user_guard' == authGuard and '' != logoutUrl %}
- <li>
- <a href="{{ logoutUrl }}">
- <em class="fa fa-sign-out"></em>
- <span>{{ 'logout'|_ }}</span>
- </a>
- </li>
- @endif
-</ul>
diff --git a/resources/views/partials/old-password-modal.blade.php b/resources/views/partials/old-password-modal.blade.php
deleted file mode 100644
index eed8aecb56..0000000000
--- a/resources/views/partials/old-password-modal.blade.php
+++ /dev/null
@@ -1,37 +0,0 @@
-<div class="modal fade" id="passwordModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
- <div class="modal-dialog" role="document">
- <div class="modal-content">
- <div class="modal-header">
- <h5 class="modal-title">
- {{ 'secure_pw_title'|_ }}
- </h5>
- <button type="button" class="close" data-bs-dismiss="modal" aria-label="{{ __('firefly.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-outline-secondary" data-bs-dismiss="modal">{{ __('firefly.close') }}</button>
- </div>
- </div>
- </div>
-</div>
diff --git a/resources/views/partials/page-header.blade.php b/resources/views/partials/page-header.blade.php
deleted file mode 100644
index b93f874c0c..0000000000
--- a/resources/views/partials/page-header.blade.php
+++ /dev/null
@@ -1,14 +0,0 @@
-<h1>
- {% if mainTitleIcon %}
- <span class="hidden-xs fa {{ mainTitleIcon }}"></span>
- @endif
- {{ title }}
- {% if subTitle %}
- <small id="subTitle">
- {% if subTitleIcon %}
- <span class="hidden-xs fa {{ subTitleIcon }}"></span>
- @endif
- {{ $subTitle }}
- </small>
- @endif
-</h1>
diff --git a/resources/views/partials/password-modal-twig.blade.php b/resources/views/partials/password-modal-twig.blade.php
deleted file mode 100644
index f8365acc9a..0000000000
--- a/resources/views/partials/password-modal-twig.blade.php
+++ /dev/null
@@ -1,35 +0,0 @@
-<div class="modal fade" id="passwordModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
- <div class="modal-dialog" role="document">
- <div class="modal-content">
- <div class="modal-header">
- <h5 class="modal-title">
- {{ __('firefly.secure_pw_title') }}
- </h5>
- <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{{ __('firefly.close') }}"></button>
- </div>
- <div class="modal-body">
- <p>
- {{ __('firefly.secure_pw_history') }}
- </p>
- <p>
- {{ __('firefly.secure_pw_ff') }}
- </p>
- <p>
- {{ __('firefly.secure_pw_check_box') }}
- </p>
-
- <h4>{{ __('firefly.secure_pw_working_title') }}</h4>
- <p>
- {{ __('firefly.secure_pw_working')|raw }}
- </p>
- <h4>{{ __('firefly.secure_pw_should') }}</h4>
- <p>
- {{ __('firefly.secure_pw_long_password') }}
- </p>
- </div>
- <div class="modal-footer">
- <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{{ __('firefly.close') }}</button>
- </div>
- </div>
- </div>
-</div>