Browse Source

fix issue

tags/v1.22.12.1^2
zhoupzh 3 years ago
parent
commit
b4d8363e04
3 changed files with 14 additions and 15 deletions
  1. +0
    -1
      templates/repo/debugjob/index.tmpl
  2. +3
    -3
      templates/repo/grampus/notebook/gpu/new.tmpl
  3. +11
    -11
      templates/repo/grampus/notebook/show.tmpl

+ 0
- 1
templates/repo/debugjob/index.tmpl View File

@@ -219,7 +219,6 @@
</div> </div>
<div class="two wide column text center"> <div class="two wide column text center">
<!--任务状态 --> <!--任务状态 -->
{{.Cloudbrain.Type}}
<span class="job-status" id="{{.Cloudbrain.ID}}" <span class="job-status" id="{{.Cloudbrain.ID}}"
data-repopath="{{$.RepoRelPath}}{{if eq .Cloudbrain.Type 2}}/grampus/notebook{{else}}{{if eq .ComputeResource "CPU/GPU"}}/cloudbrain{{else}}/modelarts/notebook{{end}}{{end}}" data-repopath="{{$.RepoRelPath}}{{if eq .Cloudbrain.Type 2}}/grampus/notebook{{else}}{{if eq .ComputeResource "CPU/GPU"}}/cloudbrain{{else}}/modelarts/notebook{{end}}{{end}}"
data-jobid="{{.Cloudbrain.ID}}" data-resource="{{.ComputeResource}}"> data-jobid="{{.Cloudbrain.ID}}" data-resource="{{.ComputeResource}}">


+ 3
- 3
templates/repo/grampus/notebook/gpu/new.tmpl View File

@@ -113,17 +113,17 @@
</div> </div>
<div class="inline required field"> <div class="inline required field">
<label>{{.i18n.Tr "cloudbrain.dataset_storage_path"}}</label> <label>{{.i18n.Tr "cloudbrain.dataset_storage_path"}}</label>
<input name="dataset_path" id="cloudbrain_dataset_path" value="{{.dataset_path}}" tabindex="3"
<input name="dataset_path" id="cloudbrain_dataset_path" value="/dataset" tabindex="3"
disabled autofocus required maxlength="255" readonly="readonly"> disabled autofocus required maxlength="255" readonly="readonly">
</div> </div>
<div class="inline required field"> <div class="inline required field">
<label>{{.i18n.Tr "cloudbrain.model_storage_path"}}</label> <label>{{.i18n.Tr "cloudbrain.model_storage_path"}}</label>
<input name="model_path" id="cloudbrain_model_path" value="{{.model_path}}" tabindex="3"
<input name="model_path" id="cloudbrain_model_path" value="/model" tabindex="3"
disabled autofocus required maxlength="255" readonly="readonly"> disabled autofocus required maxlength="255" readonly="readonly">
</div> </div>
<div class="inline required field"> <div class="inline required field">
<label>{{.i18n.Tr "cloudbrain.code_storage_path"}}</label> <label>{{.i18n.Tr "cloudbrain.code_storage_path"}}</label>
<input name="code_path" id="cloudbrain_code_path" value="{{.code_path}}" tabindex="3" disabled
<input name="code_path" id="cloudbrain_code_path" value="/code" tabindex="3" disabled
autofocus required maxlength="255" readonly="readonly"> autofocus required maxlength="255" readonly="readonly">
</div> </div>
<div class="inline field"> <div class="inline field">


+ 11
- 11
templates/repo/grampus/notebook/show.tmpl View File

@@ -176,6 +176,17 @@
<div class="text-span text-span-w"></div> <div class="text-span text-span-w"></div>
</td> </td>
</tr> </tr>
<tr class="ti-no-ng-animate">
<td class="ti-no-ng-animate ti-text-form-label text-width80">
{{$.i18n.Tr "repo.grampus.train_job.ai_center"}}
</td>

<td class="ti-text-form-content">
<div class="text-span text-span-w" id="{{.VersionName}}-ai_center">
{{if .AiCenter}}{{.AiCenter}}{{else}}--{{end}}
</div>
</td>
</tr>
<tr class="ti-no-ng-animate"> <tr class="ti-no-ng-animate">
<td class="ti-no-ng-animate ti-text-form-label text-width80"> <td class="ti-no-ng-animate ti-text-form-label text-width80">
{{$.i18n.Tr "repo.cloudbrain.time.starttime"}} {{$.i18n.Tr "repo.cloudbrain.time.starttime"}}
@@ -210,17 +221,6 @@
{{end}} {{end}}
</div> </div>
</td> </td>
</tr>
<tr class="ti-no-ng-animate">
<td class="ti-no-ng-animate ti-text-form-label text-width80">
{{$.i18n.Tr "repo.grampus.train_job.ai_center"}}
</td>

<td class="ti-text-form-content">
<div class="text-span text-span-w" id="{{.VersionName}}-ai_center">
{{if .AiCenter}}{{.AiCenter}}{{else}}--{{end}}
</div>
</td>
</tr> </tr>
<tr class="ti-no-ng-animate"> <tr class="ti-no-ng-animate">
<td class="ti-no-ng-animate ti-text-form-label text-width80"> <td class="ti-no-ng-animate ti-text-form-label text-width80">


Loading…
Cancel
Save