Browse Source

fix issue

pull/3437/head
zhoupzh 2 years ago
parent
commit
e7cc96ffa2
4 changed files with 5 additions and 3 deletions
  1. +1
    -1
      templates/repo/cloudbrain/trainjob/show.tmpl
  2. +1
    -1
      templates/repo/grampus/trainjob/show.tmpl
  3. +1
    -1
      templates/repo/modelarts/trainjob/show.tmpl
  4. +2
    -0
      web_src/less/openi.less

+ 1
- 1
templates/repo/cloudbrain/trainjob/show.tmpl View File

@@ -369,7 +369,7 @@
</div>
<a id="{{.VersionName}}-result-down" style="padding-right: 1%;display: none;"
class='{{if $.canDownload}}ti-download-file{{else}}disabled{{end}} file-info'
href="/api/v1/repos/{{$.RepoRelPath}}/cloudbrain/{{.ID}}/download_log_file">
href="{{$.RepoLink}}/cloudbrain/train-job/{{.JobID}}/download_multi_model?version_name={{.VersionName}}">
<i class="ri-download-cloud-2-line"></i>
<span style="margin-left: 0.3rem;">{{$.i18n.Tr "repo.all_result_download"}}</span>
</a>


+ 1
- 1
templates/repo/grampus/trainjob/show.tmpl View File

@@ -405,7 +405,7 @@
</div>
<a id="{{.VersionName}}-result-down" style="padding-right: 1%;display: none;"
class='{{if $.canDownload}}ti-download-file{{else}}disabled{{end}} file-info'
href="/api/v1/repos/{{$.RepoRelPath}}/cloudbrain/{{.ID}}/download_log_file">
href="{{$.RepoLink}}/grampus/train-job/{{.JobID}}/download_multi_model?version_name={{.VersionName}}">
<i class="ri-download-cloud-2-line"></i>
<span style="margin-left: 0.3rem;">{{$.i18n.Tr "repo.all_result_download"}}</span>
</a>


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

@@ -431,7 +431,7 @@
</div>
<a id="{{.VersionName}}-result-down" style="padding-right: 1%;display: none;"
class='{{if $.canDownload}}ti-download-file{{else}}disabled{{end}} file-info'
href="{{$.RepoLink}}/modelarts/inference-job/{{.JobID}}/downloadall?version_name={{.VersionName}}">
href="{{$.RepoLink}}/modelarts/train-job/{{.JobID}}/download_multi_model?version_name={{.VersionName}}">
<i class="ri-download-cloud-2-line"></i>
<span style="margin-left: 0.3rem;">{{$.i18n.Tr "repo.all_result_download"}}</span>
</a>


+ 2
- 0
web_src/less/openi.less View File

@@ -752,6 +752,8 @@ i.SUCCEEDED {
.disabled {
cursor: pointer;
pointer-events: none;
opacity: .45!important;
color: rgba(0,0,0,.6);
}
.left2 {
margin-left: -2px !important;


Loading…
Cancel
Save