#3870 解决gcu界面显示问题

Merged
chenshihai merged 2 commits from fix-3720 into V20230322 1 year ago
  1. +3
    -5
      templates/repo/grampus/trainjob/gcu/new.tmpl

+ 3
- 5
templates/repo/grampus/trainjob/gcu/new.tmpl View File

@@ -56,9 +56,7 @@
<!-- equal width -->
<form id="form_id" class="ui form" action="{{.Link}}" method="post">
{{.CsrfTokenHtml}}
<input type="hidden" name="action" value="update">
<input type="hidden" id="ai_engine_name" name="engine_name" value="">
<input type="hidden" id="ai_flavor_name" name="flavor_name" value="">
<input type="hidden" name="image" value="">
<h4 class="train-job-title ui header ">{{.i18n.Tr "repo.modelarts.train_job.basic_info"}}:</h4>
<div class="required min_title inline field">
<label class="label-fix-width" style="font-weight: normal;">{{.i18n.Tr "cloudbrain.resource_cluster"}}</label>
@@ -102,7 +100,7 @@
{{template "custom/task_wait_count" .}}
<div style="display: flex;align-items: center;margin-left: 156px;margin-top: 0.5rem;">
<i class="ri-error-warning-line" style="color: #f2711c;margin-right: 0.5rem;"></i>
<span style="color: #888;font-size: 12px;">{{.i18n.Tr "cloudbrain.new_train_npu_tooltips" "/cache/code" "ckpt_url" "/cache/output" | Safe}}</span>
<span style="color: #888;font-size: 12px;">{{.i18n.Tr "cloudbrain.new_train_gpu_tooltips" "/tmp/code" "/tmp/dataset" "ckpt_url" "/tmp/output" | Safe}}</span>
</div>
</div>
<div class="required min_title inline field" style="margin-bottom: 0rem !important;">
@@ -146,7 +144,7 @@
{{template "custom/select_model" .}}
<div class="required min_title inline field" id="engine_name">
<label class="label-fix-width" style="font-weight: normal;">{{.i18n.Tr "cloudbrain.mirror"}}</label>
<select class="ui dropdown width81" id="trainjob_images" name="image_id">
<select class="ui dropdown cloudbrain_image width81" id="trainjob_images" name="image_id">
{{if .image_id}}
{{range .images}}
{{if eq $.image_id .ID}}


Loading…
Cancel
Save