diff options
| author | Adam Soltys <[email protected]> | 2024-09-24 15:57:04 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-09-24 15:57:04 -0700 |
| commit | 4373f870ad528811a9e0bb1a6749b01d5a7ec051 (patch) | |
| tree | fcc25342e1992d45e9ac5018fd2257c263376278 /src/routes/(app)/payment | |
| parent | 8aeb0d6d818b823afec1ee7e5749971468842c9c (diff) | |
| download | coinos-ui-4373f870ad528811a9e0bb1a6749b01d5a7ec051.tar.gz coinos-ui-4373f870ad528811a9e0bb1a6749b01d5a7ec051.zip | |
stylin
Diffstat (limited to 'src/routes/(app)/payment')
| -rw-r--r-- | src/routes/(app)/payment/[id]/+page.svelte | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/src/routes/(app)/payment/[id]/+page.svelte b/src/routes/(app)/payment/[id]/+page.svelte index 481d0242..f7a36717 100644 --- a/src/routes/(app)/payment/[id]/+page.svelte +++ b/src/routes/(app)/payment/[id]/+page.svelte @@ -3,7 +3,6 @@ import { onMount, tick } from "svelte"; import { t, loading } from "$lib/translations"; import { - back, copy, f, s, @@ -98,12 +97,6 @@ }); </script> -<a href={`/payments`}> - <button class="ml-5 md:ml-20 mt-5 md:mt-10 hover:opacity-80"> - <Icon icon="arrow-left" style="w-10" /> - </button> -</a> - <div class="container mx-auto max-w-lg px-4 space-y-8 break-all text-2xl"> <h1 class="px-3 md:px-0 text-center text-3xl md:text-4xl font-semibold mb-10"> {$t(amount < 0 ? "payments.sent" : "payments.received")} @@ -241,41 +234,4 @@ </div> </div> {/if} - - <div class="flex gap-2"> - {#if user.admin} - <button - class="rounded-full border py-3 px-6 hover:opacity-80 flex w-full md:w-60" - on:click={bump} - > - <div class="mx-auto flex"> - <Icon icon="clock" style="my-auto h-6 mr-2" /> - <div class="my-auto mt-1 text-base">{$t("payments.bump")}</div> - </div> - </button> - {/if} - - {#if user.hasprinter} - <button - class="rounded-full border py-3 px-6 hover:opacity-80 flex w-full md:w-60" - on:click={print} - > - <div class="mx-auto flex"> - <Icon icon="printer" style="my-auto h-6 mr-2" /> - <div class="my-auto mt-1 text-base">{$t("payments.print")}</div> - </div> - </button> - {:else} - <a href={`/payment/${id}/plain`}> - <button - class="rounded-full border py-3 px-6 hover:opacity-80 flex w-full md:w-60" - > - <div class="mx-auto flex"> - <Icon icon="printer" style="my-auto h-6 mr-2" /> - <div class="my-auto mt-1 text-base">{$t("payments.print")}</div> - </div> - </button> - </a> - {/if} - </div> </div> |
