]>
Commit | Line | Data |
---|---|---|
1 | {% extends "WallabagCoreBundle::layout.html.twig" %} | |
2 | {% block title %}{% trans %}Import > Wallabag v1{% endtrans %}{% endblock %} | |
3 | ||
4 | {% block content %} | |
5 | <div class="row"> | |
6 | <div class="col s12"> | |
7 | <div class="card-panel settings"> | |
8 | <div class="row"> | |
9 | <blockquote>{{ import.description|trans }}</blockquote> | |
10 | <p>{% trans %}Please select your wallabag export and click on the below button to upload and import it.{% endtrans %}</p> | |
11 | <div class="col s12"> | |
12 | {{ form_start(form, {'method': 'POST'}) }} | |
13 | {{ form_errors(form) }} | |
14 | <div class="row"> | |
15 | <div class="file-field input-field col s12"> | |
16 | {{ form_errors(form.file) }} | |
17 | <div class="btn"> | |
18 | <span>{% trans %}File{% endtrans %}</span> | |
19 | {{ form_widget(form.file) }} | |
20 | </div> | |
21 | <div class="file-path-wrapper"> | |
22 | <input class="file-path validate" type="text"> | |
23 | </div> | |
24 | </div> | |
25 | <div class="input-field col s6 with-checkbox"> | |
26 | <h6>{% trans %}Mark all as read ?{% endtrans %}</h6> | |
27 | {{ form_widget(form.mark_as_read) }} | |
28 | <label for="upload_import_file_mark_as_read">{% trans %}Mark all imported entries as read{% endtrans %}</label> | |
29 | </div> | |
30 | </div> | |
31 | <div class="hidden">{{ form_rest(form) }}</div> | |
32 | <button class="btn waves-effect waves-light" type="submit" name="action"> | |
33 | {% trans %}Upload file{% endtrans %} | |
34 | </button> | |
35 | </form> | |
36 | </div> | |
37 | </div> | |
38 | </div> | |
39 | </div> | |
40 | </div> | |
41 | {% endblock %} |