moved butttons dow
This commit is contained in:
parent
945cedd035
commit
ba6563baf8
1 changed files with 8 additions and 8 deletions
|
@ -14,14 +14,6 @@
|
||||||
{/if}
|
{/if}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span>
|
|
||||||
{#if data.id > 0}
|
|
||||||
<Button clickFunc={() => { window.location.search = setLocation(window.location,'page',((data.id)-1)) }} href='#'>Page {(data.id)-1}</Button>
|
|
||||||
{/if}
|
|
||||||
<Button>Page {(data.id)}</Button>
|
|
||||||
<Button clickFunc={() => { window.location.search = setLocation(window.location,'page',((data.id)+1)) }} href='#'>Page {(data.id)+1}</Button>
|
|
||||||
</span>
|
|
||||||
|
|
||||||
{#if data && data.postJson && data.postJson.data}
|
{#if data && data.postJson && data.postJson.data}
|
||||||
{#each data.postJson.data as post}
|
{#each data.postJson.data as post}
|
||||||
<Post
|
<Post
|
||||||
|
@ -36,3 +28,11 @@
|
||||||
></Post>
|
></Post>
|
||||||
{/each}
|
{/each}
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
<span>
|
||||||
|
{#if data.id > 0}
|
||||||
|
<Button clickFunc={() => { window.location.search = setLocation(window.location,'page',((data.id)-1)) }} href='#'>Page {(data.id)-1}</Button>
|
||||||
|
{/if}
|
||||||
|
<Button>Page {(data.id)}</Button>
|
||||||
|
<Button clickFunc={() => { window.location.search = setLocation(window.location,'page',((data.id)+1)) }} href='#'>Page {(data.id)+1}</Button>
|
||||||
|
</span>
|
Loading…
Reference in a new issue