Browse Source

fix issue

pull/3418/head
zhoupzh 2 years ago
parent
commit
0d2435f987
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      templates/custom/select_model.tmpl
  2. +1
    -1
      templates/repo/modelarts/trainjob/new.tmpl

+ 2
- 2
templates/custom/select_model.tmpl View File

@@ -1,6 +1,6 @@
<input type="hidden" id="ai_model_version" name="model_version" value="{{$.model_version}}"> <input type="hidden" id="ai_model_version" name="model_version" value="{{$.model_version}}">
<div class="inline min_title fields" style="{{if not .job_name}}width: 96.8%{{else}}width: 94.8%{{end}};">
<label class="{{if not .job_name}}label-fix-width{{end}}" style="font-weight: normal;">{{.i18n.Tr "repo.modelarts.infer_job.select_model"}}</label>&nbsp;
<div class="inline min_title fields" style="width: 94%;">
<label class="{{if not .job_name}}label-fix-width{{end}}" style="font-weight: normal;">{{.i18n.Tr "repo.modelarts.infer_job.select_model"}}</label>
<div class="six wide field"> <div class="six wide field">
<div class="ui fluid search selection dropdown" id="select_model"> <div class="ui fluid search selection dropdown" id="select_model">
<input type="hidden" name="model_name" required value="{{$.model_name}}"> <input type="hidden" name="model_name" required value="{{$.model_name}}">


+ 1
- 1
templates/repo/modelarts/trainjob/new.tmpl View File

@@ -163,7 +163,7 @@
{{template "custom/select_model" .}} {{template "custom/select_model" .}}


<div class="required inline min_title fields" style="width: 95%;">
<div class="required inline min_title fields" style="width: 92.5%;">
<label class="label-fix-width" style="font-weight: normal;">{{.i18n.Tr "repo.modelarts.train_job.AI_driver"}}</label> <label class="label-fix-width" style="font-weight: normal;">{{.i18n.Tr "repo.modelarts.train_job.AI_driver"}}</label>
<div class="field" style="flex: 1.5;"> <div class="field" style="flex: 1.5;">
<select class="ui dropdown width" id="trainjob_engines"> <select class="ui dropdown width" id="trainjob_engines">


Loading…
Cancel
Save