mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 23:45:10 +00:00
Basic export function for #2667
This commit is contained in:
35
resources/views/v1/export/index.twig
Normal file
35
resources/views/v1/export/index.twig
Normal file
@@ -0,0 +1,35 @@
|
||||
{% extends "./layout/default" %}
|
||||
|
||||
{% block breadcrumbs %}
|
||||
{{ Breadcrumbs.render(Route.getCurrentRoute.getName) }}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="row">
|
||||
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">{{ 'export_data_main_title'|_ }}</h3>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
<p>
|
||||
{{ 'export_data_expl'|_ }}
|
||||
</p>
|
||||
<ul>
|
||||
<li><i class="fa fa-fw fa-download"></i> <a href="{{ route('export.export') }}" title="{{ 'export_data_all_transactions'|_ }}">{{ 'export_data_all_transactions'|_ }}</a></li>
|
||||
</ul>
|
||||
<p>
|
||||
{{ 'export_data_advanced_expl'|_ }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block styles %}
|
||||
{% endblock %}
|
||||
|
||||
{% block scripts %}
|
||||
{% endblock %}
|
@@ -58,12 +58,35 @@
|
||||
<span>{{ 'reports'|_ }}</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="{{ activeRoutePartial('import') }}">
|
||||
<a href="{{ route('import.index') }}">
|
||||
<i class="fa fa-archive fa-fw"></i>
|
||||
<span>{{ 'import_transactions'|_ }}</span>
|
||||
<li class="{{ activeRoutePartial('import') }} {{ activeRoutePartial('export') }} treeview" id="transaction-menu">
|
||||
<a href="#">
|
||||
<i class="fa fa-hdd-o fa-fw"></i>
|
||||
{% if config('firefly.feature_flags.export') %}
|
||||
<span>{{ 'import_and_export_menu'|_ }}</span>
|
||||
{% else %}
|
||||
<span>{{ 'import_transactions'|_ }}</span>
|
||||
{% endif %}
|
||||
<span class="pull-right-container">
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</span>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li class="{{ activeRoutePartial('import') }}">
|
||||
<a href="{{ route('import.index') }}">
|
||||
<i class="fa fa-archive fa-fw"></i>
|
||||
<span>{{ 'import_transactions'|_ }}</span>
|
||||
</a>
|
||||
</li>
|
||||
{% if config('firefly.feature_flags.export') %}
|
||||
<li class="{{ activeRoutePartial('export') }}">
|
||||
<a href="{{ route('export.index') }}">
|
||||
<i class="fa fa-life-bouy fa-fw"></i>
|
||||
<span>{{ 'export_data_menu'|_ }}</span>
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="{{ activeRoutePartial('transactions') }} treeview" id="transaction-menu">
|
||||
|
Reference in New Issue
Block a user