Browse Source

fix issue

tags/v1.22.12.1^2
zhoupzh 3 years ago
parent
commit
88ab7b086a
4 changed files with 3 additions and 9 deletions
  1. +0
    -1
      templates/repo/debugjob/index.tmpl
  2. +3
    -4
      templates/repo/grampus/notebook/gpu/new.tmpl
  3. +0
    -1
      templates/repo/grampus/notebook/npu/new.tmpl
  4. +0
    -3
      templates/repo/grampus/notebook/show.tmpl

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

@@ -433,7 +433,6 @@
</div>
{{template "base/footer" .}}
<script>
console.log({{.Tasks}})
// 调试和评分新开窗口
const { AppSubUrl, StaticUrlPrefix, csrf } = window.config;
let url = {{.RepoLink }}


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

@@ -113,17 +113,17 @@
</div>
<div class="inline required field">
<label>{{.i18n.Tr "cloudbrain.dataset_storage_path"}}</label>
<input name="dataset_path" id="cloudbrain_dataset_path" value="/dataset" tabindex="3"
<input name="dataset_path" id="cloudbrain_dataset_path" value="{{.dataset_path}}" tabindex="3"
disabled autofocus required maxlength="255" readonly="readonly">
</div>
<div class="inline required field">
<label>{{.i18n.Tr "cloudbrain.model_storage_path"}}</label>
<input name="model_path" id="cloudbrain_model_path" value="/model" tabindex="3"
<input name="model_path" id="cloudbrain_model_path" value="{{.model_path}}" tabindex="3"
disabled autofocus required maxlength="255" readonly="readonly">
</div>
<div class="inline required field">
<label>{{.i18n.Tr "cloudbrain.code_storage_path"}}</label>
<input name="code_path" id="cloudbrain_code_path" value="/code" tabindex="3" disabled
<input name="code_path" id="cloudbrain_code_path" value="{{.code_path}}" tabindex="3" disabled
autofocus required maxlength="255" readonly="readonly">
</div>
<div class="inline field">
@@ -211,5 +211,4 @@
shared_memory: {{$.i18n.Tr "cloudbrain.shared_memory"}},
});
})();
console.log({{.Specs}})
</script>

+ 0
- 1
templates/repo/grampus/notebook/npu/new.tmpl View File

@@ -209,5 +209,4 @@
shared_memory: {{$.i18n.Tr "cloudbrain.shared_memory"}},
});
})();
console.log({{ .Spec }});
</script>

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

@@ -348,7 +348,4 @@
});
$('td.ti-text-form-content.spec div').text(specStr);
})();
console.log("---------=-sdfsdfsd=")
console.log({{.task}})
</script>

Loading…
Cancel
Save