Add button to batch-queue commits without runs

This commit is contained in:
Joscha 2023-08-17 19:00:35 +02:00
parent 238ce5e463
commit af11d54d0c
7 changed files with 90 additions and 14 deletions

View file

@ -52,7 +52,7 @@ There aren't any runs yet.
<input type="hidden" name="hash" value="{{ hash }}">
<button>Add to queue</button>
with a <label for="priority">priority</label> of
<input id="priority" name="priority" type="number" value="10" min="-2147483648" max="2147483647">.
<input type="number" id="priority" name="priority" value="10" min="-2147483648" max="2147483647">.
</form>
{% endblock %}

View file

@ -66,5 +66,16 @@
</tr>
{% endfor %}
</tbody>
</table>
<form method="post" action="{{ link_admin_queue_add_batch }}">
<label>
Batch size:
<input type="number" name="amount" value="10" min="1">
</label>
<label>
Priority:
<input type="number" id="priority" name="priority" value="-1" min="-2147483648" max="2147483647">
</label>
<button>Add batch to queue</button>
</form>