diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@smile.fr> | 2015-10-23 10:14:22 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-01-02 23:24:17 +0100 |
commit | 10b40f85d664da2b3ebcfd24d6e7145c9cd90d64 (patch) | |
tree | 6d8cf6b3b661cc9218dd6fa416a08fbe2ec94176 /src | |
parent | d275bdf4d36f90ff61f1e6a714c9ef64d210596f (diff) | |
download | wallabag-10b40f85d664da2b3ebcfd24d6e7145c9cd90d64.tar.gz wallabag-10b40f85d664da2b3ebcfd24d6e7145c9cd90d64.tar.zst wallabag-10b40f85d664da2b3ebcfd24d6e7145c9cd90d64.zip |
add docs for Import feature
Diffstat (limited to 'src')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/Import/index.html.twig | 33 |
1 files changed, 20 insertions, 13 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Import/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Import/index.html.twig index 2c8c158d..47004144 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Import/index.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Import/index.html.twig | |||
@@ -3,21 +3,28 @@ | |||
3 | {% block title %}{% trans %}import{% endtrans %}{% endblock %} | 3 | {% block title %}{% trans %}import{% endtrans %}{% endblock %} |
4 | 4 | ||
5 | {% block content %} | 5 | {% block content %} |
6 | 6 | <div class="row"> | |
7 | <div id="set1" class="col s12"> | 7 | <div class="col s12"> |
8 | <form action="{{ path('import') }}" method="post" {{ form_enctype(form.import) }}> | 8 | <div class="card-panel settings"> |
9 | {{ form_errors(form.import) }} | ||
10 | <div class="row"> | 9 | <div class="row"> |
11 | <div class="input-field col s12"> | 10 | <div class="col s12"> |
12 | {{ form_errors(form.import.file) }} | 11 | <form action="{{ path('import') }}" method="post" {{ form_enctype(form.import) }}> |
13 | {{ form_widget(form.import.file) }} | 12 | {{ form_errors(form.import) }} |
14 | <label class="required">{% trans %}File{% endtrans %}</label> | 13 | <div class="row"> |
14 | <div class="input-field col s12"> | ||
15 | <p>{% trans %}Please select your wallabag export and click on the below button to upload and import it.{% endtrans %}</p> | ||
16 | {{ form_errors(form.import.file) }} | ||
17 | {{ form_widget(form.import.file) }} | ||
18 | </div> | ||
19 | </div> | ||
20 | <div class="hidden">{{ form_rest(form.import) }}</div> | ||
21 | <button class="btn waves-effect waves-light" type="submit" name="action"> | ||
22 | {% trans %}Upload file{% endtrans %} | ||
23 | </button> | ||
24 | </form> | ||
15 | </div> | 25 | </div> |
16 | </div> | 26 | </div> |
17 | <div class="hidden">{{ form_rest(form.import) }}</div> | 27 | </div> |
18 | <button class="btn waves-effect waves-light" type="submit" name="action"> | ||
19 | {% trans %}Upload file{% endtrans %} | ||
20 | </button> | ||
21 | </form> | ||
22 | </div> | 28 | </div> |
29 | </div> | ||
23 | {% endblock %} | 30 | {% endblock %} |