<div class="two wide center column job-status" id="{{.JobID}}" data-repopath="{{$.RepoRelPath}}" data-jobid="{{.JobID}}">
{{.Status}}
{{.Status}}
</div>
</div>
<!-- 任务创建时间 -->
<!-- 任务创建时间 -->
<div class="three wide column">
<div class="two wide center column">
<span class="ui text center">{{svg "octicon-flame" 16}} {{TimeSinceUnix .CreatedUnix $.Lang}}</span>
<span class="ui text center">{{svg "octicon-flame" 16}} {{TimeSinceUnix .CreatedUnix $.Lang}}</span>
</div>
</div>
<!-- 查看 -->
<!-- 查看 -->
<div class="one wide column">
<div class="two wide center column">
<span class="ui text clipboard">
<span class="ui text clipboard">
<a class="title" href="{{$.Link}}/{{.JobID}}">
<a class="title" href="{{$.Link}}/{{.JobID}}">
<span class="fitted">查看</span>
<span class="fitted">查看</span>
@@ -230,7 +137,7 @@
</div>
</div>
<!-- 删除任务 -->
<!-- 删除任务 -->
<div class="one wide column">
<div class="two wide center column">
<div class="ui text center clipboard">
<div class="ui text center clipboard">
<form id="delForm-{{.JobID}}" action="{{if ne .Status "STOPPED"}}javascript:void(0){{else}}{{$.Link}}/{{.JobID}}/del{{end}}" method="post">
<form id="delForm-{{.JobID}}" action="{{if ne .Status "STOPPED"}}javascript:void(0){{else}}{{$.Link}}/{{.JobID}}/del{{end}}" method="post">
{{$.CsrfTokenHtml}}
{{$.CsrfTokenHtml}}
@@ -240,7 +147,7 @@
</div>
</div>
<!-- 调试 -->
<!-- 调试 -->
<div class="one wide column">
<div class="two wide center column">
<div class="ui text center clipboard">
<div class="ui text center clipboard">
<a class="title" onclick="stop(this)" href="{{if not .CanDebug}}javascript:void(0){{else}}{{$.Link}}/{{.JobID}}/debug{{end}}" style="{{if not .CanDebug}}color:#CCCCCC{{end}}">
<a class="title" onclick="stop(this)" href="{{if not .CanDebug}}javascript:void(0){{else}}{{$.Link}}/{{.JobID}}/debug{{end}}" style="{{if not .CanDebug}}color:#CCCCCC{{end}}">
<span class="fitted">调试</span>
<span class="fitted">调试</span>
@@ -249,7 +156,7 @@
</div>
</div>
<!-- 停止 -->
<!-- 停止 -->
<div class="one wide column">
<div class="two wide center column">
<div class="ui text center clipboard">
<div class="ui text center clipboard">
<form id="stopForm-{{.JobID}}" action="{{if ne .Status "RUNNING"}}javascript:void(0){{else}}{{$.Link}}/{{.JobID}}/stop{{end}}" method="post">
<form id="stopForm-{{.JobID}}" action="{{if ne .Status "RUNNING"}}javascript:void(0){{else}}{{$.Link}}/{{.JobID}}/stop{{end}}" method="post">