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.

show.tmpl 3.2 kB

5 years ago
5 years ago
5 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
5 years ago
3 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. {{template "base/head" .}}
  2. <div class="repository">
  3. {{template "repo/header" .}}
  4. <div class="repository new repo ui middle very relaxed page grid">
  5. <div class="column">
  6. {{template "base/alert" .}}
  7. <h4 class="ui header" id="vertical-segment">
  8. <div class="ui breadcrumb">
  9. <a class="section" href="{{.RepoLink}}/debugjob?debugListType=all">
  10. {{.i18n.Tr "repo.cloudbrain"}}
  11. </a>
  12. <div class="divider"> / </div>
  13. <a class="section backTodeBug" href="{{.RepoLink}}/debugjob?debugListType=CPU/GPU">
  14. {{$.i18n.Tr "repo.modelarts.notebook"}}
  15. </a>
  16. <div class="divider"> / </div>
  17. {{with .task}}
  18. <div class="active section">{{.JobName}}</div>
  19. {{end}}
  20. </div>
  21. </h4>
  22. <div>
  23. <div class="ui yellow segment">
  24. {{with .task}}
  25. <p>任务名称: {{.JobName}}</p>
  26. {{end}}
  27. </div>
  28. <div class="ui green segment">
  29. <p>任务结果:</p>
  30. {{with .taskRes}}
  31. {{range .TaskStatuses}}
  32. <table class="ui celled striped table">
  33. <tbody>
  34. <tr>
  35. <td class="four wide"> 状态 </td>
  36. <td> {{.State}} </td>
  37. </tr>
  38. </tbody>
  39. </table>
  40. {{end}}
  41. {{end}}
  42. </div>
  43. <div class="ui blue segment">
  44. {{with .result}}
  45. <table class="ui celled striped table">
  46. <thead>
  47. <tr> <th colspan="2"> 硬件信息 </th> </tr>
  48. </thead>
  49. <tbody>
  50. <tr>
  51. <td class="four wide"> CPU </td>
  52. <td>{{.Resource.CPU}}</td>
  53. </tr>
  54. <tr>
  55. <td> Memory </td>
  56. <td>{{.Resource.Memory}}</td>
  57. </tr>
  58. <tr>
  59. <td> NvidiaComGpu </td>
  60. <td>{{.Resource.NvidiaComGpu}}</td>
  61. </tr>
  62. </tbody>
  63. </table>
  64. <table class="ui celled striped table">
  65. <thead>
  66. <tr> <th colspan="2"> 调试信息 </th> </tr>
  67. </thead>
  68. <tbody>
  69. <tr>
  70. <td class="four wide"> 平台 </td>
  71. <td> {{.Platform}} </td>
  72. </tr>
  73. <tr>
  74. <td> 开始时间 </td>
  75. <td>{{.JobStatus.StartTime}}</td>
  76. </tr>
  77. <tr>
  78. <td> 结束时间 </td>
  79. <td>{{.JobStatus.EndTime}}</td>
  80. </tr>
  81. <tr>
  82. <td> ExitCode </td>
  83. <td>{{.JobStatus.AppExitCode}}</td>
  84. </tr>
  85. <tr>
  86. <td> 退出信息 </td>
  87. <td>{{.JobStatus.AppExitDiagnostics | nl2br}}</td>
  88. </tr>
  89. </tbody>
  90. </table>
  91. {{end}}
  92. </div>
  93. </div>
  94. </div>
  95. </div>
  96. </div>
  97. {{template "base/footer" .}}