|
|
|
@@ -63,16 +63,16 @@ |
|
|
|
</div> |
|
|
|
<div class="two wide column"> |
|
|
|
<span class="ui text center clipboard"> |
|
|
|
<a class="title" href="{{if not .CanDebug}}javascript:void(0){{else}}{{$.Link}}/{{.JobID}}/commit_image{{end}}" style="{{if not .CanDebug}}color:#CCCCCC{{end}}"> |
|
|
|
<span class="fitted">镜像提交</span> |
|
|
|
</a> |
|
|
|
<form id="stopForm" action="{{if not .CanDebug}}javascript:void(0){{else}}{{$.Link}}/{{.JobID}}/commit_image{{end}}" method="post"> |
|
|
|
</form> |
|
|
|
<a class="fitted" onclick="document.getElementById(stopForm).submit();" style="{{if not .CanDebug}}color:#CCCCCC{{end}}; font-size:16px">镜像提交</a> |
|
|
|
</span> |
|
|
|
</div> |
|
|
|
<div class="one wide column"> |
|
|
|
<span class="ui text center clipboard"> |
|
|
|
<a class="title" href="{{if ne .Status "RUNNING"}}javascript:void(0){{else}}{{$.Link}}/{{.JobID}}/stop/{{end}}" style="{{if ne .Status "RUNNING"}}color:#CCCCCC{{end}}"> |
|
|
|
<span class="fitted">停止</span> |
|
|
|
</a> |
|
|
|
<form id="stopForm" action="{{if ne .Status "RUNNING"}}javascript:void(0){{else}}{{$.Link}}/{{.JobID}}/stop{{end}}" method="post"> |
|
|
|
</form> |
|
|
|
<a class="fitted" onclick="document.getElementById(stopForm).submit();" style="{{if ne .Status "RUNNING"}}color:#CCCCCC{{end}}; font-size:16px">停止</a> |
|
|
|
</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|