moved butttons dow

This commit is contained in:
tdgmcode 2023-03-20 05:03:01 -04:00
parent 945cedd035
commit ba6563baf8

View file

@ -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>