1
0
mirror of https://github.com/nxshock/gron.git synced 2024-11-27 03:41:00 +05:00

Use same width symbols for stats

This commit is contained in:
nxshock 2022-03-30 13:53:03 +05:00 committed by GitHub
parent 7828951733
commit 6db3ddca57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -211,7 +211,7 @@
<td class="nowrap" align="right"> <td class="nowrap" align="right">
<pre>{{.JobConfig.Cron}}</pre> <pre>{{.JobConfig.Cron}}</pre>
</td> </td>
<td class="nowrap">{{if gt .CurrentRunningCount 1}}<span class="red">running {{.CurrentRunningCount}} jobs</span>{{else}}{{if .CurrentRunningCount}}<span class="green">&#x25b6; running</span>{{else}}&#x25fc; inactive{{end}}{{end}}</td> <td class="nowrap">{{if gt .CurrentRunningCount 1}}<span class="red">&#x2bc1; running {{.CurrentRunningCount}} jobs</span>{{else}}{{if .CurrentRunningCount}}<span class="green">&#x2bc8; running</span>{{else}}&#x2bc0; inactive{{end}}{{end}}</td>
<td>{{.LastStartTime}}</td> <td>{{.LastStartTime}}</td>
<td>{{.LastEndTime}}</td> <td>{{.LastEndTime}}</td>
<td align="right">{{.LastExecutionDuration}}</td> <td align="right">{{.LastExecutionDuration}}</td>
@ -222,4 +222,4 @@
</main> </main>
</body> </body>
</html> </html>