mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-24 15:26:33 -06:00
72 lines
2.2 KiB
Twig
72 lines
2.2 KiB
Twig
{% extends "./layout/default.twig" %}
|
|
|
|
{% block breadcrumbs %}
|
|
{{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName) }}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<div class="box">
|
|
<div class="box-header with-border">
|
|
<h3 class="box-title">{{ 'csv_process'|_ }}</h3>
|
|
|
|
<!-- ACTIONS MENU -->
|
|
<div class="box-tools pull-right">
|
|
<button class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="box-body">
|
|
{{ 'csv_process_text'|_ }}
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<div class="box">
|
|
<div class="box-header with-border">
|
|
<h3 class="box-title">{{ 'csv_process_form'|_ }}</h3>
|
|
|
|
<!-- ACTIONS MENU -->
|
|
<div class="box-tools pull-right">
|
|
<button class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="box-body">
|
|
|
|
<table class="table">
|
|
<thead>
|
|
<th>{{ 'cvs_column_name'|_ }}</th>
|
|
<th>{{ 'cvs_column_example'|_ }}</th>
|
|
<th>{{ 'cvs_column_role'|_ }}</th>
|
|
<th>{{ 'do_map_value'|_ }}</th>
|
|
</thead>
|
|
{% for index,header in headers %}
|
|
<tr>
|
|
<td>{{ header }}</td>
|
|
<td>{{ example[index] }}</td>
|
|
<td>
|
|
{{ Form.select(('role_'~index), roles) }}
|
|
</td>
|
|
<td>
|
|
{{ Form.checkbox(('map_'~index),false) }}
|
|
</td>
|
|
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|