Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.1.3
zouap 4 years ago
parent
commit
0b41f1ba5c
1 changed files with 13 additions and 13 deletions
  1. +13
    -13
      templates/repo/cloudbrain/benchmark/new.tmpl

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

@@ -94,8 +94,8 @@
<label style="font-weight: normal;">{{.i18n.Tr "repo.cloudbrain.benchmark.evaluate_type"}}&nbsp;&nbsp;&nbsp;</label>
<div class="field" style="flex: 1.5;">
<select class="ui dropdown width" id="trainjob_engines" >
{{range .engines}}
<option value="{{.Value}}">{{.Value}}</option>
{{range .benchmark_types}}
<option value="{{.Id}}">{{.First}}</option>
{{end}}
</select>
</div>
@@ -112,17 +112,17 @@
</div>

<div class="required unite min_title inline field">
<label style="font-weight: normal;">{{.i18n.Tr "repo.cloudbrain.benchmark.evaluate_mirror"}}&nbsp;&nbsp;&nbsp;&nbsp;</label>
<select class="ui dropdown width80" id="trainjob_datasets" name="attachment" placeholder="选择镜像">
{{if $.uuid}}
<option name="attachment" value="{{$.uuid}}">{{$.datasetName}}</option>
{{end}}
{{range .attachments}}
<option value="">选择镜像</option>
<option name="attachment" value="{{.UUID}}">{{.Attachment.Name}}</option>
{{end}}
</select>
<label>镜像</label>
<input type="text" list="cloudbrain_image" placeholder="选择镜像" name="image" required autofocus 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}}
<option name="image" value="{{.Place}}">{{.PlaceView}}</option>
{{end}}
{{range .public_images}}
<option name="image" value="{{.Place}}">{{.PlaceView}}</option>
{{end}}
</datalist>
</div>

<div class="inline unite min_title field required">


Loading…
Cancel
Save