109 lines
3.3 KiB
Twig
109 lines
3.3 KiB
Twig
|
{% extends "layouts" ~ DIR ~ "default.twig" %}
|
|||
|
|
|||
|
{% block title %}{{ "Export" | translate }}{% endblock %}
|
|||
|
|
|||
|
{% block content %}
|
|||
|
<h2>{{ "What would you like to export?" | translate }}</h2>
|
|||
|
<form id="export_form" class="split" action="{{ url('export') }}" method="post" accept-charset="UTF-8">
|
|||
|
<fieldset role="presentation">
|
|||
|
<p>
|
|||
|
<label for="posts">
|
|||
|
{{ "Posts" | translate }}
|
|||
|
</label>
|
|||
|
{#- -#}
|
|||
|
<input class="checkbox" type="checkbox" name="posts" value="" id="posts" checked="checked">
|
|||
|
</p>
|
|||
|
<p>
|
|||
|
<label for="filter_posts">
|
|||
|
{{ "Filter Posts" | translate }}
|
|||
|
<span class="sub">{{ "(optional)" | translate }}</span>
|
|||
|
<a href="{{ url('help/id/filtering_results') }}" rel="help" target="_blank" class="help emblem">
|
|||
|
{{- icon_img("help.svg", "help" | translate) -}}
|
|||
|
</a>
|
|||
|
</label>
|
|||
|
{#- -#}
|
|||
|
<input class="text filter_text" type="text" name="filter_posts" value="" id="filter_posts">
|
|||
|
</p>
|
|||
|
<p>
|
|||
|
<label for="pages">
|
|||
|
{{ "Pages" | translate }}
|
|||
|
</label>
|
|||
|
{#- -#}
|
|||
|
<input class="checkbox" type="checkbox" name="pages" value="" id="pages" checked="checked">
|
|||
|
</p>
|
|||
|
<p>
|
|||
|
<label for="filter_pages">
|
|||
|
{{ "Filter Pages" | translate }}
|
|||
|
<span class="sub">{{ "(optional)" | translate }}</span>
|
|||
|
<a href="{{ url('help/id/filtering_results') }}" rel="help" target="_blank" class="help emblem">
|
|||
|
{{- icon_img("help.svg", "help" | translate) -}}
|
|||
|
</a>
|
|||
|
</label>
|
|||
|
{#- -#}
|
|||
|
<input class="text filter_text" type="text" name="filter_pages" value="" id="filter_pages">
|
|||
|
</p>
|
|||
|
<p>
|
|||
|
<label for="groups">
|
|||
|
{{ "Groups" | translate }}
|
|||
|
</label>
|
|||
|
{#- -#}
|
|||
|
<input class="checkbox" type="checkbox" name="groups" value="" id="groups" checked="checked">
|
|||
|
</p>
|
|||
|
<p>
|
|||
|
<label for="filter_groups">
|
|||
|
{{ "Filter Groups" | translate }}
|
|||
|
<span class="sub">{{ "(optional)" | translate }}</span>
|
|||
|
<a href="{{ url('help/id/filtering_results') }}" rel="help" target="_blank" class="help emblem">
|
|||
|
{{- icon_img("help.svg", "help" | translate) -}}
|
|||
|
</a>
|
|||
|
</label>
|
|||
|
{#- -#}
|
|||
|
<input class="text filter_text" type="text" name="filter_groups" value="" id="filter_groups">
|
|||
|
</p>
|
|||
|
<p>
|
|||
|
<label for="users">
|
|||
|
{{ "Users" | translate }}
|
|||
|
</label>
|
|||
|
{#- -#}
|
|||
|
<input class="checkbox" type="checkbox" name="users" value="" id="users" checked="checked">
|
|||
|
</p>
|
|||
|
<p>
|
|||
|
<label for="filter_users">
|
|||
|
{{ "Filter Users" | translate }}
|
|||
|
<span class="sub">{{ "(optional)" | translate }}</span>
|
|||
|
<a href="{{ url('help/id/filtering_results') }}" rel="help" target="_blank" class="help emblem">
|
|||
|
{{- icon_img("help.svg", "help" | translate) -}}
|
|||
|
</a>
|
|||
|
</label>
|
|||
|
{#- -#}
|
|||
|
<input class="text filter_text" type="text" name="filter_users" value="" id="filter_users">
|
|||
|
</p>
|
|||
|
<aside class="split_block small">
|
|||
|
{{ "Users export file will contain the hashed password for each user – keep it safe!" | translate }}
|
|||
|
</aside>
|
|||
|
<p>
|
|||
|
<label for="uploads">
|
|||
|
{{ "Uploads Manifest" | translate }}
|
|||
|
</label>
|
|||
|
{#- -#}
|
|||
|
<input class="checkbox" type="checkbox" name="uploads" value="" id="uploads" checked="checked">
|
|||
|
</p>
|
|||
|
<p>
|
|||
|
<label for="filter_uploads">
|
|||
|
{{ "Filter Uploads Manifest" | translate }}
|
|||
|
<span class="sub">{{ "(optional)" | translate }}</span>
|
|||
|
</label>
|
|||
|
{#- -#}
|
|||
|
<input class="text filter_text" type="text" name="filter_uploads" value="" id="filter_uploads">
|
|||
|
</p>
|
|||
|
{{ trigger.call("export_choose") }}
|
|||
|
<p class="buttons">
|
|||
|
<button type="submit" class="yay">
|
|||
|
{{ "Export" | translate }}
|
|||
|
</button>
|
|||
|
</p>
|
|||
|
<input type="hidden" name="hash" value="{{ authenticate() }}" id="hash">
|
|||
|
</fieldset>
|
|||
|
</form>
|
|||
|
{% endblock %}
|