From 57c6d272e4b7a77c911310dead7c1a9676d92d86 Mon Sep 17 00:00:00 2001 From: OpenIhu Date: Fri, 24 Sep 2021 16:08:08 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E4=BF=AE=E5=A4=8D#357=EF=BC=8C=E8=BF=81?= =?UTF-8?q?=E7=A7=BB=E5=A4=96=E9=83=A8=E9=A1=B9=E7=9B=AE=E3=80=81=E5=88=9B?= =?UTF-8?q?=E5=BB=BA=E7=BB=84=E7=BB=87=E4=BF=9D=E6=8C=81=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/org/create.tmpl | 2 +- templates/repo/migrate.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/org/create.tmpl b/templates/org/create.tmpl index 82c8766a9..607050336 100644 --- a/templates/org/create.tmpl +++ b/templates/org/create.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -
+
diff --git a/templates/repo/migrate.tmpl b/templates/repo/migrate.tmpl index f30b59df3..ba17fd83f 100644 --- a/templates/repo/migrate.tmpl +++ b/templates/repo/migrate.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -
+
From eb7501b299fc3fd043de6baa67be63908b01209a Mon Sep 17 00:00:00 2001 From: OpenIhu Date: Fri, 24 Sep 2021 17:35:46 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BA=91=E8=84=911?= =?UTF-8?q?=E4=BB=BB=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}} +
+ + 删除 +
- - - 提交镜像 + - -