Tasks can now be queued from the web interface. Tasks are dispatched to the crawl server(s)

This commit is contained in:
Simon
2018-06-12 13:44:03 -04:00
parent 6d48f1f780
commit d61fd75890
14 changed files with 169 additions and 409 deletions

View File

@@ -71,15 +71,17 @@
<thead>
<tr>
<th>Url</th>
<th>Date added</th>
<th>Priority</th>
<th>Task type</th>
</tr>
</thead>
<tbody>
{% for w in queue %}
{% for task in queue %}
<tr>
<td title="{{ w.url }}">{{ w.url | truncate(70)}}</td>
<td>{{ w.last_modified }} UTC</td>
<td title="{{ task.url }}">{{ task.url | truncate(70)}}</td>
<td>{{ task.priority }}</td>
<td>{{ task.callback_type if task.callback_type else "NORMAL" }}</td>
</tr>
{% endfor %}
</tbody>