diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-07-30 20:19:11 +0200 |
---|---|---|
committer | Étienne Loks <etienne@peacefrogs.net> | 2019-07-30 20:19:11 +0200 |
commit | 56a33989278a8fe2985f0d36d3c589136c1ec30d (patch) | |
tree | b0cb3356e55b4547a4747e10411a8ca68852b977 /commcrawler/templates | |
download | Comm-on-net-56a33989278a8fe2985f0d36d3c589136c1ec30d.tar.bz2 Comm-on-net-56a33989278a8fe2985f0d36d3c589136c1ec30d.zip |
First commit
Diffstat (limited to 'commcrawler/templates')
-rw-r--r-- | commcrawler/templates/admin/add_to_crawl.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/commcrawler/templates/admin/add_to_crawl.html b/commcrawler/templates/admin/add_to_crawl.html new file mode 100644 index 0000000..3822a73 --- /dev/null +++ b/commcrawler/templates/admin/add_to_crawl.html @@ -0,0 +1,16 @@ +{% extends "admin/base_site.html" %}{% load i18n %} + +{% block content %} +<h1>{% blocktrans %}Add {{query_nb}} selected items to a crawl{% endblocktrans %}</h1> +<div id="content-main"> + <form action="." method="post"> + {% csrf_token %} + {{form}} + + <input type="hidden" name="action" value="add_to_crawl" /> + <input type="submit" name="apply" value="{% trans 'Add' %}"/> + {% for pk in items %} + <input type="hidden" name="_selected_action" value="{{ pk }}" />{% endfor %} + </form> +</div> +{% endblock %}
\ No newline at end of file |