From de910e42d633b07310b3c9cc2aac35c7e5f25686 Mon Sep 17 00:00:00 2001 From: colorfulberry Date: Thu, 28 May 2020 16:17:43 +0800 Subject: [PATCH] feat: add form for the ui --- custom/templates/repo/datasets/dataset_list.tmpl | 81 ------------------------ custom/templates/repo/datasets/index.tmpl | 31 --------- templates/repo/datasets/dataset.tmpl | 9 +++ templates/repo/datasets/dataset_list.tmpl | 81 ++++++++++++++++++++++++ templates/repo/datasets/index.tmpl | 37 +++++++++++ 5 files changed, 127 insertions(+), 112 deletions(-) delete mode 100644 custom/templates/repo/datasets/dataset_list.tmpl delete mode 100644 custom/templates/repo/datasets/index.tmpl create mode 100644 templates/repo/datasets/dataset.tmpl diff --git a/custom/templates/repo/datasets/dataset_list.tmpl b/custom/templates/repo/datasets/dataset_list.tmpl deleted file mode 100644 index 0dc7b8791..000000000 --- a/custom/templates/repo/datasets/dataset_list.tmpl +++ /dev/null @@ -1,81 +0,0 @@ -
-
-
-
- 深度学习数据集视频1.1.0 -
-
-
- 12GB -
- -
- berry5 天前创建 -
- -
-
- -
- -
-
-
- 删除 -
-
-
-
-
-
-
- 深度学习数据集视频1.1.0 -
-
-
- 12GB -
- -
- berry5 天前创建 -
- -
-
- -
- -
-
-
- 删除 -
-
-
-
-
-
-
- 深度学习数据集视频1.1.0 -
-
-
- 12GB -
- -
- berry5 天前创建 -
- -
-
- -
- -
-
-
- 删除 -
-
-
diff --git a/custom/templates/repo/datasets/index.tmpl b/custom/templates/repo/datasets/index.tmpl deleted file mode 100644 index e6404f548..000000000 --- a/custom/templates/repo/datasets/index.tmpl +++ /dev/null @@ -1,31 +0,0 @@ -{{template "base/head" .}} -
- {{template "repo/header" .}} -
- {{template "base/alert" .}} - -
-
- {{template "repo/datasets/dataset_list"}} -
- {{template "base/paginate" .}} -
-
-{{template "base/footer" .}} diff --git a/templates/repo/datasets/dataset.tmpl b/templates/repo/datasets/dataset.tmpl new file mode 100644 index 000000000..89aa9b427 --- /dev/null +++ b/templates/repo/datasets/dataset.tmpl @@ -0,0 +1,9 @@ +
+
+ +
+
+
+
+
+
\ No newline at end of file diff --git a/templates/repo/datasets/dataset_list.tmpl b/templates/repo/datasets/dataset_list.tmpl index e69de29bb..2d671e1be 100644 --- a/templates/repo/datasets/dataset_list.tmpl +++ b/templates/repo/datasets/dataset_list.tmpl @@ -0,0 +1,81 @@ +
+
+
+
+ {{svg "octicon-file-directory" 16}}深度学习数据集视频1.1.0 +
+
+
+ 12GB +
+ +
+ berry5 天前创建 +
+ +
+
+ +
+ +
+
+
+ 删除 +
+
+
+
+
+
+
+ {{svg "octicon-file-directory" 16}}深度学习数据集视频1.1.0 +
+
+
+ 12GB +
+ +
+ berry5 天前创建 +
+ +
+
+ +
+ +
+
+
+ 删除 +
+
+
+
+
+
+
+ {{svg "octicon-file-directory" 16}}深度学习数据集视频1.1.0 +
+
+
+ 12GB +
+ +
+ berry5 天前创建 +
+ +
+
+ +
+ +
+
+
+ 删除 +
+
+
\ No newline at end of file diff --git a/templates/repo/datasets/index.tmpl b/templates/repo/datasets/index.tmpl index e69de29bb..c88e7e50c 100644 --- a/templates/repo/datasets/index.tmpl +++ b/templates/repo/datasets/index.tmpl @@ -0,0 +1,37 @@ +{{template "base/head" .}} +
+ {{template "repo/header" .}} +
+ {{template "base/alert" .}} + +
+
+ {{template "repo/datasets/dataset_list" .}} +
+
+
+
+ {{template "repo/datasets/dataset" .}} +
+
+
+
+
+{{template "base/footer" .}}