You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

wait_count_train.tmpl 561 B

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
12345678910111213141516171819202122232425262728
  1. <div class="tooltip-wati-count" style="margin-left: 155px">
  2. {{$queue := ""}}
  3. {{$gpuQueue := 0}}
  4. {{range $k,$v :=.gpu_types}}
  5. {{if eq $k 0}}
  6. {{ $queue = $v.Queue }}
  7. {{ end }}
  8. {{ end }}
  9. {{ range $k,$v :=.QueuesDetail }}
  10. {{if eq $k $queue}}
  11. {{$gpuQueue =$v}}
  12. {{ end }}
  13. {{ end }}
  14. <i
  15. class="ri-error-warning-line"
  16. style="margin-right: 0.5rem; font-size: 16px"
  17. ></i>
  18. <span
  19. >{{.i18n.Tr "repo.wait_count_start"}}
  20. {{if .QueuesDetail}}
  21. {{ $gpuQueue }}
  22. {{else}}
  23. {{.WaitCount}}
  24. {{ end }}
  25. {{.i18n.Tr "repo.wait_count_end"}}</span
  26. >
  27. </div>