diff --git a/options/locale/locale_zh-CN.ini b/options/locale/locale_zh-CN.ini index b4127d4d9..952923d2b 100755 --- a/options/locale/locale_zh-CN.ini +++ b/options/locale/locale_zh-CN.ini @@ -762,6 +762,7 @@ cloudbrain_selection=云脑选择 cloudbrain_platform_selection=选择您准备使用的云脑平台: confirm_choice=确定 +modelarts.nodebook=云脑作业 modelarts.train_job=训练作业 modelarts.train_job.new=新建作业 modelarts.train_job.job_name=作业名称 diff --git a/templates/repo/modelarts/notebook/index.tmpl b/templates/repo/modelarts/notebook/index.tmpl index 948b403a9..e030940a5 100755 --- a/templates/repo/modelarts/notebook/index.tmpl +++ b/templates/repo/modelarts/notebook/index.tmpl @@ -213,17 +213,11 @@
@@ -508,4 +502,9 @@ } }) } + + // 超链接 + $("a").click(function(){ + $(this).toggleClass("active") + }) diff --git a/templates/repo/modelarts/trainjob/index.tmpl b/templates/repo/modelarts/trainjob/index.tmpl new file mode 100755 index 000000000..5a067798c --- /dev/null +++ b/templates/repo/modelarts/trainjob/index.tmpl @@ -0,0 +1,123 @@ +{{template "base/head" .}} +
+ {{template "repo/header" .}} + +
+
+
+ + + +
+
+
+

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

+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+ + +
+ {{range .Tasks}} +
+
+ + + + +
+ {{.Status}} +
+ + + +
+ {{svg "octicon-flame" 16}} {{TimeSinceUnix .CreatedUnix $.Lang}} +
+ + +
+ + + 查看 + + +
+ + +
+
+
+ {{$.CsrfTokenHtml}} + 删除 +
+
+
+ + +
+
+
+ {{$.CsrfTokenHtml}} + 停止 +
+
+
+ +
+
+ {{end}} {{template "base/paginate" .}} +
+
+
+
+
+
+
+{{template "base/footer" .}} \ No newline at end of file