| @@ -1,6 +1,10 @@ | |||||
| <!-- 头部导航栏 --> | <!-- 头部导航栏 --> | ||||
| {{template "base/head" .}} | {{template "base/head" .}} | ||||
| <style> | <style> | ||||
| .inline.fields .right.aligned label{ | |||||
| width: 100% !important; | |||||
| text-align: right; | |||||
| } | |||||
| .inline .ui.dropdown .text { | .inline .ui.dropdown .text { | ||||
| color: rgba(0, 0, 0, .87) !important | color: rgba(0, 0, 0, .87) !important | ||||
| } | } | ||||
| @@ -129,9 +133,11 @@ | |||||
| <!-- <p>asdasdasd</p> --> | <!-- <p>asdasdasd</p> --> | ||||
| </div> | </div> | ||||
| <input type="hidden" name="_csrf" value=""> | <input type="hidden" name="_csrf" value=""> | ||||
| <div class="two inline fields"> | |||||
| <div class="required ten wide field"> | |||||
| <label>选择训练任务</label> | |||||
| <div class="inline fields"> | |||||
| <div class="required two wide field right aligned"> | |||||
| <label for="JobId">选择训练任务</label> | |||||
| </div> | |||||
| <div class="required thirteen wide inline field"> | |||||
| <div class="ui dropdown selection search loading" id="choice_model"> | <div class="ui dropdown selection search loading" id="choice_model"> | ||||
| <input type="hidden" id="JobId" name="JobId" required> | <input type="hidden" id="JobId" name="JobId" required> | ||||
| <div class="default text">选择训练任务</div> | <div class="default text">选择训练任务</div> | ||||
| @@ -139,10 +145,8 @@ | |||||
| <div class="menu" id="job-name"> | <div class="menu" id="job-name"> | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| </div> | |||||
| <div class="required six widde field"> | |||||
| <label>版本</label> | |||||
| <div class="ui dropdown selection search width70" id="choice_version"> | |||||
| <label for="VersionName">版本</label> | |||||
| <div class="ui dropdown selection search" id="choice_version"> | |||||
| <input type="hidden" id="VersionName" name="VersionName" required> | <input type="hidden" id="VersionName" name="VersionName" required> | ||||
| <div class="default text">选择版本</div> | <div class="default text">选择版本</div> | ||||
| <i class="dropdown icon"></i> | <i class="dropdown icon"></i> | ||||
| @@ -153,16 +157,16 @@ | |||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| <div class="required inline fields" id="modelname"> | <div class="required inline fields" id="modelname"> | ||||
| <div class="two wide field"> | |||||
| <label>模型名称</label> | |||||
| <div class="two wide field right aligned"> | |||||
| <label for="Name">模型名称</label> | |||||
| </div> | </div> | ||||
| <div class="eight wide field"> | <div class="eight wide field"> | ||||
| <input id="name" name="Name" required maxlength="25" onkeyup="this.value=this.value.replace(/[, ]/g,'')"> | <input id="name" name="Name" required maxlength="25" onkeyup="this.value=this.value.replace(/[, ]/g,'')"> | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| <div class="required inline fields" id="verionname"> | <div class="required inline fields" id="verionname"> | ||||
| <div class="two wide field"> | |||||
| <label>模型版本</label> | |||||
| <div class="two wide field right aligned"> | |||||
| <label for="Version">模型版本</label> | |||||
| </div> | </div> | ||||
| <div class="eight wide field"> | <div class="eight wide field"> | ||||
| <input id="version" name="Version" value="" readonly required maxlength="255"> | <input id="version" name="Version" value="" readonly required maxlength="255"> | ||||
| @@ -170,8 +174,8 @@ | |||||
| </div> | </div> | ||||
| <div class="unite min_title inline fields required"> | <div class="unite min_title inline fields required"> | ||||
| <div class="two wide field"> | |||||
| <label>模型框架</label> | |||||
| <div class="two wide field right aligned"> | |||||
| <label for="Engine">模型框架</label> | |||||
| </div> | </div> | ||||
| <div class="ui ten wide field dropdown selection search" id="choice_Engine"> | <div class="ui ten wide field dropdown selection search" id="choice_Engine"> | ||||
| <input type="hidden" id="Engine" name="Engine" required> | <input type="hidden" id="Engine" name="Engine" required> | ||||
| @@ -185,8 +189,8 @@ | |||||
| </div> | </div> | ||||
| <div class="unite min_title inline fields required"> | <div class="unite min_title inline fields required"> | ||||
| <div class="two wide field"> | |||||
| <label>模型文件</label> | |||||
| <div class="two wide field right aligned"> | |||||
| <label for="modelSelectedFile">模型文件</label> | |||||
| </div> | </div> | ||||
| <div class="thirteen wide field" style="position:relative"> | <div class="thirteen wide field" style="position:relative"> | ||||
| <input id="modelSelectedFile" type="text" readonly required onclick="showMenu();" name="modelSelectedFile" > | <input id="modelSelectedFile" type="text" readonly required onclick="showMenu();" name="modelSelectedFile" > | ||||
| @@ -197,16 +201,16 @@ | |||||
| </div> | </div> | ||||
| <div class="inline fields"> | <div class="inline fields"> | ||||
| <div class="two wide field"> | |||||
| <label>模型标签</label> | |||||
| <div class="two wide field right aligned"> | |||||
| <label for="Label">模型标签  </label> | |||||
| </div> | </div> | ||||
| <div class="thirteen wide field"> | <div class="thirteen wide field"> | ||||
| <input id="label" name="Label" maxlength="255" placeholder='{{.i18n.Tr "repo.modelarts.train_job.label_place"}}'> | <input id="label" name="Label" maxlength="255" placeholder='{{.i18n.Tr "repo.modelarts.train_job.label_place"}}'> | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| <div class="inline fields"> | <div class="inline fields"> | ||||
| <div class="two wide field"> | |||||
| <label for="description">模型描述</label> | |||||
| <div class="two wide field right aligned"> | |||||
| <label for="description">模型描述  </label> | |||||
| </div> | </div> | ||||
| <div class="thirteen wide field"> | <div class="thirteen wide field"> | ||||
| <textarea id="Description" name="Description" rows="3" | <textarea id="Description" name="Description" rows="3" | ||||