wallabag/src/Wallabag/ImportBundle/Resources/views/WallabagV1/index.html.twig

37 lines
1.6 KiB
Twig
Raw Normal View History

2015-12-30 12:26:30 +00:00
{% extends "WallabagCoreBundle::layout.html.twig" %}
{% block title %}{% trans %}Import > Wallabag v1{% endtrans %}{% endblock %}
2015-12-30 12:26:30 +00:00
{% block content %}
<div class="row">
<div class="col s12">
<div class="card-panel settings">
<div class="row">
2016-01-06 05:34:57 +00:00
<blockquote>{{ import.description|trans }}</blockquote>
<p>{% trans %}Please select your wallabag export and click on the below button to upload and import it.{% endtrans %}</p>
2015-12-30 12:26:30 +00:00
<div class="col s12">
{{ form_start(form, {'method': 'POST'}) }}
{{ form_errors(form) }}
<div class="row">
<div class="file-field input-field col s12">
2015-12-30 12:26:30 +00:00
{{ form_errors(form.file) }}
<div class="btn">
2016-01-05 21:38:09 +00:00
<span>{% trans %}File{% endtrans %}</span>
{{ form_widget(form.file) }}
</div>
<div class="file-path-wrapper">
<input class="file-path validate" type="text">
</div>
2015-12-30 12:26:30 +00:00
</div>
</div>
<div class="hidden">{{ form_rest(form) }}</div>
<button class="btn waves-effect waves-light" type="submit" name="action">
{% trans %}Upload file{% endtrans %}
</button>
</form>
</div>
</div>
</div>
</div>
</div>
{% endblock %}