From 3bec5f176303b2c4b988b19cc5c1fcc3a8925f40 Mon Sep 17 00:00:00 2001 From: zhoupzh Date: Sat, 2 Apr 2022 16:16:07 +0800 Subject: [PATCH] fix issue --- templates/repo/cloudbrain/image/edit.tmpl | 112 +++++ web_src/js/components/Images.vue | 483 +++++++++++++--------- 2 files changed, 405 insertions(+), 190 deletions(-) create mode 100644 templates/repo/cloudbrain/image/edit.tmpl diff --git a/templates/repo/cloudbrain/image/edit.tmpl b/templates/repo/cloudbrain/image/edit.tmpl new file mode 100644 index 000000000..345627061 --- /dev/null +++ b/templates/repo/cloudbrain/image/edit.tmpl @@ -0,0 +1,112 @@ + + {{template "base/head" .}} +
+
+
+
+
+
+
+
+
+
+ {{template "repo/header" .}} +
+
+
+

+ {{.i18n.Tr "repo.submit_image"}} +

+ +
+
+ {{.CsrfTokenHtml}} +
+ +
+ + CPU/GPU +
+ +
+
+ + + {{.i18n.Tr "cloudbrain.job_name_rule"}} +
+
+ + +
+
+   + +
+ {{.i18n.Tr "repo.image.label_tooltips"}} +
+ +
+
+ + +
+
+
+
+ + +
+
+
+ {{.i18n.Tr "repo.images.public_tooltips"}} +
+
+
+ + + {{.i18n.Tr "repo.cloudbrain.cancel"}} +
+
+
+
+
+
+ {{template "base/footer" .}} + \ No newline at end of file diff --git a/web_src/js/components/Images.vue b/web_src/js/components/Images.vue index d0e9febbc..d27a12c1f 100644 --- a/web_src/js/components/Images.vue +++ b/web_src/js/components/Images.vue @@ -9,7 +9,8 @@