mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 04:10:06 -05:00
import process
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
|
||||
<form method="POST" class="post-form">{% csrf_token %}
|
||||
{% crispy form %}
|
||||
<input type="submit" value="Submit" class="btn btn-success">
|
||||
</form>
|
||||
|
||||
|
||||
{% endblock %}
|
||||
@@ -1,19 +0,0 @@
|
||||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
{% load django_tables2 %}
|
||||
|
||||
{% block title %}{% trans 'Imported Recipes' %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h3>{% trans 'Imported Recipes' %}</h3>
|
||||
<br>
|
||||
<form action="{% url 'batch_import_all' %}" method="post">
|
||||
{% csrf_token %}
|
||||
<input type="submit" value="{% trans 'import all' %}" class="btn btn-primary"/>
|
||||
</form>
|
||||
<br>
|
||||
|
||||
{% render_table imported_recipes %}
|
||||
|
||||
{% endblock %}
|
||||
@@ -16,7 +16,9 @@
|
||||
<br/>
|
||||
<form method="POST" class="post-form">{% csrf_token %}
|
||||
{% crispy form %}
|
||||
<input type="submit" value="Submit" class="btn btn-success">
|
||||
</form>
|
||||
<br/><br/>
|
||||
|
||||
{% render_table monitored_paths %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user