feat: share button only
This commit is contained in:
parent
018baa0e0f
commit
d6e2008823
|
|
@ -4,15 +4,9 @@
|
|||
<input type="submit" value="Logout">
|
||||
</form>
|
||||
<h1>Lishwist</h1>
|
||||
<dl>
|
||||
<dt>User reference:</dt>
|
||||
<dd style="display: flex; gap: 0.5rem">
|
||||
<pre>{{.Reference}}</pre>
|
||||
<div style="display: flex; align-items: center;">
|
||||
<button onclick="navigator.clipboard.writeText('{{.HostUrl}}/{{.Reference}}');">Copy link</button>
|
||||
</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<button
|
||||
onclick="navigator.clipboard.writeText('{{.HostUrl}}/{{.Reference}}'); alert('The share link to your wishlist has been copied to your clipboard.');">Get
|
||||
a link to your wishlist</button>
|
||||
<section>
|
||||
<h2>Your wishlist</h2>
|
||||
{{with .Gifts}}
|
||||
|
|
|
|||
Loading…
Reference in New Issue