aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ImportBundle/Resources/views/Import/index.html.twig
blob: b79a1470b33fb758c5d2c0087c922d84229f75ba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{% extends "WallabagCoreBundle::layout.html.twig" %}

{% block title %}{{ 'import.page_title'|trans }}{% endblock %}

{% block messages %}
    {{ render(controller("WallabagImportBundle:Import:checkQueue")) }}

    {{ parent() }}
{% endblock %}

{% block content %}
<div class="row">
    <div class="col s12">
        <div class="card-panel settings">
            {% include 'WallabagImportBundle:Import:_information.html.twig' %}

            {{ 'import.page_description'|trans }}
            <ul>
                {% for import in imports %}
                    <li>
                        <h5>{{ import.name }}</h5>
                        <blockquote>{{ import.description|trans|raw }}</blockquote>
                        <p><a class="waves-effect waves-light btn" href="{{ path(import.url) }}">{{ 'import.action.import_contents'|trans }}</a></p>
                    </li>
                {% endfor %}
            </ul>
        </div>
    </div>
</div>
{% endblock %}