Browse Source

Merge branch 'grampus-notebook' of https://openi.pcl.ac.cn/OpenI/aiforge into grampus-notebook

tags/v1.22.12.1^2
ychao_1983 3 years ago
parent
commit
4f8505fdde
2 changed files with 15 additions and 7 deletions
  1. +4
    -1
      templates/repo/cloudbrain/new.tmpl
  2. +11
    -6
      templates/repo/cloudbrain/show.tmpl

+ 4
- 1
templates/repo/cloudbrain/new.tmpl View File

@@ -212,7 +212,10 @@
<label>{{.i18n.Tr "cloudbrain.start_command"}}</label>
<textarea name="command" rows="10" readonly="readonly">{{.command}}</textarea>
</div>

<div class="inline field">
<label>{{.i18n.Tr "cloudbrain.description"}}</label>
<input name="description" id="cloudbrain_description" tabindex="3" autofocus maxlength="255">
</div>
<div class="inline field">
<label></label>
<button class="ui green button {{if eq .NotStopTaskCount 1}}disabled{{end}}">


+ 11
- 6
templates/repo/cloudbrain/show.tmpl View File

@@ -361,11 +361,17 @@
</div>
</td>
</tr>
<tr class="ti-no-ng-animate">
<td class="ti-no-ng-animate ti-text-form-label text-width80">
{{$.i18n.Tr "cloudbrain.description"}}
</td>




<td class="ti-text-form-content">
<div class="text-span-new" id="model_description">
{{.Description}}
</div>
</td>
</tr>
</tbody>
</table>
</div>
@@ -391,8 +397,6 @@
</div>
</td>
</tr>

<tr class="ti-no-ng-animate">
<td class="ti-no-ng-animate ti-text-form-label text-width80">
{{$.i18n.Tr "repo.modelarts.train_job.standard"}}
@@ -610,4 +614,5 @@
$('td.ti-text-form-content.spec div').text(specStr);
SPEC && $('td.ti-text-form-content.resorce_type div').text(getListValueWithKey(ACC_CARD_TYPE, SPEC.AccCardType));
})();
console.log({{.version_list_task}});
</script>

Loading…
Cancel
Save