Browse Source

Merge branch 'gpu-inference' of git.openi.org.cn:OpenI/aiforge into gpu-inference

pull/2458/head
ychao_1983 2 years ago
parent
commit
f85041f83b
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      templates/repo/modelarts/inferencejob/index.tmpl

+ 3
- 3
templates/repo/modelarts/inferencejob/index.tmpl View File

@@ -156,13 +156,13 @@
<!-- 停止任务 -->
{{if eq .Cloudbrain.Type 0 }}
<div class="ui compact buttons">
<form id="stopForm-{{.Cloudbrain.ID}}" style="margin-left:-1px;">
<form id="stopForm-{{.JobID}}" style="margin-left:-1px;">
{{$.CsrfTokenHtml}}
{{if .CanDel}}
<a id="ai-stop-{{.Cloudbrain.ID}}"
<a id="ai-stop-{{.JobID}}"
class='ui basic ai_stop {{if eq .Status "STOPPED" "FAILED" "START_FAILED" "STOPPING" "CREATING" "STARTING" "SUCCEEDED"}}disabled {{else}}blue {{end}}button'
data-repopath="{{$.RepoLink}}/cloudbrain/{{.Cloudbrain.ID}}/stop"
data-jobid="{{.Cloudbrain.ID}}">
data-jobid="{{.JobID}}">
{{$.i18n.Tr "repo.stop"}}
</a>
{{else}}


Loading…
Cancel
Save