diff --git a/templates/repo/cloudbrain/benchmark/new.tmpl b/templates/repo/cloudbrain/benchmark/new.tmpl index 0105950b4..579354ee5 100755 --- a/templates/repo/cloudbrain/benchmark/new.tmpl +++ b/templates/repo/cloudbrain/benchmark/new.tmpl @@ -220,78 +220,6 @@ - {{else if eq .benchmarkMode "aisafety"}} -
- {{.CsrfTokenHtml}} - - -
- - -
- -
-
- - {{template "custom/task_wait_count" .}} -
-
- - - {{.i18n.Tr "repo.cloudbrain_jobname_err"}} -
-
- - -
- - -
-
- -
- - - - {{.i18n.Tr "custom.resource_description"}} -
- - - - -
- - - {{.i18n.Tr "repo.cloudbrain.cancel"}} -
-
-
- {{end}} diff --git a/web_src/js/standalone/cloudbrainNew.js b/web_src/js/standalone/cloudbrainNew.js index c10e7af00..5f3ac7e42 100644 --- a/web_src/js/standalone/cloudbrainNew.js +++ b/web_src/js/standalone/cloudbrainNew.js @@ -398,7 +398,8 @@ html += ``; } } - document.getElementById("benchmark_child_types_id").innerHTML = html; + let el = document.getElementById("benchmark_child_types_id"); + el && (el.innerHTML = html); }) } $(document).ready(function () {