Queue Enable
All checks were successful
/ release (push) Successful in 42s

This commit is contained in:
Samuel Lorch 2024-07-06 18:01:51 +02:00
parent 77d7a8624c
commit b03e85db0b
7 changed files with 77 additions and 2 deletions

View file

@ -15,6 +15,22 @@
{{end}}
{{end}}
</div>
<h2>Set Queue Enable</h2>
<form method="POST" action= "/queue_enable">
<label for="worker">Worker:</label>
<select id="worker" name="worker">
<option value="all">All</option>
{{range $w := .Workers}}
<option value="{{$w.ID}}">{{$w.Name}}</option>
{{end}}
</select>
<label for="enable">Enable</label>
<select id="enable" name="enable">
<option value="true">True</option>
<option value="false">False</option>
</select>
<input type="submit" value="Submit">
</form>
<h2>Workers</h2>
<div class="workers">
{{range $w := .Workers}}