Style changes
This commit is contained in:
parent
ba3ed04b44
commit
d53677ea66
25 changed files with 389 additions and 371 deletions
|
|
@ -5,27 +5,31 @@
|
|||
{% block content %}
|
||||
<h1>Import pages</h1>
|
||||
|
||||
{% if current_user.is_admin %}
|
||||
<p>
|
||||
You can import files produced by the <a href="/manage/export">exporter tool</a>, in JSON format.
|
||||
Importing pages can be done by users with Admin permissions only.
|
||||
</p>
|
||||
<div class="inner-content">
|
||||
{% if current_user.is_admin %}
|
||||
|
||||
<p>
|
||||
You can import files produced by the <a href="/manage/export">exporter tool</a>, in JSON format.
|
||||
Importing pages can be done by users with Admin permissions only.
|
||||
</p>
|
||||
|
||||
|
||||
<form enctype="multipart/form-data" method="POST">
|
||||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
|
||||
<div>
|
||||
<input type="file" accept="application/json" name="import" />
|
||||
<form enctype="multipart/form-data" method="POST">
|
||||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
|
||||
<div>
|
||||
<input type="file" accept="application/json" name="import" />
|
||||
</div>
|
||||
<div>
|
||||
<input type="checkbox" name="ovwurls" value="1" checked="" />
|
||||
<label for="ovwurls">Overwrite URLs</label>
|
||||
</div>
|
||||
<div>
|
||||
<input type="submit" value="Import" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div>
|
||||
<input type="checkbox" name="ovwurls" value="1" checked="" />
|
||||
<label for="ovwurls">Overwrite URLs</label>
|
||||
</div>
|
||||
<div>
|
||||
<input type="submit" value="Import" />
|
||||
</div>
|
||||
</form>
|
||||
{% else %}
|
||||
<p>Importing pages can be done by users with Admin permissions only.</p>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<p>Importing pages can be done by users with Admin permissions only.</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue