diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2015-12-31 11:24:46 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-01-02 23:27:41 +0100 |
commit | 7019c7cf6c6af39c0f458769e20c3f9306477943 (patch) | |
tree | 12acceaa458cdf6d24367eba85f690265acddcdb /src/Wallabag/ImportBundle/Resources/views/Import | |
parent | b1d05721cf37ab94ec1a6837fe79cf19474dd0ff (diff) | |
download | wallabag-7019c7cf6c6af39c0f458769e20c3f9306477943.tar.gz wallabag-7019c7cf6c6af39c0f458769e20c3f9306477943.tar.zst wallabag-7019c7cf6c6af39c0f458769e20c3f9306477943.zip |
Add tagged services for import
- list services in /import
- add url to import service
- ImportBundle routing are now prefixed by /import
- optimize flush in each import (flushing each 20 contents)
- improve design of each import
- add more tests
Diffstat (limited to 'src/Wallabag/ImportBundle/Resources/views/Import')
-rw-r--r-- | src/Wallabag/ImportBundle/Resources/views/Import/index.html.twig | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/Wallabag/ImportBundle/Resources/views/Import/index.html.twig b/src/Wallabag/ImportBundle/Resources/views/Import/index.html.twig index bd51f730..27baa1e3 100644 --- a/src/Wallabag/ImportBundle/Resources/views/Import/index.html.twig +++ b/src/Wallabag/ImportBundle/Resources/views/Import/index.html.twig | |||
@@ -1,15 +1,19 @@ | |||
1 | {% extends "WallabagCoreBundle::layout.html.twig" %} | 1 | {% extends "WallabagCoreBundle::layout.html.twig" %} |
2 | {% block title %}{% trans %}import{% endtrans %}{% endblock %} | 2 | {% block title %}{% trans %}Import{% endtrans %}{% endblock %} |
3 | 3 | ||
4 | {% block content %} | 4 | {% block content %} |
5 | |||
6 | <div class="row"> | 5 | <div class="row"> |
7 | <div class="col s12"> | 6 | <div class="col s12"> |
8 | <div class="card-panel settings"> | 7 | <div class="card-panel settings"> |
9 | {% trans %}Welcome on wallabag importer. Please select your previous service that you want to migrate.{% endtrans %} | 8 | {% trans %}Welcome on wallabag importer. Please select your previous service that you want to migrate.{% endtrans %} |
10 | <ul> | 9 | <ul> |
11 | <li><a href="{{ path('import_pocket') }}">Pocket</a></li> | 10 | {% for import in imports %} |
12 | <li><a href="{{ path('import_wallabag_v1') }}">Wallabag v1</a></li> | 11 | <li> |
12 | <h5>{{ import.name }}</h5> | ||
13 | <blockquote>{{ import.description|raw }}</blockquote> | ||
14 | <p><a class="waves-effect waves-light btn" href="{{ path(import.url) }}">Import contents</a></p> | ||
15 | </li> | ||
16 | {% endfor %} | ||
13 | </ul> | 17 | </ul> |
14 | </div> | 18 | </div> |
15 | </div> | 19 | </div> |