Add Task Stats
This commit is contained in:
parent
3c174540df
commit
81ae32c0f5
2 changed files with 47 additions and 3 deletions
|
@ -4,16 +4,29 @@
|
|||
<label for="library">Library:</label><br />
|
||||
<select id="library" name="library">
|
||||
{{range $l := .Libraries}}
|
||||
<option value="{{$l.ID}}">{{$l.Name}}</option>
|
||||
{{end}}
|
||||
<option value="{{$l.ID}}">{{$l.Name}}</option>
|
||||
{{end}}
|
||||
</select><br />
|
||||
<label for="type">Type</label><br />
|
||||
<select id="type" name="type">
|
||||
<option value="0">Health Check</option>
|
||||
<option value="0">Health Check</option>
|
||||
</select> <br />
|
||||
<input type="submit">
|
||||
</form>
|
||||
|
||||
<h2>Task Stats</h2>
|
||||
Running: {{.Stats.RunningCount}}
|
||||
Queued: {{.Stats.QueuedCount}}
|
||||
Failed: {{.Stats.FailedCount}}
|
||||
Success: {{.Stats.SuccessCount}}
|
||||
Unknown: {{.Stats.UnknownCount}}
|
||||
Assigned: {{.Stats.AssignedCount}}
|
||||
Paused: {{.Stats.PausedCount}}
|
||||
Waiting: {{.Stats.WaitingCount}}
|
||||
Total: {{.Stats.TotalCount}}
|
||||
|
||||
|
||||
|
||||
<h2>Tasks</h2>
|
||||
<div class="task-list">
|
||||
<table>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue