Implement queue task deletion
This commit is contained in:
parent
7f975a1fd0
commit
2620530cc2
5 changed files with 118 additions and 11 deletions
18
templates/pages/queue_delete.html
Normal file
18
templates/pages/queue_delete.html
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}del {{ short }}{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
|
||||
<h2>Delete commit from queue</h2>
|
||||
|
||||
<p>You are about to delete this commit from the queue:</p>
|
||||
<p>{{ commit|safe }}</p>
|
||||
<p>All runs of this commit currently in progress will be aborted!</p>
|
||||
|
||||
<form method="post" action="{{ link_delete }}">
|
||||
<input type="hidden" name="hash" value="{{ hash }}">
|
||||
<button>Delete commit and abort runs</button>
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue