From 0088afaffe5ca48e2c447dc728d937123ccb6d37 Mon Sep 17 00:00:00 2001 From: OpenIhu Date: Fri, 24 Sep 2021 17:35:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BA=91=E8=84=911=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/repo/cloudbrain/index.tmpl | 90 +++++++++++++--------------- 1 file changed, 41 insertions(+), 49 deletions(-) diff --git a/templates/repo/cloudbrain/index.tmpl b/templates/repo/cloudbrain/index.tmpl index 450adf2a5..897b104b5 100755 --- a/templates/repo/cloudbrain/index.tmpl +++ b/templates/repo/cloudbrain/index.tmpl @@ -256,74 +256,66 @@
-
+ - -
- {{.Status}} -
- -
- {{svg "octicon-flame" 16}} {{TimeSinceUnix .CreatedUnix $.Lang}} -
- - -
- + + + {{.Status}} + + + {{TimeSinceUnix .CreatedUnix $.Lang}}
- -
-
-
- {{$.CsrfTokenHtml}} - 删除 -
-
-
+
+
+ {{if and (ne .Status "WAITING") (ne .JobType "DEBUG")}} + + 评分 + + {{end}} - -
- -
+ + + 调试 + - -
-
+
{{$.CsrfTokenHtml}} - 停止
+ + 停止 +
-
- - -
- - - 模型下载 + + + +
+ {{$.CsrfTokenHtml}} +
+ + 删除 +
- - - 提交镜像 +