From 8164efa4b02a2eac8cf842873390559568f2ca14 Mon Sep 17 00:00:00 2001 From: zhoupzh Date: Mon, 8 Aug 2022 10:13:26 +0800 Subject: [PATCH] fix issue --- templates/custom/global_mask.tmpl | 21 ++++ templates/repo/cloudbrain/benchmark/new.tmpl | 13 +-- templates/repo/cloudbrain/inference/new.tmpl | 10 +- templates/repo/cloudbrain/new.tmpl | 85 +---------------- templates/repo/cloudbrain/trainjob/new.tmpl | 13 +-- templates/repo/debugjob/index.tmpl | 95 ------------------- templates/repo/grampus/trainjob/gpu/new.tmpl | 13 +-- templates/repo/grampus/trainjob/npu/new.tmpl | 13 +-- templates/repo/grampus/trainjob/show.tmpl | 10 +- .../repo/modelarts/inferencejob/index.tmpl | 10 -- .../repo/modelarts/inferencejob/new.tmpl | 10 +- templates/repo/modelarts/notebook/new.tmpl | 10 +- templates/repo/modelarts/notebook/show.tmpl | 9 -- templates/repo/modelarts/trainjob/new.tmpl | 10 +- templates/repo/modelarts/trainjob/show.tmpl | 10 +- .../repo/modelarts/trainjob/version_new.tmpl | 13 +-- .../repo/modelmanage/convertshowinfo.tmpl | 10 +- templates/user/dashboard/cloudbrains.tmpl | 10 -- web_src/less/openi.less | 91 +++++++++++++++--- 19 files changed, 114 insertions(+), 342 deletions(-) create mode 100644 templates/custom/global_mask.tmpl diff --git a/templates/custom/global_mask.tmpl b/templates/custom/global_mask.tmpl new file mode 100644 index 000000000..fd2dfcbe6 --- /dev/null +++ b/templates/custom/global_mask.tmpl @@ -0,0 +1,21 @@ +
+
+
+
+
+
+
+
+
+
+ 任务正在准备中,喝杯水回来再看看~ +
+
+
diff --git a/templates/repo/cloudbrain/benchmark/new.tmpl b/templates/repo/cloudbrain/benchmark/new.tmpl index e1b5c890e..f8e83e1ae 100755 --- a/templates/repo/cloudbrain/benchmark/new.tmpl +++ b/templates/repo/cloudbrain/benchmark/new.tmpl @@ -28,18 +28,7 @@ white-space: nowrap !important; } - -
-
-
-
-
-
-
-
-
+{{template "custom/global_mask" .}}
{{template "repo/header" .}}
diff --git a/templates/repo/cloudbrain/inference/new.tmpl b/templates/repo/cloudbrain/inference/new.tmpl index efea83a46..fc2c37bc7 100644 --- a/templates/repo/cloudbrain/inference/new.tmpl +++ b/templates/repo/cloudbrain/inference/new.tmpl @@ -36,15 +36,7 @@ white-space: nowrap !important; } -
-
-
-
-
-
-
-
-
+{{template "custom/global_mask" .}}
{{template "repo/header" .}}
diff --git a/templates/repo/cloudbrain/new.tmpl b/templates/repo/cloudbrain/new.tmpl index 0d07b2add..e2d1b2993 100755 --- a/templates/repo/cloudbrain/new.tmpl +++ b/templates/repo/cloudbrain/new.tmpl @@ -1,56 +1,6 @@ {{template "base/head" .}} -
-
-
-
-
-
-
-
-
-
任务正在准备中,喝杯水回来再看看~
-
- -
+{{template "custom/global_mask" .}}
{{template "repo/header" .}} @@ -269,7 +191,6 @@