diff --git a/README.md b/README.md index 002c7fa..d7551dd 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,4 @@ -![logo](/static/favicon.png) - -# Pieni +# Pieni > A modern, minimal URL shortener diff --git a/src/routes/(app)/me/admin/InvitesView.svelte b/src/routes/(app)/me/admin/InvitesView.svelte index 1789361..3d7a536 100644 --- a/src/routes/(app)/me/admin/InvitesView.svelte +++ b/src/routes/(app)/me/admin/InvitesView.svelte @@ -1,5 +1,5 @@ @@ -23,11 +25,9 @@ - - + + + New Invite @@ -38,16 +38,12 @@ -
- + + @@ -62,18 +58,19 @@ Token Role - User - Used At - Created At + Created + Used + Used by {#each invites as invite (invite.id)} + {@const link = `${PUBLIC_BASEURL}/auth/signup?token=${invite.id}`} - -
{invite.id.substring(0, 15)}...
+ +
{link.slice(0, 12)}...{link.slice(-5)}
- + + + + + Are you sure? + + Do you want to delete the unused {invite.role} invite link: +

{invite.id}

+
+
+ +
+ + + Cancel + + + + Delete invite + + +
+
+
{/each}