Implement bookmark export

This commit is contained in:
Sascha Ißbrücker
2019-12-26 13:45:12 +01:00
parent 1f7ccb214a
commit 991025d13e
4 changed files with 74 additions and 3 deletions

View File

@@ -39,7 +39,14 @@
<h2>Export</h2>
</div>
<p>Export all bookmarks in Netscape HTML format.</p>
<a class="btn btn-primary">Download (.html)</a>
<a class="btn btn-primary" href="{% url 'bookmarks:settings.export' %}">Download (.html)</a>
{% if export_error %}
<div class="has-error">
<p class="form-input-hint">
{{ export_error }}
</p>
</div>
{% endif %}
</section>
</div>