|
|
@ -1,4 +1,5 @@ |
|
|
<script> |
|
|
<script> |
|
|
|
|
|
import { fade } from "svelte/transition" |
|
|
import { tables } from "stores/backend" |
|
|
import { tables } from "stores/backend" |
|
|
import CreateRowButton from "./buttons/CreateRowButton.svelte" |
|
|
import CreateRowButton from "./buttons/CreateRowButton.svelte" |
|
|
import CreateColumnButton from "./buttons/CreateColumnButton.svelte" |
|
|
import CreateColumnButton from "./buttons/CreateColumnButton.svelte" |
|
|
@ -88,15 +89,19 @@ |
|
|
{/key} |
|
|
{/key} |
|
|
{/if} |
|
|
{/if} |
|
|
</Table> |
|
|
</Table> |
|
|
<div class="pagination"> |
|
|
{#key id} |
|
|
<Pagination |
|
|
<div in:fade={{ delay: 200, duration: 100 }}> |
|
|
page={$search.pageNumber + 1} |
|
|
<div class="pagination"> |
|
|
hasPrevPage={$search.hasPrevPage} |
|
|
<Pagination |
|
|
hasNextPage={$search.hasNextPage} |
|
|
page={$search.pageNumber + 1} |
|
|
goToPrevPage={$search.loading ? null : search.prevPage} |
|
|
hasPrevPage={$search.hasPrevPage} |
|
|
goToNextPage={$search.loading ? null : search.nextPage} |
|
|
hasNextPage={$search.hasNextPage} |
|
|
/> |
|
|
goToPrevPage={$search.loading ? null : search.prevPage} |
|
|
</div> |
|
|
goToNextPage={$search.loading ? null : search.nextPage} |
|
|
|
|
|
/> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
{/key} |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<style> |
|
|
<style> |
|
|
|