From 6911e6364c8386dbbf1bcdaf64f6cf9069bb3217 Mon Sep 17 00:00:00 2001 From: zhoupzh Date: Fri, 2 Dec 2022 15:36:28 +0800 Subject: [PATCH] fix issue --- templates/repo/cloudbrain/new.tmpl | 292 +++++++++--------- templates/repo/cloudbrain/trainjob/new.tmpl | 16 +- templates/repo/grampus/notebook/gpu/new.tmpl | 236 +++++++------- templates/repo/grampus/notebook/npu/new.tmpl | 226 +++++++------- templates/repo/grampus/trainjob/gpu/new.tmpl | 6 - templates/repo/grampus/trainjob/npu/new.tmpl | 13 - templates/repo/modelarts/notebook/new.tmpl | 192 ++++++------ templates/repo/modelarts/trainjob/new.tmpl | 13 - templates/repo/modelsafety/new.tmpl | 23 +- .../js/components/dataset/selectDataset.vue | 27 +- web_src/js/components/images/selectImages.vue | 23 +- web_src/less/openi.less | 17 +- 12 files changed, 524 insertions(+), 560 deletions(-) diff --git a/templates/repo/cloudbrain/new.tmpl b/templates/repo/cloudbrain/new.tmpl index 8e67cc17b..939a4b93f 100755 --- a/templates/repo/cloudbrain/new.tmpl +++ b/templates/repo/cloudbrain/new.tmpl @@ -13,85 +13,96 @@ .inline.required.field.cloudbrain_brainscore { display: none; } - + .width80{ + width: 80.7% !important; + } {{template "custom/global_mask" .}} -
{{template "repo/header" .}} -
-
- - {{if eq .NotStopTaskCount 0}} - {{template "base/alert" .}} - {{end}} - - {{template "custom/alert_cb" .}} +
+ + {{if eq .NotStopTaskCount 0}} + {{template "base/alert" .}} + {{end}} + +

+ {{.i18n.Tr "repo.modelarts.train_job.new"}} +

+ {{template "custom/alert_cb" .}} +
{{.CsrfTokenHtml}} -

- {{.i18n.Tr "repo.cloudbrain.new"}} -

-
- -
- - +

{{.i18n.Tr "repo.modelarts.train_job.basic_info"}}:

+
+ + -
- - {{template "custom/task_wait_count" .}} -
-
- - -
- -
- - +
+
+ + +
+
+ + {{template "custom/task_wait_count" .}} +
+
+ + +
+ {{.i18n.Tr "repo.cloudbrain_jobname_err"}} +
+ + {{if .description}} + + {{else}} + + {{end}} +
+
+
+ + +
+
-
- - -
+
+ + +
+ {{template "custom/select_model" .}} +
-
- -
-
- -
+
+
+
+ - -
- - - - {{.i18n.Tr "custom.resource_description"}} - {{if .CloudBrainPaySwitch}} -
- {{$.i18n.Tr "points.balance_of_points"}}{{.PointAccount.Balance}}{{$.i18n.Tr "points.points"}}{{$.i18n.Tr "points.expected_time"}}{{$.i18n.Tr "points.hours"}} - - - {{$.i18n.Tr "points.points_acquisition_instructions"}} - -
- {{end}} -
- -
- - -
-
- - -
-
- - + +
+ + + + {{.i18n.Tr "custom.resource_description"}} + {{if .CloudBrainPaySwitch}} +
+ {{$.i18n.Tr "points.balance_of_points"}}{{.PointAccount.Balance}}{{$.i18n.Tr "points.points"}}{{$.i18n.Tr "points.expected_time"}}{{$.i18n.Tr "points.hours"}} + + + {{$.i18n.Tr "points.points_acquisition_instructions"}} +
+ {{end}} +
+ +
+ + +
+
+ + +
+
+ + +
{{.i18n.Tr "cloudbrain.start_command"}}
-
- - -
-
- - - {{.i18n.Tr "repo.cloudbrain.cancel"}} -
+ +
+ + + {{.i18n.Tr "repo.cloudbrain.cancel"}}
+
+ +
{{template "base/footer" .}} diff --git a/templates/repo/cloudbrain/trainjob/new.tmpl b/templates/repo/cloudbrain/trainjob/new.tmpl index 8c6a6b3b2..c572f72a6 100755 --- a/templates/repo/cloudbrain/trainjob/new.tmpl +++ b/templates/repo/cloudbrain/trainjob/new.tmpl @@ -1,11 +1,5 @@ {{template "base/head" .}} {{template "custom/global_mask" .}}
@@ -85,7 +71,7 @@

{{.i18n.Tr "repo.modelarts.train_job.basic_info"}}:

-
+