24 lines
921 B
Django/Jinja
24 lines
921 B
Django/Jinja
{% extends "base.jinja2" %}
|
|
|
|
{% 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 %}
|