{{template "base/head" .}} <div class="repository"> {{template "repo/header" .}} <div class="repository new repo ui middle very relaxed page grid"> <div class="column"> {{template "base/alert" .}} <h4 class="ui header" id="vertical-segment"> <a href="javascript:window.history.back();"><i class="arrow left icon"></i>返回</a> </h4> <div> <div class="ui yellow segment"> {{with .task}} <p>任务名称: {{.JobName}}</p> {{end}} </div> <div class="ui green segment"> <p>任务结果:</p> {{with .taskRes}} {{range .TaskStatuses}} <table class="ui celled striped table"> <tbody> <tr> <td class="four wide"> 状态 </td> <td> {{.State}} </td> </tr> <tr> <td> 开始时间 </td> <td>{{.StartAt}}</td> </tr> <tr> <td> 结束时间 </td> <td>{{.FinishedAt}}</td> </tr> <tr> <td> ExitCode </td> <td>{{.ExitCode}}</td> </tr> <tr> <td> 退出信息 </td> <td>{{.ExitDiagnostics| nl2br}}</td> </tr> </tbody> </table> {{end}} {{end}} </div> <div class="ui blue segment"> {{with .result}} <table class="ui celled striped table"> <thead> <tr> <th colspan="2"> 硬件信息 </th> </tr> </thead> <tbody> <tr> <td class="four wide"> CPU </td> <td>{{.Resource.CPU}}</td> </tr> <tr> <td> Memory </td> <td>{{.Resource.Memory}}</td> </tr> <tr> <td> NvidiaComGpu </td> <td>{{.Resource.NvidiaComGpu}}</td> </tr> </tbody> </table> <table class="ui celled striped table"> <thead> <tr> <th colspan="2"> 调试信息 </th> </tr> </thead> <tbody> <tr> <td class="four wide"> 状态 </td> <td> {{.Platform}} </td> </tr> <tr> <td> 开始时间 </td> <td>{{.JobStatus.CreatedTime}}</td> </tr> <tr> <td> 结束时间 </td> <td>{{.JobStatus.CompletedTime}}</td> </tr> <tr> <td> ExitCode </td> <td>{{.JobStatus.AppExitCode}}</td> </tr> <tr> <td> 退出信息 </td> <td>{{.JobStatus.AppExitDiagnostics | nl2br}}</td> </tr> </tbody> </table> {{end}} </div> </div> </div> </div> </div> {{template "base/footer" .}}