rename .html templates to .jinja2 for more consistency
This commit is contained in:
parent
7f050afb8b
commit
2887d94a8c
36 changed files with 34 additions and 33 deletions
24
templates/exportpages.jinja2
Normal file
24
templates/exportpages.jinja2
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}Export pages - {{ app_name }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>Export pages</h1>
|
||||
|
||||
<p>You can export how many pages you want, that will be downloaded in JSON format and can be imported in another {{ app_name }} instance.</p>
|
||||
|
||||
<p>In order to add page to export list, please enter exact title, /url, #tag or +id. Entering a tag will add all pages with that tag to list. Each page or tag is separated by a newline.</p>
|
||||
|
||||
<form method="POST">
|
||||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
|
||||
<div>
|
||||
<textarea style="height:20em;width:100%" name="export-list" placeholder="Title, /url, #tag, or +id, newline-separated"></textarea>
|
||||
</div>
|
||||
<div>
|
||||
<input type="checkbox" name="history" value="1"><label>Include history (file can be very large!)</label>
|
||||
</div>
|
||||
<div>
|
||||
<input type="submit" value="Download">
|
||||
</div>
|
||||
</form>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue