mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix issues with relative urls
This commit is contained in:
parent
5ee80dd046
commit
dd794e409f
@ -61,6 +61,7 @@
|
||||
<script nonce="{{ JS_NONCE }}">
|
||||
$('.switch-link').on('click', switchLink);
|
||||
var switchLinkUrl = '{{ route('transactions.link.switch') }}';
|
||||
|
||||
function switchLink(e) {
|
||||
e.preventDefault();
|
||||
var obj = $(e.currentTarget);
|
||||
|
@ -7,7 +7,7 @@
|
||||
<div class="col-sm-8">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
{{ Html.checkbox('create_another', false).id(name ~ '_return_to_form') }}
|
||||
{{ Html.checkbox('create_another').id(name ~ '_return_to_form') }}
|
||||
{{ trans('form.returnHereExplanation') }}
|
||||
|
||||
</label>
|
||||
|
@ -10,14 +10,14 @@
|
||||
{# ACCOUNTS #}
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title"><a href="{{ route('accounts.index',['asset'], false) }}"
|
||||
<h3 class="box-title"><a href="{{ route('accounts.index',['asset']) }}"
|
||||
title="{{ 'yourAccounts'|_ }}">{{ 'yourAccounts'|_ }}</a></h3>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
<canvas id="accounts-chart" style="width:100%;height:400px;" height="400" width="100%"></canvas>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
<a href="{{ route('accounts.index',['asset'], false) }}" class="btn btn-default button-sm"><span
|
||||
<a href="{{ route('accounts.index',['asset']) }}" class="btn btn-default button-sm"><span
|
||||
class="fa fa-money"></span> {{ 'go_to_asset_accounts'|_ }}</a>
|
||||
</div>
|
||||
</div>
|
||||
@ -25,7 +25,7 @@
|
||||
{# BUDGETS #}
|
||||
<div class="box">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title"><a href="{{ route('budgets.index',null, false) }}"
|
||||
<h3 class="box-title"><a href="{{ route('budgets.index') }}"
|
||||
title="{{ 'budgetsAndSpending'|_ }}">{{ 'budgetsAndSpending'|_ }}</a></h3>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
@ -49,7 +49,7 @@
|
||||
<canvas id="categories-chart" style="width:100%;height:400px;" height="400" width="100%"></canvas>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
<a href="{{ route('categories.index',null, false) }}" class="btn btn-default button-sm">
|
||||
<a href="{{ route('categories.index') }}" class="btn btn-default button-sm">
|
||||
<span class="fa fa-bookmark"></span>
|
||||
<span>{{ 'go_to_categories'|_ }}</span>
|
||||
</a>
|
||||
@ -64,7 +64,7 @@
|
||||
<div class="box">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title"><a
|
||||
href="{{ route('accounts.show', [data.account.id], false) }}">{{ data.account.name }}</a>
|
||||
href="{{ route('accounts.show', [data.account.id]) }}">{{ data.account.name }}</a>
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
@ -92,34 +92,34 @@
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li>
|
||||
<a href="{{ route('transactions.create', ['withdrawal'], false) }}?source={{ data.account.id }}">{{ 'create_new_withdrawal'|_ }}</a>
|
||||
<a href="{{ route('transactions.create', ['withdrawal']) }}?source={{ data.account.id }}">{{ 'create_new_withdrawal'|_ }}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ route('transactions.create', ['deposit'], false) }}?destination={{ data.account.id }}">{{ 'create_new_deposit'|_ }}</a>
|
||||
<a href="{{ route('transactions.create', ['deposit']) }}?destination={{ data.account.id }}">{{ 'create_new_deposit'|_ }}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ route('transactions.create', ['transfer'], false) }}?source={{ data.account.id }}">{{ 'create_new_transfer'|_ }}</a>
|
||||
<a href="{{ route('transactions.create', ['transfer']) }}?source={{ data.account.id }}">{{ 'create_new_transfer'|_ }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="btn-group">
|
||||
<a type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"
|
||||
aria-haspopup="true" aria-expanded="false"
|
||||
href="{{ route('accounts.show', [data.account.id], false) }}">{{ formatAmountByAccount(data.account, data.account|balance, false) }}
|
||||
href="{{ route('accounts.show', [data.account.id]) }}">{{ formatAmountByAccount(data.account, data.account|balance, false) }}
|
||||
<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li>
|
||||
<a href="{{ route('accounts.show', [data.account.id], false) }}">{{ 'show'|_ }}</a>
|
||||
<a href="{{ route('accounts.show', [data.account.id]) }}">{{ 'show'|_ }}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ route('accounts.reconcile', [data.account.id], false) }}">{{ 'reconcile'|_ }}</a>
|
||||
<a href="{{ route('accounts.reconcile', [data.account.id]) }}">{{ 'reconcile'|_ }}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ route('accounts.edit', [data.account.id], false) }}">{{ 'edit'|_ }}</a>
|
||||
<a href="{{ route('accounts.edit', [data.account.id]) }}">{{ 'edit'|_ }}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ route('accounts.delete', [data.account.id], false) }}">{{ 'delete'|_ }}</a>
|
||||
<a href="{{ route('accounts.delete', [data.account.id]) }}">{{ 'delete'|_ }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@ -132,7 +132,7 @@
|
||||
{# BILLS #}
|
||||
<div class="box">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title"><a href="{{ route('bills.index', null, false) }}"
|
||||
<h3 class="box-title"><a href="{{ route('bills.index') }}"
|
||||
title="{{ 'bills'|_ }}">{{ 'bills'|_ }}</a></h3>
|
||||
|
||||
</div>
|
||||
@ -142,7 +142,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
<a href="{{ route('bills.index',null, false) }}" class="btn btn-default button-sm"><span
|
||||
<a href="{{ route('bills.index') }}" class="btn btn-default button-sm"><span
|
||||
class="fa fa-calendar"></span> {{ 'go_to_bills'|_ }}</a>
|
||||
</div>
|
||||
</div>
|
||||
@ -159,7 +159,7 @@
|
||||
{# EXPENSE ACCOUNTS #}
|
||||
<div class="box">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title"><a href="{{ route('accounts.index',['expense'], false) }}"
|
||||
<h3 class="box-title"><a href="{{ route('accounts.index',['expense']) }}"
|
||||
title="{{ 'expense_accounts'|_ }}">{{ 'expense_accounts'|_ }}</a>
|
||||
</h3>
|
||||
</div>
|
||||
@ -168,14 +168,14 @@
|
||||
width="100%"></canvas>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
<a href="{{ route('accounts.index', ['expense'], false) }}" class="btn btn-default button-sm"><span
|
||||
<a href="{{ route('accounts.index', ['expense']) }}" class="btn btn-default button-sm"><span
|
||||
class="fa fa-shopping-cart"></span> {{ 'go_to_expense_accounts'|_ }}</a>
|
||||
</div>
|
||||
</div>
|
||||
{# OPTIONAL REVENUE ACCOUNTS #}
|
||||
<div class="box">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title"><a href="{{ route('accounts.index',['revenue'], false) }}"
|
||||
<h3 class="box-title"><a href="{{ route('accounts.index',['revenue']) }}"
|
||||
title="{{ 'revenue_accounts'|_ }}">{{ 'revenue_accounts'|_ }}</a></h3>
|
||||
|
||||
</div>
|
||||
@ -184,7 +184,7 @@
|
||||
width="100%"></canvas>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
<a href="{{ route('accounts.index', ['revenue'], false) }}" class="btn btn-default button-sm"><span
|
||||
<a href="{{ route('accounts.index', ['revenue']) }}" class="btn btn-default button-sm"><span
|
||||
class="fa fa-download"></span> {{ 'go_to_revenue_accounts'|_ }}</a>
|
||||
</div>
|
||||
</div>
|
||||
@ -200,9 +200,9 @@
|
||||
lineTextColor = '#bec5cb';
|
||||
}
|
||||
var billCount = {{ billCount }};
|
||||
var accountFrontpageUrl = '{{ route('chart.account.frontpage', null, false) }}';
|
||||
var accountRevenueUrl = '{{ route('chart.account.revenue', null, false) }}';
|
||||
var accountExpenseUrl = '{{ route('chart.account.expense',null, false) }}';
|
||||
var accountFrontpageUrl = '{{ route('chart.account.frontpage') }}';
|
||||
var accountRevenueUrl = '{{ route('chart.account.revenue') }}';
|
||||
var accountExpenseUrl = '{{ route('chart.account.expense') }}';
|
||||
var piggyInfoUrl = '{{ route('json.fp.piggy-banks') }}';
|
||||
var drawVerticalLine = '';
|
||||
{# render vertical line with text "today" #}
|
||||
|
@ -54,9 +54,9 @@ var edit_selected_txt = "{{ trans('firefly.mass_edit')|escape('js') }}";
|
||||
var edit_bulk_selected_txt = "{{ trans('firefly.bulk_edit')|escape('js') }}";
|
||||
var delete_selected_txt = "{{ trans('firefly.mass_delete')|escape('js') }}";
|
||||
|
||||
var mass_edit_url = '{{ route('transactions.mass.edit', [''], false) }}';
|
||||
var bulk_edit_url = '{{ route('transactions.bulk.edit', [''], false) }}';
|
||||
var mass_delete_url = '{{ route('transactions.mass.delete', [''], false) }}';
|
||||
var mass_edit_url = '{{ route('transactions.mass.edit', ['']) }}';
|
||||
var bulk_edit_url = '{{ route('transactions.bulk.edit', ['']) }}';
|
||||
var mass_delete_url = '{{ route('transactions.mass.delete', ['']) }}';
|
||||
|
||||
// for demo:
|
||||
var nextLabel = "{{ trans('firefly.intro_next_label')|escape('js') }}";
|
||||
|
@ -95,7 +95,7 @@
|
||||
<header class="main-header">
|
||||
|
||||
{# Logo #}
|
||||
<a href="{{ route('index', null, false) }}" class="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 #}
|
||||
@ -138,7 +138,7 @@
|
||||
</header>
|
||||
<aside class="main-sidebar">
|
||||
<section class="sidebar">
|
||||
<form action="{{ route('search.index', null, false) }}" method="get" class="sidebar-form">
|
||||
<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"/>
|
||||
@ -176,7 +176,7 @@
|
||||
<footer class="main-footer">
|
||||
<div class="pull-right">
|
||||
<b class="hidden-xs">{{ 'version'|_ }}</b> <a
|
||||
href="{{ route('debug', null, false) }}">{{ Config.get('firefly.version') }}</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">© James Cole, <a href="https://www.gnu.org/licenses/agpl-3.0.html">AGPL-3.0-or-later</a>.</small>
|
||||
@ -222,7 +222,7 @@
|
||||
|
||||
{# All kinds of variables. #}
|
||||
<script
|
||||
src="{{ route('javascript.variables', null, false) }}?ext=.js&v={{ FF_VERSION }}{% if account %}&account={{ account.id }}{% endif %}"
|
||||
src="{{ route('javascript.variables') }}?ext=.js&v={{ FF_VERSION }}{% if account %}&account={{ account.id }}{% endif %}"
|
||||
type="text/javascript" nonce="{{ JS_NONCE }}"></script>
|
||||
|
||||
{# Base script: jquery and bootstrap #}
|
||||
@ -247,8 +247,8 @@
|
||||
{% 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("")], false) }}";
|
||||
var routeForFinishedTour = "{{ route('json.intro.finished', [current_route_name, objectType|default("")], false) }}";
|
||||
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_VERSION }}" nonce="{{ JS_NONCE }}"></script>
|
||||
<script type="text/javascript" src="v1/js/ff/intro/intro.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
|
||||
@ -280,7 +280,7 @@
|
||||
style="border:0;" alt=""/></p></noscript>
|
||||
{% endif %}
|
||||
|
||||
<form id="logout-form" action="{{ route('logout', null, false) }}" method="POST" style="display: none;">
|
||||
<form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
|
||||
<input type="hidden" name="_token" value="{{ csrf_token() }}"/>
|
||||
</form>
|
||||
|
||||
|
@ -75,7 +75,11 @@
|
||||
_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);
|
||||
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') }}&rec=1" style="border:0;" alt=""/></p></noscript>
|
||||
|
@ -90,7 +90,11 @@
|
||||
_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);
|
||||
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') }}&rec=1" style="border:0;" alt=""/></p></noscript>
|
||||
|
@ -50,7 +50,11 @@
|
||||
_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);
|
||||
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') }}&rec=1" style="border:0;" alt=""/></p></noscript>
|
||||
|
@ -52,7 +52,7 @@
|
||||
<tr style="border-top:1px #aaa solid;" class="unsortable">
|
||||
<td colspan="2" style="border-top:1px #aaa solid;">
|
||||
<small><strong>
|
||||
<a href="{{ route('transactions.show', [group.id], false) }}"
|
||||
<a href="{{ route('transactions.show', [group.id]) }}"
|
||||
title="{{ group.title }}">{{ group.title }}</a>
|
||||
</strong></small>
|
||||
</td>
|
||||
@ -81,9 +81,9 @@
|
||||
aria-haspopup="true" aria-expanded="false">
|
||||
{{ 'actions'|_ }} <span class="caret"></span></button>
|
||||
<ul class="dropdown-menu dropdown-menu-right" role="menu">
|
||||
<li><a href="{{ route('transactions.edit', [group.id], false) }}"><span
|
||||
<li><a href="{{ route('transactions.edit', [group.id]) }}"><span
|
||||
class="fa fa-fw fa-pencil"></span> {{ 'edit'|_ }}</a></li>
|
||||
<li><a href="{{ route('transactions.delete', [group.id], false) }}"><span
|
||||
<li><a href="{{ route('transactions.delete', [group.id]) }}"><span
|
||||
class="fa fa-fw fa-trash"></span> {{ 'delete'|_ }}</a></li>
|
||||
<li><a href="#" data-id="{{ group.id }}" class="clone-transaction"><span
|
||||
class="fa fa-copy fa-fw"></span> {{ 'clone'|_ }}</a></li>
|
||||
@ -137,7 +137,7 @@
|
||||
<span class="fa fa-paperclip"></span>
|
||||
{% endif %}
|
||||
{% if group.count == 1 %}
|
||||
<a href="{{ route('transactions.show', [group.id], false) }}" title="{{ transaction.description }}">
|
||||
<a href="{{ route('transactions.show', [group.id]) }}" title="{{ transaction.description }}">
|
||||
{% endif %}
|
||||
{{ transaction.description }}
|
||||
{% if group.count == 1 %}
|
||||
@ -215,7 +215,7 @@
|
||||
{% if 'Cash account' == transaction.source_account_type %}
|
||||
<span class="text-success">({{ 'cash'|_ }})</span>
|
||||
{% else %}
|
||||
<a href="{{ route('accounts.show', [transaction.source_account_id|default(1)], false) }}"
|
||||
<a href="{{ route('accounts.show', [transaction.source_account_id|default(1)]) }}"
|
||||
title="{{ transaction.source_account_iban|default(transaction.source_account_name) }}">{{ transaction.source_account_name }}</a>
|
||||
{% endif %}
|
||||
</td>
|
||||
@ -223,14 +223,14 @@
|
||||
{% if 'Cash account' == transaction.destination_account_type %}
|
||||
<span class="text-success">({{ 'cash'|_ }})</span>
|
||||
{% else %}
|
||||
<a href="{{ route('accounts.show', [transaction.destination_account_id|default(1)], false) }}"
|
||||
<a href="{{ route('accounts.show', [transaction.destination_account_id|default(1)]) }}"
|
||||
title="{{ transaction.destination_account_iban|default(transaction.destination_account_name) }}">{{ transaction.destination_account_name }}</a>
|
||||
{% endif %}
|
||||
</td>
|
||||
{% if showCategory %}
|
||||
<td style=" {{ style|raw }}" class="hidden-xs">
|
||||
{% if transaction.category_id %}
|
||||
<a href="{{ route('categories.show', [transaction.category_id], false) }}"
|
||||
<a href="{{ route('categories.show', [transaction.category_id]) }}"
|
||||
title="{{ transaction.category_name }}">{{ transaction.category_name }}</a>
|
||||
{% endif %}
|
||||
</td>
|
||||
@ -238,7 +238,7 @@
|
||||
{% if showBudget %}
|
||||
<td style=" {{ style|raw }}" class="hidden-xs">
|
||||
{% if transaction.budget_id %}
|
||||
<a href="{{ route('budgets.show', [transaction.budget_id], false) }}"
|
||||
<a href="{{ route('budgets.show', [transaction.budget_id]) }}"
|
||||
title="{{ transaction.budget_name }}">{{ transaction.budget_name }}</a>
|
||||
{% endif %}
|
||||
</td>
|
||||
@ -251,14 +251,14 @@
|
||||
aria-haspopup="true" aria-expanded="false">
|
||||
{{ 'actions'|_ }} <span class="caret"></span></button>
|
||||
<ul class="dropdown-menu dropdown-menu-right" role="menu">
|
||||
<li><a href="{{ route('transactions.edit', [group.id], false) }}"><span
|
||||
<li><a href="{{ route('transactions.edit', [group.id]) }}"><span
|
||||
class="fa fa-fw fa-pencil"></span> {{ 'edit'|_ }}</a></li>
|
||||
<li><a href="{{ route('transactions.delete', [group.id], false) }}"><span
|
||||
<li><a href="{{ route('transactions.delete', [group.id]) }}"><span
|
||||
class="fa fa-fw fa-trash"></span> {{ 'delete'|_ }}</a></li>
|
||||
<li><a href="#" data-id="{{ group.id }}" class="clone-transaction"><span
|
||||
class="fa fa-copy fa-fw"></span> {{ 'clone'|_ }}</a></li>
|
||||
<li>
|
||||
<a href="{{ route('rules.create-from-journal', [transaction.transaction_journal_id], false) }}"><span
|
||||
<a href="{{ route('rules.create-from-journal', [transaction.transaction_journal_id]) }}"><span
|
||||
class="fa fa-fw fa-random"></span> {{ 'create_rule_from_transaction'|_ }}
|
||||
</a></li>
|
||||
</ul>
|
||||
@ -316,5 +316,5 @@
|
||||
</tfoot>
|
||||
</table>
|
||||
<script type="text/javascript" nonce="{{ JS_NONCE }}">
|
||||
var cloneGroupUrl = '{{ route('transactions.clone',null, false) }}';
|
||||
var cloneGroupUrl = '{{ route('transactions.clone') }}';
|
||||
</script>
|
||||
|
@ -1,11 +1,11 @@
|
||||
<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">
|
||||
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#3c8dbc">
|
||||
<link rel="shortcut icon" href="/favicon.ico?v=3e8AboOwbd">
|
||||
<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">
|
||||
<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="msapplication-TileImage" content="mstile-144x144.png?v=3e8AboOwbd">
|
||||
<meta name="theme-color" content="#3c8dbc">
|
||||
|
@ -1,6 +1,6 @@
|
||||
<ul class="sidebar-menu" data-widget="tree">
|
||||
<li class="{{ activeRouteStrict('index') }}">
|
||||
<a href="{{ route('index', null, false) }}">
|
||||
<a href="{{ route('index') }}">
|
||||
<em class="fa fa-dashboard fa-fw"></em>
|
||||
<span>{{ 'dashboard'|_ }}</span>
|
||||
</a>
|
||||
@ -9,7 +9,7 @@
|
||||
<li class="header text-uppercase">{{ 'financial_control'|_ }}</li>
|
||||
|
||||
<li class="{{ activeRoutePartial('budgets') }}" id="budget-menu">
|
||||
<a href="{{ route('budgets.index', null, false) }}">
|
||||
<a href="{{ route('budgets.index') }}">
|
||||
<em class="fa fa-pie-chart fa-fw"></em>
|
||||
<span>{{ 'budgets'|_ }}</span>
|
||||
</a>
|
||||
@ -23,7 +23,7 @@
|
||||
</li>
|
||||
|
||||
<li class="{{ activeRoutePartial('piggy-banks') }}">
|
||||
<a href="{{ route('piggy-banks.index', null, false) }}">
|
||||
<a href="{{ route('piggy-banks.index') }}">
|
||||
<em class="fa fa-bullseye fa-fw"></em>
|
||||
<span>{{ 'piggyBanks'|_ }}</span>
|
||||
</a>
|
||||
@ -42,19 +42,19 @@
|
||||
|
||||
<ul class="treeview-menu">
|
||||
<li class="{{ activeRoutePartialObjectType('transactions', 'withdrawal') }}">
|
||||
<a href="{{ route('transactions.index', ['withdrawal'], false) }}">
|
||||
<a href="{{ route('transactions.index', ['withdrawal']) }}">
|
||||
<span class="fa fa-angle-right fa-fw"></span>
|
||||
<span>{{ 'expenses'|_ }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{ activeRoutePartialObjectType('transactions', 'deposit') }}">
|
||||
<a href="{{ route('transactions.index', ['deposit'], false) }}">
|
||||
<a href="{{ route('transactions.index', ['deposit']) }}">
|
||||
<span class="fa fa-angle-right fa-fw"></span>
|
||||
<span>{{ 'income'|_ }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{ activeRoutePartialObjectType('transactions', 'transfers') }}">
|
||||
<a href="{{ route('transactions.index', ['transfers'], false) }}">
|
||||
<a href="{{ route('transactions.index', ['transfers']) }}">
|
||||
<span class="fa fa-angle-right fa-fw"></span>
|
||||
<span>{{ 'transfers'|_ }}</span>
|
||||
</a>
|
||||
@ -73,19 +73,19 @@
|
||||
|
||||
<ul class="treeview-menu">
|
||||
<li class="{{ activeRoutePartial('rules') }}">
|
||||
<a href="{{ route('rules.index', null, false) }}">
|
||||
<a href="{{ route('rules.index') }}">
|
||||
<span class="fa fa-angle-right fa-fw"></span>
|
||||
<span>{{ 'rules'|_ }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{ activeRoutePartial('recurring') }}">
|
||||
<a href="{{ route('recurring.index', null, false) }}">
|
||||
<a href="{{ route('recurring.index') }}">
|
||||
<span class="fa fa-angle-right fa-fw"></span>
|
||||
<span>{{ 'recurrences'|_ }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{ activeRoutePartial('webhooks') }}">
|
||||
<a href="{{ route('webhooks.index', null, false) }}">
|
||||
<a href="{{ route('webhooks.index') }}">
|
||||
<span class="fa fa-angle-right fa-fw"></span>
|
||||
<span>{{ 'webhooks'|_ }}</span>
|
||||
</a>
|
||||
@ -106,25 +106,25 @@
|
||||
|
||||
<ul class="treeview-menu">
|
||||
<li class="{{ activeRoutePartialObjectType('accounts', 'asset') }}">
|
||||
<a href="{{ route('accounts.index', ['asset'], false) }}">
|
||||
<a href="{{ route('accounts.index', ['asset']) }}">
|
||||
<span class="fa fa-angle-right fa-fw"></span>
|
||||
<span>{{ 'asset_accounts'|_ }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{ activeRoutePartialObjectType('accounts', 'expense') }}">
|
||||
<a href="{{ route('accounts.index', ['expense'], false) }}">
|
||||
<a href="{{ route('accounts.index', ['expense']) }}">
|
||||
<span class="fa fa-angle-right fa-fw"></span>
|
||||
<span>{{ 'expense_accounts'|_ }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{ activeRoutePartialObjectType('accounts', 'revenue') }}">
|
||||
<a href="{{ route('accounts.index', ['revenue'], false) }}">
|
||||
<a href="{{ route('accounts.index', ['revenue']) }}">
|
||||
<span class="fa fa-angle-right fa-fw"></span>
|
||||
<span>{{ 'revenue_accounts'|_ }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{ activeRoutePartialObjectType('accounts', 'liabilities') }}">
|
||||
<a href="{{ route('accounts.index', ['liabilities'], false) }}">
|
||||
<a href="{{ route('accounts.index', ['liabilities']) }}">
|
||||
<span class="fa fa-angle-right fa-fw"></span>
|
||||
<span>{{ 'liabilities_accounts'|_ }}</span>
|
||||
</a>
|
||||
@ -143,19 +143,19 @@
|
||||
|
||||
<ul class="treeview-menu">
|
||||
<li class="{{ activeRoutePartial('categories') }}">
|
||||
<a href="{{ route('categories.index', null, false) }}">
|
||||
<a href="{{ route('categories.index') }}">
|
||||
<span class="fa fa-angle-right fa-fw"></span>
|
||||
<span>{{ 'categories'|_ }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{ activeRoutePartial('tags') }}">
|
||||
<a href="{{ route('tags.index', null, false) }}">
|
||||
<a href="{{ route('tags.index') }}">
|
||||
<span class="fa fa-angle-right fa-fw"></span>
|
||||
<span>{{ 'tags'|_ }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{ activeRoutePartial('object-groups') }}">
|
||||
<a href="{{ route('object-groups.index', null, false) }}">
|
||||
<a href="{{ route('object-groups.index') }}">
|
||||
<span class="fa fa-angle-right fa-fw"></span>
|
||||
<span>{{ 'object_groups_menu_bar'|_ }}</span>
|
||||
</a>
|
||||
@ -164,7 +164,7 @@
|
||||
</li>
|
||||
|
||||
<li class="{{ activeRoutePartial('reports') }}" id="report-menu">
|
||||
<a href="{{ route('reports.index', null, false) }}"> {# relative route! #}
|
||||
<a href="{{ route('reports.index') }}"> {# relative route! #}
|
||||
<em class="fa fa-bar-chart fa-fw"></em>
|
||||
<span>{{ 'reports'|_ }}</span>
|
||||
</a>
|
||||
@ -173,7 +173,7 @@
|
||||
|
||||
{% if config('firefly.feature_flags.export') %}
|
||||
<li class="{{ activeRoutePartial('export') }}" id="report-menu">
|
||||
<a href="{{ route('export.index', null, false) }}">
|
||||
<a href="{{ route('export.index') }}">
|
||||
<em class="fa fa-upload fa-fw"></em>
|
||||
<span>{{ 'export_data_menu'|_ }}</span>
|
||||
</a>
|
||||
@ -192,27 +192,27 @@
|
||||
|
||||
<ul class="treeview-menu">
|
||||
<li class="{{ activeRoutePartial('profile') }}">
|
||||
<a class="{{ activeRouteStrict('profile.index') }}" href="{{ route('profile.index', null, false) }}">
|
||||
<a class="{{ activeRouteStrict('profile.index') }}" href="{{ route('profile.index') }}">
|
||||
<span class="fa fa-angle-right fa-fw"></span>
|
||||
<span>{{ 'profile'|_ }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{ activeRoutePartial('preferences') }}">
|
||||
<a class="{{ activeRouteStrict('preferences.index') }}"
|
||||
href="{{ route('preferences.index', null, false) }}">
|
||||
href="{{ route('preferences.index') }}">
|
||||
<span class="fa fa-angle-right fa-fw"></span>
|
||||
<span>{{ 'preferences'|_ }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{ activeRoutePartial('currencies') }}">
|
||||
<a class="{{ activeRoutePartial('currencies') }}" href="{{ route('currencies.index', null, false) }}">
|
||||
<a class="{{ activeRoutePartial('currencies') }}" href="{{ route('currencies.index') }}">
|
||||
<span class="fa fa-angle-right fa-fw"></span>
|
||||
<span>{{ 'currencies'|_ }}</span>
|
||||
</a>
|
||||
</li>
|
||||
{% if true == featuringWebhooks %}
|
||||
<li class="{{ activeRoutePartial('webhooks') }}">
|
||||
<a class="{{ activeRoutePartial('webhooks') }}" href="{{ route('webhooks.index', null, false) }}">
|
||||
<a class="{{ activeRoutePartial('webhooks') }}" href="{{ route('webhooks.index') }}">
|
||||
<span class="fa fa-angle-right fa-fw"></span>
|
||||
<span>{{ 'webhooks'|_ }}</span>
|
||||
</a>
|
||||
@ -220,7 +220,7 @@
|
||||
{% endif %}
|
||||
{% if hasRole('owner') %}
|
||||
<li class="{{ activeRoutePartial('admin') }}">
|
||||
<a class="{{ activeRoutePartial('admin') }}" href="{{ route('admin.index', null, false) }}">
|
||||
<a class="{{ activeRoutePartial('admin') }}" href="{{ route('admin.index') }}">
|
||||
<span class="fa fa-angle-right fa-fw"></span>
|
||||
<span>{{ 'administration'|_ }}</span>
|
||||
</a>
|
||||
@ -232,7 +232,7 @@
|
||||
|
||||
{% if 'remote_user_guard' != authGuard or '' != logoutUri %}
|
||||
<li>
|
||||
<a href="{{ route('logout', null, false) }}" class="logout-link">
|
||||
<a href="{{ route('logout') }}" class="logout-link">
|
||||
<em class="fa fa-sign-out fa-fw"></em>
|
||||
<span>{{ 'logout'|_ }}</span>
|
||||
</a>
|
||||
|
Loading…
Reference in New Issue
Block a user