|
|
|
@@ -65,14 +65,14 @@ |
|
|
|
<span class="ui text center clipboard"> |
|
|
|
<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> |
|
|
|
<a class="fitted" onclick="document.getElementById(stopForm).submit();" style="{{if not .CanDebug}}color:#CCCCCC{{end}}; font-size:16px; font-weight:bold">镜像提交</a> |
|
|
|
</span> |
|
|
|
</div> |
|
|
|
<div class="one wide column"> |
|
|
|
<span class="ui text center clipboard"> |
|
|
|
<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> |
|
|
|
<a class="fitted" onclick="document.getElementById(stopForm).submit();" style="{{if ne .Status "RUNNING"}}color:#CCCCCC{{end}}; font-size:16px; font-weight:bold">停止</a> |
|
|
|
</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|