diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 0c01a5107..6ef33ba75 100755 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -3019,4 +3019,5 @@ SNN4IMAGENET = BENCHMARK BRAINSCORE = BENCHMARK TRAIN = TRAIN INFERENCE = INFERENCE -BENCHMARK = BENCHMARK \ No newline at end of file +BENCHMARK = BENCHMARK +brain_area = Brain Area \ No newline at end of file diff --git a/options/locale/locale_zh-CN.ini b/options/locale/locale_zh-CN.ini index f117c34f7..83faf0515 100755 --- a/options/locale/locale_zh-CN.ini +++ b/options/locale/locale_zh-CN.ini @@ -3030,4 +3030,5 @@ BRAINSCORE = 评测任务 TRAIN = 训练任务 INFERENCE = 推理任务 BENCHMARK = 评测任务 +brain_area = 脑区 diff --git a/templates/repo/cloudbrain/benchmark/new.tmpl b/templates/repo/cloudbrain/benchmark/new.tmpl index 8367541d3..8832da932 100755 --- a/templates/repo/cloudbrain/benchmark/new.tmpl +++ b/templates/repo/cloudbrain/benchmark/new.tmpl @@ -106,11 +106,11 @@ placeholder={{.i18n.Tr "repo.modelarts.train_job.job_name"}} value="{{.display_job_name}}" tabindex="3" autofocus required maxlength="254"> -
+
- @@ -125,19 +125,6 @@ {{end}}
- -
@@ -149,8 +136,8 @@
- - - - - {{end}}
@@ -315,15 +297,11 @@ let repolink = {{.RepoLink }} let url_href = window.location.pathname.split('create')[0] $(".ui.button").attr('href', url_href) - $('.menu .item') .tab(); - $('#benchmark_types_id').change(function () { setChildType(); }) - - $(document).ready(() => { $('.ui.search.dropdown.job_type').dropdown({ onChange: function (value, text, $selectedItem) { @@ -368,7 +346,6 @@ } } } - function validate() { $('.ui.form') .form({ diff --git a/web_src/js/components/images/Images.vue b/web_src/js/components/images/Images.vue index 4c0eb7839..31e1f60b0 100644 --- a/web_src/js/components/images/Images.vue +++ b/web_src/js/components/images/Images.vue @@ -77,9 +77,11 @@ align="center" > -
-
-
-
- -
-
-
- - -
-
-
+
+
+
+
-
- 仅显示平台推荐 - - - {{dropdownPrivate}} - - - 全部 - 公开 - 私有 - - -
- -
- - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
+
+ + +
+
-
-
-
+
+ - + .header-wrapper { + background-color: #f5f5f6; + padding-top: 15px; + } + + .image_text { + padding: 25px 0 55px 0; + } + + #header { + position: relative; + top: -40px; + } + + .el-dropdown-menu__item--divided { + border-top: 1px solid blue; + } + + .el-table thead { + background-color: #f5f5f6; + } + + /deep/ .el-tabs__item:hover { + color: #000; + font-weight: 500; + + } + + /deep/ .el-tabs__item.is-active { + color: #000; + font-weight: 500; + } + + /deep/ .el-tabs__active-bar { + background-color: #000 + } + + #success { + background-color: #5bb973; + color: white; + } + + .text-over { + overflow: hidden; + text-overflow: ellipsis; + vertical-align: middle; + white-space: nowrap; + } + + .image_title { + display: inline-block; + + cursor: default; + color: rgb(66, 98, 144); + } + + .image_desc { + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + display: -webkit-box; + text-overflow: ellipsis; + overflow: hidden; + } + + .heart-stroke { + stroke: #FA8C16; + stroke-width: 2; + fill: #fff + } + + .stars_active { + fill: #FA8C16 !important; + stroke: #FA8C16 !important + } + + .header-new-drop { + width: 100%; + } + \ No newline at end of file diff --git a/web_src/js/components/images/selectImages.vue b/web_src/js/components/images/selectImages.vue index 0b76d5ae4..3359b2962 100644 --- a/web_src/js/components/images/selectImages.vue +++ b/web_src/js/components/images/selectImages.vue @@ -1,76 +1,87 @@ + .header-wrapper { + background-color: #f5f5f6; + padding-top: 15px; + } + + .image_text { + padding: 25px 0 55px 0; + } + + #header { + position: relative; + top: -40px; + } + + #success { + background-color: #5bb973; + color: white; + } + + .text-over { + overflow: hidden; + text-overflow: ellipsis; + vertical-align: middle; + white-space: nowrap; + } + + .image_title { + display: inline-block; + width: 80%; + cursor: default; + color: rgb(66, 98, 144); + } + + .image_desc { + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + display: -webkit-box; + text-overflow: ellipsis; + overflow: hidden; + } + + .heart-stroke { + stroke: #666; + stroke-width: 2; + fill: #fff + } + + .stars_active { + fill: #FA8C16 !important; + stroke: #FA8C16 !important + } + \ No newline at end of file