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