2023-03-16 14:24:29 +01:00
{% extends "base.jinja2" %}
2021-02-23 22:54:08 +01:00
{% block title %}Export pages - {{ app_name }}{% endblock %}
{% block content %}
<h1>Export pages</h1>
2023-05-18 08:47:06 +02:00
<div class="inner-content">
<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>
2021-02-23 22:54:08 +01:00
2023-05-18 08:47:06 +02:00
<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>
2021-02-23 22:54:08 +01:00
2023-05-18 08:47:06 +02:00
<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>
</div>
2021-02-23 22:54:08 +01:00
{% endblock %}