This commit is contained in:
parent
77d7a8624c
commit
b03e85db0b
7 changed files with 77 additions and 2 deletions
|
@ -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}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue