Browse Source

增加接口

Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/1825/head
zouap 3 years ago
parent
commit
4c8de8891d
3 changed files with 18 additions and 1 deletions
  1. +1
    -0
      options/locale/locale_en-US.ini
  2. +1
    -1
      options/locale/locale_zh-CN.ini
  3. +16
    -0
      templates/repo/cloudbrain/show.tmpl

+ 1
- 0
options/locale/locale_en-US.ini View File

@@ -913,6 +913,7 @@ datasets.desc = Enable Dataset
cloudbrain_helper=Use GPU/NPU resources to open notebooks, model training tasks, etc. cloudbrain_helper=Use GPU/NPU resources to open notebooks, model training tasks, etc.
cloudbrain.exitinfo=Exit Information cloudbrain.exitinfo=Exit Information
cloudbrain.platform=Platform cloudbrain.platform=Platform
cloudbrain.endtime=End Time
model_manager = Model model_manager = Model
model_noright=No right model_noright=No right
model_rename=Duplicate model name, please modify model name. model_rename=Duplicate model name, please modify model name.


+ 1
- 1
options/locale/locale_zh-CN.ini View File

@@ -960,7 +960,7 @@ cloudbrain.mirror_tag = 镜像标签
cloudbrain.mirror_description = 镜像描述 cloudbrain.mirror_description = 镜像描述
cloudbrain.exitinfo=退出信息 cloudbrain.exitinfo=退出信息
cloudbrain.platform=平台 cloudbrain.platform=平台
cloudbrain.endtime=结束时间
record_begintime_get_err=无法获取统计开始时间。 record_begintime_get_err=无法获取统计开始时间。
parameter_is_wrong=输入参数错误,请检查输入参数。 parameter_is_wrong=输入参数错误,请检查输入参数。
total_count_get_error=查询总页数失败。 total_count_get_error=查询总页数失败。


+ 16
- 0
templates/repo/cloudbrain/show.tmpl View File

@@ -365,6 +365,22 @@ td, th {


<tr class="ti-no-ng-animate"> <tr class="ti-no-ng-animate">
<td class="ti-no-ng-animate ti-text-form-label text-width80"> <td class="ti-no-ng-animate ti-text-form-label text-width80">
{{$.i18n.Tr "repo.cloudbrain.endtime"}}
</td>

<td class="ti-text-form-content">
<div class="text-span text-span-w" id="{{.VersionName}}-BenchmarkTypeName">
{{if not (eq .StartTime 0)}}
{{TimeSinceUnix1 .EndTime}}
{{else}}
--
{{end}}
</div>
</td>
</tr>

<tr class="ti-no-ng-animate">
<td class="ti-no-ng-animate ti-text-form-label text-width80">
{{$.i18n.Tr "repo.modelarts.train_job.standard"}} {{$.i18n.Tr "repo.modelarts.train_job.standard"}}
</td> </td>




Loading…
Cancel
Save