Add a form to upload goodreads data.
This commit is contained in:
10
fedireads/templates/import.html
Normal file
10
fedireads/templates/import.html
Normal file
@ -0,0 +1,10 @@
|
||||
{% extends 'layout.html' %}
|
||||
{% block content %}
|
||||
<div id="content">
|
||||
<form name="import" action="/import_data/" method="post" enctype="multipart/form-data">
|
||||
{% csrf_token %}
|
||||
{{ import_form.as_p }}
|
||||
<button type="submit">Import</button>
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
@ -29,6 +29,7 @@
|
||||
<li><a href="/user/{{request.user.localname}}/shelves">Your shelves</a></li>
|
||||
<li><a href="/#feed">Updates</a></li>
|
||||
<li><a href="/books">Discover Books</a></li>
|
||||
<li><a href="/import">Import Books</a><li>
|
||||
</ul>
|
||||
|
||||
<div id="actions">
|
||||
|
Reference in New Issue
Block a user