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