#1418 #1415 及 #1416 解决。

Merged
ychao_1983 merged 7 commits from benchmark into V20220125 2 years ago
  1. +1
    -1
      templates/repo/cloudbrain/benchmark/index.tmpl
  2. +1
    -1
      templates/repo/cloudbrain/benchmark/new.tmpl

+ 1
- 1
templates/repo/cloudbrain/benchmark/index.tmpl View File

@@ -39,7 +39,7 @@
</div>
</div>
<div class="column right aligned">
<a class="ui compact orange basic icon button" href="{{$.RepoLink}}/cloudbrain/123/rate?isObjectDetcionAll=true" style="box-shadow: none;"><i class="large ri-trophy-fill middle aligned icon"></i>基准测试排行榜</a>
<a class="ui compact orange basic icon button" href="{{$.RepoLink}}/cloudbrain/123/rate?isObjectDetcionAll=true" style="box-shadow: none;" target="_blank"><i class="large ri-trophy-fill middle aligned icon"></i>基准测试排行榜</a>
{{if .Permission.CanWrite $.UnitTypeCloudBrain}}
<a class="ui green button" href="{{.RepoLink}}/cloudbrain/benchmark/create">{{$.i18n.Tr "repo.modelarts.evaluate_job.new_job"}}</a>
{{else}}


+ 1
- 1
templates/repo/cloudbrain/benchmark/new.tmpl View File

@@ -116,7 +116,7 @@
<div class="required unite min_title inline field">
<label style="font-weight: normal;">{{.i18n.Tr "repo.cloudbrain.benchmark.evaluate_mirror"}}</label>
<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
<input type="text" list="cloudbrain_image" placeholder="选择镜像" name="image" class="required autofocus" style='width: 80%;' maxlength="254">
<input type="text" list="cloudbrain_image" placeholder="选择镜像" name="image" class="required autofocus" style='width:492px;' maxlength="254">
<i class="times circle outline icon icons" style="visibility: hidden;" onclick="clearValue()"></i>
<datalist class="ui search" id="cloudbrain_image" style='width:385px;' name="image">
{{range .images}}


Loading…
Cancel
Save