|
@@ -100,7 +100,7 @@ |
|
|
<form id="stopForm-{{.ID}}" style="margin-left:-1px;" action="{{$.RepoLink}}/modelmanage/convert_stop/{{.ID}}" method="post"> |
|
|
<form id="stopForm-{{.ID}}" style="margin-left:-1px;" action="{{$.RepoLink}}/modelmanage/convert_stop/{{.ID}}" method="post"> |
|
|
{{$.CsrfTokenHtml}} |
|
|
{{$.CsrfTokenHtml}} |
|
|
{{if .IsCanOper}} |
|
|
{{if .IsCanOper}} |
|
|
<a id="ai-stop-{{.ID}}" href="javascript:stopTask({{.ID}});" class='ui basic model_stop {{if eq .Status "STOPPED" "FAILED" "START_FAILED" "STOPPING" "CREATING" "STARTING" "SUCCEEDED"}}disabled {{else}}blue {{end}}button' > |
|
|
|
|
|
|
|
|
<a id="ai-stop-{{.ID}}" href="javascript:stopTask('{{.ID}}');" class='ui basic model_stop {{if eq .Status "STOPPED" "FAILED" "START_FAILED" "STOPPING" "CREATING" "STARTING" "SUCCEEDED"}}disabled {{else}}blue {{end}}button' > |
|
|
{{$.i18n.Tr "repo.stop"}} |
|
|
{{$.i18n.Tr "repo.stop"}} |
|
|
</a> |
|
|
</a> |
|
|
{{else}} |
|
|
{{else}} |
|
|