Skip to content
Snippets Groups Projects
Commit ea71e327 authored by Regis's avatar Regis
Browse files

page gap works

parent 4d8314ae
No related branches found
No related tags found
2 merge requests!7857WIP: Realtime pipeline index vue,!7196Pipelines Vue
Loading
@@ -11,7 +11,7 @@
Loading
@@ -11,7 +11,7 @@
], ],
methods: { methods: {
pagenumberstatus(n) { pagenumberstatus(n) {
if (n - 1 === +this.pagenum) return 'page active'; if (n - 1 === +this.pagenum) return 'active';
return ''; return '';
}, },
}, },
Loading
@@ -43,8 +43,8 @@
Loading
@@ -43,8 +43,8 @@
<li :class='pagenumberstatus(n)' v-else> <li :class='pagenumberstatus(n)' v-else>
<a @click='changepage($event)'>{{(n - 1)}}</a> <a @click='changepage($event)'>{{(n - 1)}}</a>
</li> </li>
<li class="page" v-if='n === upcount'> <li v-if='n === upcount'>
<span class="page gap">…</span> <span class="gap">…</span>
</li> </li>
<li class="next" v-if='n === upcount'> <li class="next" v-if='n === upcount'>
<a rel="next" :href='next'>Next</a> <a rel="next" :href='next'>Next</a>
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment