From fd8579db9b9b59c52ad7717654620c36fd213d43 Mon Sep 17 00:00:00 2001 From: Gitea Date: Wed, 27 Oct 2021 09:39:17 +0800 Subject: [PATCH] update --- options/locale/locale_en-US.ini | 1 + options/locale/locale_zh-CN.ini | 1 + templates/repo/modelarts/notebook/index.tmpl | 12 ++++++++ templates/repo/modelarts/trainjob/index.tmpl | 31 ++++++++++++++++++-- 4 files changed, 42 insertions(+), 3 deletions(-) diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 94af7c4c5..18ca21925 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -774,6 +774,7 @@ cloudbrain_creator=Creator cloudbrain_task = Task Name cloudbrain_operate = Operate cloudbrain_status_createtime = Status/Createtime +cloudbrain_status_runtime = Running Time modelarts.notebook=Debug Job diff --git a/options/locale/locale_zh-CN.ini b/options/locale/locale_zh-CN.ini index 9b5c0808a..62b502866 100755 --- a/options/locale/locale_zh-CN.ini +++ b/options/locale/locale_zh-CN.ini @@ -776,6 +776,7 @@ cloudbrain_creator=创建者 cloudbrain_task=任务名称 cloudbrain_operate=操作 cloudbrain_status_createtime=状态/创建时间 +cloudbrain_status_runtime = 运行时长 modelarts.notebook=调试作业 modelarts.train_job=训练作业 diff --git a/templates/repo/modelarts/notebook/index.tmpl b/templates/repo/modelarts/notebook/index.tmpl index ae38d375e..465d53874 100755 --- a/templates/repo/modelarts/notebook/index.tmpl +++ b/templates/repo/modelarts/notebook/index.tmpl @@ -321,6 +321,18 @@ +
+ + + 模型下载 + + + + + +
+
{{$.CsrfTokenHtml}} diff --git a/templates/repo/modelarts/trainjob/index.tmpl b/templates/repo/modelarts/trainjob/index.tmpl index d32ee4fee..199332e01 100755 --- a/templates/repo/modelarts/trainjob/index.tmpl +++ b/templates/repo/modelarts/trainjob/index.tmpl @@ -283,10 +283,13 @@
{{$.i18n.Tr "repo.cloudbrain_status_createtime"}}
+
+ {{$.i18n.Tr "repo.cloudbrain_status_runtime"}} +
{{$.i18n.Tr "repo.cloudbrain_creator"}}
-
+
{{$.i18n.Tr "repo.cloudbrain_operate"}}
@@ -320,6 +323,18 @@ {{TimeSinceUnix .Cloudbrain.CreatedUnix $.Lang}}
+
+ + + + {{.Status}} + + + {{TimeSinceUnix .Cloudbrain.CreatedUnix $.Lang}} +
+
{{if .User.Name}} @@ -328,7 +343,7 @@ {{end}}
-
+
- +
+ + + 模型下载 + + + + + +
{{$.CsrfTokenHtml}}