Browse Source

fix issue

tags/v1.22.3.2^2
zhoupzh 3 years ago
parent
commit
79d3367f6f
5 changed files with 68 additions and 5 deletions
  1. +13
    -1
      templates/explore/repos.tmpl
  2. +13
    -1
      templates/repo/cloudbrain/benchmark/index.tmpl
  3. +14
    -1
      templates/repo/debugjob/index.tmpl
  4. +14
    -1
      templates/repo/modelarts/inferencejob/index.tmpl
  5. +14
    -1
      templates/repo/modelarts/trainjob/index.tmpl

+ 13
- 1
templates/explore/repos.tmpl View File

@@ -10,7 +10,19 @@

<div class="ui sixteen wide mobile twelve wide tablet ten wide computer column">
{{template "explore/repo_list" .}}
{{template "base/paginate" .}}
<div id="app" style="margin-top: 2rem;">
<div class="center">
<el-pagination
background
@current-change="handleCurrentChange"
:current-page="page"
:page-sizes="[20]"
:page-size="20"
layout="total, sizes, prev, pager, next, jumper"
:total="{{.Page.Paginater.Total}}">
</el-pagination>
</div>
</div>
</div>
<div class="computer only ui three wide computer column">
{{template "explore/repo_right" .}}


+ 13
- 1
templates/repo/cloudbrain/benchmark/index.tmpl View File

@@ -185,7 +185,19 @@
</div>
-->

{{template "base/paginate" .}}
<div id="app" style="margin-top: 2rem;">
<div class="center">
<el-pagination
background
@current-change="handleCurrentChange"
:current-page="page"
:page-sizes="[10]"
:page-size="10"
layout="total, sizes, prev, pager, next, jumper"
:total="{{.Page.Paginater.Total}}">
</el-pagination>
</div>
</div>
</div>

</div>


+ 14
- 1
templates/repo/debugjob/index.tmpl View File

@@ -443,7 +443,20 @@
</div>
</div>
</div>
{{end}} {{template "base/paginate" .}}
{{end}}
<div id="app" style="margin-top: 2rem;">
<div class="center">
<el-pagination
background
@current-change="handleCurrentChange"
:current-page="page"
:page-sizes="[10]"
:page-size="10"
layout="total, sizes, prev, pager, next, jumper"
:total="{{.Page.Paginater.Total}}">
</el-pagination>
</div>
</div>
</div>
</div>
</div>


+ 14
- 1
templates/repo/modelarts/inferencejob/index.tmpl View File

@@ -186,7 +186,20 @@
</div>
</div>
</div>
{{end}} {{template "base/paginate" .}}
{{end}}
<div id="app" style="margin-top: 2rem;">
<div class="center">
<el-pagination
background
@current-change="handleCurrentChange"
:current-page="page"
:page-sizes="[10]"
:page-size="10"
layout="total, sizes, prev, pager, next, jumper"
:total="{{.Page.Paginater.Total}}">
</el-pagination>
</div>
</div>
</div>

</div>


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

@@ -180,7 +180,20 @@
</div>
</div>
</div>
{{end}} {{template "base/paginate" .}}
{{end}}
<div id="app" style="margin-top: 2rem;">
<div class="center">
<el-pagination
background
@current-change="handleCurrentChange"
:current-page="page"
:page-sizes="[10]"
:page-size="10"
layout="total, sizes, prev, pager, next, jumper"
:total="{{.Page.Paginater.Total}}">
</el-pagination>
</div>
</div>
</div>

</div>


Loading…
Cancel
Save