gitea

Development moved to Codeberg

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16
  17. 17
  18. 18
  19. 19
  20. 20
  21. 21
  22. 22
  23. 23
<div class="item">
	<div class="df ac">
		<div class="icon ml-3 mr-3">{{if eq .Process.Type "request"}}{{svg "octicon-globe" 16}}{{else if eq .Process.Type "system"}}{{svg "octicon-cpu" 16}}{{else}}{{svg "octicon-terminal" 16}}{{end}}</div>
		<div class="content f1">
			<div class="header">{{.Process.Description}}</div>
			<div class="description"><span title="{{DateFmtLong .Process.Start}}">{{TimeSince .Process.Start .root.locale}}</span></div>
		</div>
		<div>
			{{if ne .Process.Type "system"}}
				<a class="delete-button icon" href="" data-url="{{.root.Link}}/cancel/{{.Process.PID}}" data-id="{{.Process.PID}}" data-name="{{.Process.Description}}">{{svg "octicon-trash" 16 "text-red"}}</a>
			{{end}}
		</div>
	</div>

	{{$children := .Process.Children}}
	{{if $children}}
		<div class="divided list">
			{{range $children}}
				{{template "admin/process-row" dict "Process" . "root" $.root}}
			{{end}}
		</div>
	{{end}}
</div>