Browse Source

fix issue

tags/v1.22.12.1^2
zhoupzh 3 years ago
parent
commit
f512b351f5
2 changed files with 5 additions and 1 deletions
  1. +4
    -1
      templates/repo/cloudbrain/new.tmpl
  2. +1
    -0
      templates/repo/cloudbrain/trainjob/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}}">


+ 1
- 0
templates/repo/cloudbrain/trainjob/show.tmpl View File

@@ -907,4 +907,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