Browse Source

Merge branch 'benchmark-cate' of https://git.pcl.ac.cn/yoyoyard/opendata into benchmark-cate

tags/v1.21.12.1
yuyuanshifu 4 years ago
parent
commit
6d7a9e37be
1 changed files with 7 additions and 2 deletions
  1. +7
    -2
      templates/repo/cloudbrain/new.tmpl

+ 7
- 2
templates/repo/cloudbrain/new.tmpl View File

@@ -126,8 +126,8 @@
</div>

<div class="inline required field cloudbrain_benchmark">
<label>数据集类别</label>
<select class="ui search dropdown" id="cloudbrain_benchmark_category" placeholder="选择数据集类别" style='width:385px' name="benchmark_category">
<label style="vertical-align: top; margin-top:9px">数据集类别</label>
<select class="ui search dropdown" multiple="" id="cloudbrain_benchmark_category" style='width:385px' name="benchmark_category">
{{range .benchmark_categories}}
<option name="benchmark_category" value="{{.Value}}">{{.Value}}</option>
{{end}}
@@ -206,6 +206,11 @@
}
}

$('#cloudbrain_benchmark_category')
.dropdown({
placeholder: "选择数据集类别"
})

$('select.dropdown')
.dropdown();



Loading…
Cancel
Save