feat(bots): update runner data in html page

This commit is contained in:
fuxiaohei
2022-11-25 17:48:45 +08:00
committed by Jason Song
parent 848a1ae309
commit 5b989e2a11
6 changed files with 51 additions and 11 deletions
+5 -1
View File
@@ -11,6 +11,10 @@
{{template "base/disable_form_autofill"}}
{{.CsrfTokenHtml}}
<div class="runner-basic-info">
<div class="field dib">
<label>{{.locale.Tr "admin.runners.status"}}</label>
<span class="runner-status-{{.Runner.StatusType}}">{{.Runner.StatusType}}</span>
</div>
<div class="field dib">
<label>{{.locale.Tr "admin.runners.last_online"}}</label>
<span>{{TimeSinceUnix .Runner.LastOnline $.locale}}</span>
@@ -55,7 +59,7 @@
{{.locale.Tr "admin.runner.task_list"}}
</h4>
<div class="ui attached segment">
Comming soon
Comming soon
</div>
</div>
</div>