mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-12 01:42:32 +00:00
Move v1 views
This commit is contained in:
78
resources/views/partials/boxes.twig
Normal file
78
resources/views/partials/boxes.twig
Normal file
@@ -0,0 +1,78 @@
|
||||
<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')]) }}">{{ 'balance'|_ }}</a></span>
|
||||
<span class="info-box-number" id="box-balance-sums"></span>
|
||||
|
||||
<div class="progress" id="box-balance-progress">
|
||||
<div class="progress-bar" style="width: 0%"></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="fa fa-calendar-o"></span></span>
|
||||
|
||||
<div class="info-box-content">
|
||||
<span class="info-box-text"><a href="{{ route('bills.index') }}">{{ 'bills_to_pay'|_ }}</a></span>
|
||||
<span class="info-box-number" id="box-bills-unpaid"></span>
|
||||
|
||||
<div class="progress">
|
||||
<div class="progress-bar" style="width: 0%"></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="fa fa-money"></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" style="width: 0%"></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']) }}">{{ 'net_worth'|_ }}</a></span>
|
||||
<span class="info-box-number" id="box-net-worth"></span>
|
||||
|
||||
<div class="progress">
|
||||
<div class="progress-bar" style="width: 0%"></div>
|
||||
</div>
|
||||
<span class="progress-description"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
132
resources/views/partials/control-bar.twig
Normal file
132
resources/views/partials/control-bar.twig
Normal file
@@ -0,0 +1,132 @@
|
||||
<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 fa fa-long-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 fa fa-long-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 fa fa-exchange 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 fa fa-money 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 fa fa-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 fa fa-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 fa fa-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('bills.create') }}">
|
||||
<span class="menu-icon fa fa-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>
|
||||
26
resources/views/partials/empty.twig
Normal file
26
resources/views/partials/empty.twig
Normal file
@@ -0,0 +1,26 @@
|
||||
<div class="row">
|
||||
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12 col-lg-offset-3 col-md-offset-3">
|
||||
<div class="box box-success">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">{{ ('no_'~type~'_title_'~objectType)|_ }}</h3>
|
||||
</div>
|
||||
|
||||
<div class="box-body">
|
||||
<p>
|
||||
{{ ('no_'~type~'_intro_'~objectType)|_ }}
|
||||
</p>
|
||||
<p>
|
||||
{{ ('no_'~type~'_imperative_'~objectType)|_ }}
|
||||
|
||||
</p>
|
||||
<p style="text-align: 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>
|
||||
11
resources/views/partials/favicons.twig
Normal file
11
resources/views/partials/favicons.twig
Normal file
@@ -0,0 +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">
|
||||
<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">
|
||||
108
resources/views/partials/flashes.twig
Normal file
108
resources/views/partials/flashes.twig
Normal file
@@ -0,0 +1,108 @@
|
||||
{# LOCALE ERROR MESSAGE #}
|
||||
{% if invalidMonetaryLocale %}
|
||||
<div class="alert alert-info alert-dismissible" role="alert">
|
||||
<button type="button" class="close" data-dismiss="alert">
|
||||
<span>×</span><span class="sr-only">{{ 'close'|_ }}</span>
|
||||
</button>
|
||||
<strong>{{ 'invalid_server_configuration'|_ }}:</strong> <span class="fa fa-money"></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>×</span><span class="sr-only">{{ '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>×</span><span class="sr-only">{{ '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>
|
||||
{% endfor %}
|
||||
</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 %}
|
||||
<strong>{{ 'flash_info'|_ }}:</strong> {{ session('info')|raw }}
|
||||
{% 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>×</span><span class="sr-only">{{ '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>×</span><span class="sr-only">{{ '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>
|
||||
{% endfor %}
|
||||
</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 %}
|
||||
|
||||
1
resources/views/partials/journal-row.twig
Normal file
1
resources/views/partials/journal-row.twig
Normal file
@@ -0,0 +1 @@
|
||||
<h1 style="color:red;">REPLACE ME</h1>
|
||||
13
resources/views/partials/layout/breadcrumbs.twig
Normal file
13
resources/views/partials/layout/breadcrumbs.twig
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
{% if breadcrumbs|length > 0 %}
|
||||
|
||||
<ol class="breadcrumb">
|
||||
{% for breadcrumb in breadcrumbs %}
|
||||
{% if breadcrumb.url and not loop.last %}
|
||||
<li><a href="{{ breadcrumb.url }}">{{ breadcrumb.title }}</a></li>
|
||||
{% else %}
|
||||
<li class="active">{{ breadcrumb.title }}</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ol>
|
||||
{% endif %}
|
||||
234
resources/views/partials/menu-sidebar.twig
Normal file
234
resources/views/partials/menu-sidebar.twig
Normal file
@@ -0,0 +1,234 @@
|
||||
<ul class="sidebar-menu" data-widget="tree">
|
||||
<li class="{{ activeRouteStrict('index') }}">
|
||||
<a href="{{ route('index') }}">
|
||||
<span class="fa fa-dashboard fa-fw"></span>
|
||||
<span>{{ 'dashboard'|_ }}</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="header text-uppercase">{{ 'financial_control'|_ }}</li>
|
||||
|
||||
<li class="{{ activeRoutePartial('budgets') }}" id="budget-menu">
|
||||
<a href="{{ route('budgets.index') }}">
|
||||
<span class="fa fa-pie-chart fa-fw"></span>
|
||||
<span>{{ 'budgets'|_ }}</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="{{ activeRoutePartial('bills') }}">
|
||||
<a href="{{ route('bills.index') }}">
|
||||
<span class="fa fa-calendar-o fa-fw"></span>
|
||||
<span>{{ 'bills'|_ }}</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="{{ activeRoutePartial('piggy-banks') }}">
|
||||
<a href="{{ route('piggy-banks.index') }}">
|
||||
<span class="fa fa-bullseye fa-fw"></span>
|
||||
<span>{{ 'piggyBanks'|_ }}</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="header text-uppercase">{{ 'accounting'|_ }}</li>
|
||||
|
||||
<li class="{{ activeRoutePartial('transactions') }} treeview" id="transaction-menu">
|
||||
<a href="#">
|
||||
<span class="fa fa-exchange fa-fw"></span>
|
||||
<span>{{ 'transactions'|_ }}</span>
|
||||
<span class="pull-right-container">
|
||||
<span class="fa fa-angle-left pull-right"></span>
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<ul class="treeview-menu">
|
||||
<li class="{{ activeRoutePartialObjectType('transactions', 'withdrawal') }}">
|
||||
<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') }}">
|
||||
<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') }}">
|
||||
<span class="fa fa-angle-right fa-fw"></span>
|
||||
<span>{{ 'transfers'|_ }}</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="{{ activeRoutePartial('recurring') }} {{ activeRoutePartial('rules') }} treeview">
|
||||
<a href="#">
|
||||
<span class="fa fa-microchip fa-fw"></span>
|
||||
<span>{{ 'automation'|_ }}</span>
|
||||
<span class="pull-right-container">
|
||||
<span class="fa fa-angle-left pull-right"></span>
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<ul class="treeview-menu">
|
||||
<li class="{{ activeRoutePartial('rules') }}">
|
||||
<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') }}">
|
||||
<span class="fa fa-angle-right fa-fw"></span>
|
||||
<span>{{ 'recurrences'|_ }}</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="header text-uppercase">{{ 'others'|_ }}</li>
|
||||
|
||||
<li class="{{ activeRoutePartial('accounts') }} treeview" id="account-menu">
|
||||
<a href="#">
|
||||
<span class="fa fa-credit-card fa-fw"></span>
|
||||
<span>{{ 'accounts'|_ }}</span>
|
||||
<span class="pull-right-container">
|
||||
<span class="fa fa-angle-left pull-right"></span>
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<ul class="treeview-menu">
|
||||
<li class="{{ activeRoutePartialObjectType('accounts', 'asset') }}">
|
||||
<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') }}">
|
||||
<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') }}">
|
||||
<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') }}">
|
||||
<span class="fa fa-angle-right fa-fw"></span>
|
||||
<span>{{ 'liabilities_accounts'|_ }}</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="{{ activeRoutePartial('categories') }} {{ activeRoutePartial('tags') }} {{ activeRoutePartial('groups') }} treeview">
|
||||
<a href="#">
|
||||
<span class="fa fa-tags fa-fw"></span>
|
||||
<span>{{ 'classification'|_ }}</span>
|
||||
<span class="pull-right-container">
|
||||
<span class="fa fa-angle-left pull-right"></span>
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<ul class="treeview-menu">
|
||||
<li class="{{ activeRoutePartial('categories') }}">
|
||||
<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') }}">
|
||||
<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') }}">
|
||||
<span class="fa fa-angle-right fa-fw"></span>
|
||||
<span>{{ 'object_groups_menu_bar'|_ }}</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="{{ activeRoutePartial('reports') }}" id="report-menu">
|
||||
<a href="{{ route('reports.index') }}">
|
||||
<span class="fa fa-bar-chart fa-fw"></span>
|
||||
<span>{{ 'reports'|_ }}</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
{% if config('firefly.feature_flags.export') %}
|
||||
<li class="{{ activeRoutePartial('export') }}" id="report-menu">
|
||||
<a href="{{ route('export.index') }}">
|
||||
<span class="fa fa-upload fa-fw"></span>
|
||||
<span>{{ 'export_data_menu'|_ }}</span>
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
<li class="{{ activeRoutePartial('admin') }} {{ activeRoutePartial('profile') }} {{ activeRoutePartial('preferences') }} {{ activeRoutePartial('currencies') }} treeview"
|
||||
id="option-menu">
|
||||
<a href="#">
|
||||
<span class="fa fa-sliders fa-fw"></span>
|
||||
<span>{{ 'options'|_ }}</span>
|
||||
<span class="pull-right-container">
|
||||
<span class="fa fa-angle-left pull-right"></span>
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<ul class="treeview-menu">
|
||||
<li class="{{ activeRoutePartial('profile') }}">
|
||||
<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') }}">
|
||||
<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') }}">
|
||||
<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') }}">
|
||||
<span class="fa fa-angle-right fa-fw"></span>
|
||||
<span>{{ 'webhooks'|_ }}</span>
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if hasRole('owner') %}
|
||||
<li class="{{ activeRoutePartial('admin') }}">
|
||||
<a class="{{ activeRoutePartial('admin') }}" href="{{ route('admin.index') }}">
|
||||
<span class="fa fa-angle-right fa-fw"></span>
|
||||
<span>{{ 'administration'|_ }}</span>
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
|
||||
{% if 'remote_user_guard' != authGuard or '' != logoutUri %}
|
||||
<li>
|
||||
<a href="{{ route('logout') }}" class="logout-link">
|
||||
<span class="fa fa-sign-out fa-fw"></span>
|
||||
<span>{{ 'logout'|_ }}</span>
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
14
resources/views/partials/page-header.twig
Normal file
14
resources/views/partials/page-header.twig
Normal file
@@ -0,0 +1,14 @@
|
||||
<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>
|
||||
35
resources/views/partials/password-modal.twig
Normal file
35
resources/views/partials/password-modal.twig
Normal file
@@ -0,0 +1,35 @@
|
||||
<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">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span>×</span></button>
|
||||
<h4 class="modal-title">
|
||||
{{ 'secure_pw_title'|_ }}
|
||||
</h4>
|
||||
</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-default" data-dismiss="modal">{{ 'close'|_ }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
1
resources/views/partials/transaction-row.twig
Normal file
1
resources/views/partials/transaction-row.twig
Normal file
@@ -0,0 +1 @@
|
||||
<h1 style="color:red;">REPLACE ME</h1>
|
||||
Reference in New Issue
Block a user