-
-
Notifications
You must be signed in to change notification settings - Fork 757
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7323 from wallabag/fix/2.6-elcurator-how-to
Use a proper "how to" for elCurator
- Loading branch information
Showing
3 changed files
with
46 additions
and
2 deletions.
There are no files selected for viewing
44 changes: 43 additions & 1 deletion
44
src/Wallabag/ImportBundle/Resources/views/Elcurator/index.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,45 @@ | ||
{% extends "@WallabagImport/WallabagV1/index.html.twig" %} | ||
{% extends "@WallabagCore/layout.html.twig" %} | ||
|
||
{% block title %}{{ 'import.elcurator.page_title'|trans }}{% endblock %} | ||
|
||
{% block content %} | ||
<div class="row"> | ||
<div class="col s12"> | ||
<div class="card-panel settings"> | ||
{% include '@WallabagImport/Import/_information.html.twig' %} | ||
|
||
<div class="row"> | ||
<blockquote>{{ import.description|trans }}</blockquote> | ||
<p>{{ 'import.elcurator.how_to'|trans }}</p> | ||
|
||
<div class="col s12"> | ||
{{ form_start(form, {'method': 'POST'}) }} | ||
{{ form_errors(form) }} | ||
<div class="row"> | ||
<div class="file-field input-field col s12"> | ||
{{ form_errors(form.file) }} | ||
<div class="btn"> | ||
<span>{{ form.file.vars.label|trans }}</span> | ||
{{ form_widget(form.file) }} | ||
</div> | ||
<div class="file-path-wrapper"> | ||
<input class="file-path validate" type="text"> | ||
</div> | ||
</div> | ||
<div class="input-field col s6 with-checkbox"> | ||
<h6>{{ 'import.form.mark_as_read_title'|trans }}</h6> | ||
{{ form_widget(form.mark_as_read) }} | ||
{{ form_label(form.mark_as_read) }} | ||
</div> | ||
</div> | ||
|
||
{{ form_widget(form.save, {'attr': {'class': 'btn waves-effect waves-light'}}) }} | ||
|
||
{{ form_rest(form) }} | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters