2024-02-18 23:03:14 +00:00
|
|
|
{% extends "layout.html.twig" %}
|
2016-03-09 07:59:08 +00:00
|
|
|
|
|
|
|
{% block title %}{{ 'import.wallabag_v1.page_title'|trans }}{% endblock %}
|
2015-12-30 12:26:30 +00:00
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="row">
|
|
|
|
<div class="col s12">
|
|
|
|
<div class="card-panel settings">
|
2024-02-18 23:03:14 +00:00
|
|
|
{% include 'Import/_information.html.twig' %}
|
2016-09-11 18:22:38 +00:00
|
|
|
|
2015-12-30 12:26:30 +00:00
|
|
|
<div class="row">
|
2016-01-06 05:34:57 +00:00
|
|
|
<blockquote>{{ import.description|trans }}</blockquote>
|
2016-03-09 07:59:08 +00:00
|
|
|
<p>{{ 'import.wallabag_v1.how_to'|trans }}</p>
|
|
|
|
|
2015-12-30 12:26:30 +00:00
|
|
|
<div class="col s12">
|
|
|
|
{{ form_start(form, {'method': 'POST'}) }}
|
|
|
|
{{ form_errors(form) }}
|
|
|
|
<div class="row">
|
2015-12-31 10:24:46 +00:00
|
|
|
<div class="file-field input-field col s12">
|
2015-12-30 12:26:30 +00:00
|
|
|
{{ form_errors(form.file) }}
|
2015-12-31 10:24:46 +00:00
|
|
|
<div class="btn">
|
2016-03-09 07:59:08 +00:00
|
|
|
<span>{{ form.file.vars.label|trans }}</span>
|
2015-12-31 10:24:46 +00:00
|
|
|
{{ form_widget(form.file) }}
|
|
|
|
</div>
|
|
|
|
<div class="file-path-wrapper">
|
|
|
|
<input class="file-path validate" type="text">
|
|
|
|
</div>
|
2015-12-30 12:26:30 +00:00
|
|
|
</div>
|
2016-02-12 14:59:13 +00:00
|
|
|
<div class="input-field col s6 with-checkbox">
|
2016-03-09 07:59:08 +00:00
|
|
|
<h6>{{ 'import.form.mark_as_read_title'|trans }}</h6>
|
2016-02-12 14:59:13 +00:00
|
|
|
{{ form_widget(form.mark_as_read) }}
|
2016-03-09 07:59:08 +00:00
|
|
|
{{ form_label(form.mark_as_read) }}
|
2016-02-12 14:59:13 +00:00
|
|
|
</div>
|
2015-12-30 12:26:30 +00:00
|
|
|
</div>
|
2016-03-09 07:59:08 +00:00
|
|
|
|
2022-05-03 21:28:20 +00:00
|
|
|
{{ form_widget(form.save, {'attr': {'class': 'btn waves-effect waves-light'}}) }}
|
2016-03-09 07:59:08 +00:00
|
|
|
|
|
|
|
{{ form_rest(form) }}
|
2015-12-30 12:26:30 +00:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|