Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.7.1
zouap 3 years ago
parent
commit
3ea803308b
1 changed files with 23 additions and 19 deletions
  1. +23
    -19
      templates/repo/modelmanage/index.tmpl

+ 23
- 19
templates/repo/modelmanage/index.tmpl View File

@@ -1,6 +1,10 @@
<!-- 头部导航栏 -->
{{template "base/head" .}}
<style>
.inline.fields .right.aligned label{
width: 100% !important;
text-align: right;
}
.inline .ui.dropdown .text {
color: rgba(0, 0, 0, .87) !important
}
@@ -129,9 +133,11 @@
<!-- <p>asdasdasd</p> -->
</div>
<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">
<input type="hidden" id="JobId" name="JobId" required>
<div class="default text">选择训练任务</div>
@@ -139,10 +145,8 @@
<div class="menu" id="job-name">
</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>
<div class="default text">选择版本</div>
<i class="dropdown icon"></i>
@@ -153,16 +157,16 @@
</div>
</div>
<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 class="eight wide field">
<input id="name" name="Name" required maxlength="25" onkeyup="this.value=this.value.replace(/[, ]/g,'')">
</div>
</div>
<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 class="eight wide field">
<input id="version" name="Version" value="" readonly required maxlength="255">
@@ -170,8 +174,8 @@
</div>

<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 class="ui ten wide field dropdown selection search" id="choice_Engine">
<input type="hidden" id="Engine" name="Engine" required>
@@ -185,8 +189,8 @@
</div>

<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 class="thirteen wide field" style="position:relative">
<input id="modelSelectedFile" type="text" readonly required onclick="showMenu();" name="modelSelectedFile" >
@@ -197,16 +201,16 @@
</div>

<div class="inline fields">
<div class="two wide field">
<label>模型标签</label>
<div class="two wide field right aligned">
<label for="Label">模型标签 &nbsp</label>
</div>
<div class="thirteen wide field">
<input id="label" name="Label" maxlength="255" placeholder='{{.i18n.Tr "repo.modelarts.train_job.label_place"}}'>
</div>
</div>
<div class="inline fields">
<div class="two wide field">
<label for="description">模型描述</label>
<div class="two wide field right aligned">
<label for="description">模型描述 &nbsp</label>
</div>
<div class="thirteen wide field">
<textarea id="Description" name="Description" rows="3"


Loading…
Cancel
Save