mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 04:10:06 -05:00
import all
This commit is contained in:
@@ -8,7 +8,10 @@
|
||||
|
||||
<h3>{% trans 'Update imported Recipes' %}</h3>
|
||||
<br>
|
||||
<button class="btn btn-primary">Auto-Import all</button>
|
||||
<form action="{% url 'batch_import_all' %}" method="post">
|
||||
{% csrf_token %}
|
||||
<input type="submit" value="{% trans 'Auto import all' %}" class="btn btn-primary"/>
|
||||
</form>
|
||||
<br>
|
||||
|
||||
{% render_table imported_recipes %}
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
{% trans 'On this Page you can manage all DropBox folder locations that should be monitored and synced' %} <br/>
|
||||
{% trans 'The path must be in the following format' %} <code>/Folder/RecipesFolder</code>
|
||||
<br/>
|
||||
<a href="{% url 'api_dropbox_sync' %}" class="btn btn-success">{% trans 'Sync Now!' %}</a>
|
||||
<br/>
|
||||
<form method="POST" class="post-form">{% csrf_token %}
|
||||
{% crispy form %}
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user