|
|
|
@@ -26,7 +26,9 @@ |
|
|
|
width: 35.5% !important; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.width48{ |
|
|
|
width: 48.5% !important; |
|
|
|
} |
|
|
|
.nowrapx { |
|
|
|
white-space: nowrap !important; |
|
|
|
} |
|
|
|
@@ -150,7 +152,7 @@ |
|
|
|
<!-- 代码分支 --> |
|
|
|
<div class="required unite min_title inline field"> |
|
|
|
<label style="font-weight: normal;">{{.i18n.Tr "repo.modelarts.code_version"}}</label> |
|
|
|
<select class="ui dropdown width35" id="code_version" name="branch_name"> |
|
|
|
<select class="ui dropdown width48" id="code_version" name="branch_name"> |
|
|
|
{{if .branch_name}} |
|
|
|
<option name="branch_name" value="{{.branch_name}}">{{.branch_name}}</option> |
|
|
|
{{range $k, $v :=.Branches}} |
|
|
|
@@ -172,11 +174,11 @@ |
|
|
|
{{template "custom/select_dataset_train" .}} |
|
|
|
<span class="tooltips" style="margin-left: 11.5rem;margin-bottom: 2rem;">{{.i18n.Tr "cloudbrain.dataset_path_rule"}}</span> |
|
|
|
<div class="inline unite min_title field required"> |
|
|
|
<label style="font-weight: normal;">{{.i18n.Tr "repo.modelarts.train_job.start_file"}}</label> |
|
|
|
<label style="font-weight: normal;">{{.i18n.Tr "repo.modelarts.train_job.start_file"}}</label> |
|
|
|
{{if .bootFile}} |
|
|
|
<input style="width: 35.5%;" name="boot_file" id="trainjob_boot_file" value="{{.bootFile}}" tabindex="3" autofocus required maxlength="255" > |
|
|
|
<input style="width: 48.5%;" name="boot_file" id="trainjob_boot_file" value="{{.bootFile}}" tabindex="3" autofocus required maxlength="255" > |
|
|
|
{{else}} |
|
|
|
<input style="width: 35.5%;" name="boot_file" id="trainjob_boot_file" value="" tabindex="3" autofocus required maxlength="255" > |
|
|
|
<input style="width: 48.5%;" name="boot_file" id="trainjob_boot_file" value="" tabindex="3" autofocus required maxlength="255" > |
|
|
|
{{end}} |
|
|
|
<span > |
|
|
|
<i class="question circle icon" data-content={{.i18n.Tr "repo.modelarts.infer_job.boot_file_helper"}} data-position="top center" data-variation="inverted mini"></i> |
|
|
|
|