mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-06 04:20:48 +00:00
85 lines
2.9 KiB
Twig
85 lines
2.9 KiB
Twig
![]() |
{% extends "./layout/default.twig" %}
|
||
|
|
||
|
{% block breadcrumbs %}
|
||
|
{{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName, job) }}
|
||
|
{% endblock %}
|
||
|
|
||
|
{% block content %}
|
||
|
|
||
|
<div class="row">
|
||
|
<div class="col-lg-12">
|
||
|
<div class="box">
|
||
|
<div class="box-header with-border">
|
||
|
<h3 class="box-title">{{ 'import_csv_configure_title'|_ }}</h3>
|
||
|
</div>
|
||
|
<div class="box-body">
|
||
|
<p>
|
||
|
{{ 'import_csv_configure_intro' }}
|
||
|
</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<form class="form-horizontal" action="#" method="post" enctype="multipart/form-data">
|
||
|
<input type="hidden" name="_token" value="{{ csrf_token() }}"/>
|
||
|
|
||
|
<div class="row">
|
||
|
<div class="col-lg-12">
|
||
|
<div class="box">
|
||
|
<div class="box-header with-border">
|
||
|
<h3 class="box-title">{{ 'import_csv_configure_form'|_ }}</h3>
|
||
|
</div>
|
||
|
<div class="box-body">
|
||
|
|
||
|
{{ ExpandedForm.checkbox('has_headers',1,null,{helpText: 'csv_header_help'|_}) }}
|
||
|
{{ ExpandedForm.text('date_format','Ymd',{helpText: trans('firefly.csv_date_help', {dateExample: phpdate('Ymd')}) }) }}
|
||
|
{{ ExpandedForm.select('csv_delimiter', data.delimiters, 0, {helpText: 'csv_delimiter_help'|_} ) }}
|
||
|
|
||
|
{{ ExpandedForm.file('csv_config',{helpText: 'csv_csv_config_file_help'|_}) }}
|
||
|
|
||
|
{{ ExpandedForm.select('csv_import_account', data.accounts, 0, {helpText: 'csv_import_account_help'|_} ) }}
|
||
|
|
||
|
{{ ExpandedForm.multiCheckbox('specifix', data.specifix) }}
|
||
|
|
||
|
|
||
|
|
||
|
{% if not uploadPossible %}
|
||
|
<div class="form-group" id="csv_holder">
|
||
|
<div class="col-sm-4">
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<div class="col-sm-8">
|
||
|
<pre>{{ path }}</pre>
|
||
|
<p class="text-danger">
|
||
|
{{ 'csv_upload_not_writeable'|_ }}
|
||
|
</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
{% endif %}
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="row">
|
||
|
<div class="col-lg-12">
|
||
|
<div class="box">
|
||
|
<div class="box-body">
|
||
|
<button type="submit" class="pull-right btn btn-success">
|
||
|
{{ 'csv_upload_button'|_ }}
|
||
|
</button>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</form>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
{% endblock %}
|