💄 QR-Code for Vote-ID
This commit is contained in:
parent
1c9937197f
commit
3d14d361c4
5 changed files with 57 additions and 6 deletions
|
|
@ -16,9 +16,12 @@
|
|||
{{ .Id }}
|
||||
</p>
|
||||
<hr class="m-4">
|
||||
<form action="/v/{{ .Vid }}" method="GET">
|
||||
<button type="submit" class="w-full hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center bg-purple-600 hover:bg-purple-700 focus:ring-blue-800 text-white hover:text-yellow-200 text-xl">Go back</button>
|
||||
</form>
|
||||
<div class="w-full flex justify-center">
|
||||
<img src="data:image/png;base64,{{ .QRCode }}" alt="QR-Code" class="center pb-4">
|
||||
</div>
|
||||
<a href="/v/{{ .Vid }}" class="w-full block hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center bg-purple-600 hover:bg-purple-700 focus:ring-blue-800 text-white hover:text-yellow-200 text-xl">
|
||||
Go back
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue