Browse Source

增加调试任务的信息

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

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

@@ -911,7 +911,7 @@ language_other = Other
datasets = Datasets
datasets.desc = Enable Dataset
cloudbrain_helper=Use GPU/NPU resources to open notebooks, model training tasks, etc.
cloudbrain.exitinfo=Exit Information
model_manager = Model
model_noright=No right
model_rename=Duplicate model name, please modify model name.


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

@@ -958,6 +958,7 @@ cloudbrain_jobname_err=只能以小写字母或数字开头且只包含小写字
cloudbrain_query_fail=查询云脑任务失败。
cloudbrain.mirror_tag = 镜像标签
cloudbrain.mirror_description = 镜像描述
cloudbrain.exitinfo=退出信息

record_begintime_get_err=无法获取统计开始时间。
parameter_is_wrong=输入参数错误,请检查输入参数。


+ 14
- 41
templates/repo/cloudbrain/show.tmpl View File

@@ -290,19 +290,7 @@ td, th {
</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.dataset"}}
</td>

<td class="ti-text-form-content">
<div class="text-span text-span-w" id="{{.VersionName}}-BenchmarkTypeName">
{{$.datasetname}}
</div>
</td>
</tr>


</tbody>
</table>
</div>
@@ -336,12 +324,12 @@ td, th {

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

<td class="ti-text-form-content">
<div class="text-span text-span-w" title="{{.Description}}">
{{.Description}}
<div class="text-span text-span-w" id="{{.VersionName}}-BenchmarkTypeName">
{{$.datasetname}}
</div>
</td>
</tr>
@@ -369,39 +357,24 @@ td, th {
</div>
</td>
</tr>
<tr class="ti-no-ng-animate">
<td class="ti-no-ng-animate ti-text-form-label text-width80">
{{$.i18n.Tr "repo.cloudbrain.exitinfo"}}
</td>

<td class="ti-text-form-content">
{{$.result.JobStatus.AppExitDiagnostics}}
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="ac-grid ac-grid-col2">
<div class="ac-grid-col">
{{$.i18n.Tr "repo.cloudbrain.exitinfo"}}
</div>
<div class="ac-grid-col">
{{$.result.JobStatus.AppExitDiagnostics}}
</div>
</div>
</div>

</div>
</div>
<div class="ui tab" data-tab="second{{$k}}">
<div>
<div class="ui message message{{.VersionName}}" style="display: none;">
<div id="header"></div>
</div>
<div class="ui attached log" id="log{{.VersionName}}" style="height: 300px !important; overflow: auto;">
<input type="hidden" name="end_line" value>
<input type="hidden" name="start_line" value>
<pre id="log_file{{.VersionName}}"></pre>
</div>

</div>

</div>

</div>
</div>


Loading…
Cancel
Save