mirror of
https://github.com/wallabag/wallabag.git
synced 2025-07-17 17:08:37 +00:00
add docs for Import feature
This commit is contained in:
parent
d275bdf4d3
commit
10b40f85d6
5 changed files with 60 additions and 13 deletions
|
@ -3,21 +3,28 @@
|
|||
{% block title %}{% trans %}import{% endtrans %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div id="set1" class="col s12">
|
||||
<form action="{{ path('import') }}" method="post" {{ form_enctype(form.import) }}>
|
||||
{{ form_errors(form.import) }}
|
||||
<div class="row">
|
||||
<div class="col s12">
|
||||
<div class="card-panel settings">
|
||||
<div class="row">
|
||||
<div class="input-field col s12">
|
||||
{{ form_errors(form.import.file) }}
|
||||
{{ form_widget(form.import.file) }}
|
||||
<label class="required">{% trans %}File{% endtrans %}</label>
|
||||
<div class="col s12">
|
||||
<form action="{{ path('import') }}" method="post" {{ form_enctype(form.import) }}>
|
||||
{{ form_errors(form.import) }}
|
||||
<div class="row">
|
||||
<div class="input-field col s12">
|
||||
<p>{% trans %}Please select your wallabag export and click on the below button to upload and import it.{% endtrans %}</p>
|
||||
{{ form_errors(form.import.file) }}
|
||||
{{ form_widget(form.import.file) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="hidden">{{ form_rest(form.import) }}</div>
|
||||
<button class="btn waves-effect waves-light" type="submit" name="action">
|
||||
{% trans %}Upload file{% endtrans %}
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hidden">{{ form_rest(form.import) }}</div>
|
||||
<button class="btn waves-effect waves-light" type="submit" name="action">
|
||||
{% trans %}Upload file{% endtrans %}
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue