Files
libhalo/cli/assets/views/consent.html
Robby Klein 3ebe41ee84 Bridge/Gateway: Modify CSS styles of the in-app webpages (#244)
Co-authored-by: Michal Leszczynski <ml@icedev.pl>
2023-08-19 13:12:42 +02:00

55 lines
2.1 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="/assets/static/style.css" />
<title>HaLo Bridge Server</title>
</head>
<body>
<div class="container">
<form class="box" action="/consent/post" method="POST">
<input type="hidden" name="csrf_token" value="{{ csrfToken }}" />
<input type="hidden" name="website" value="{{ website }}" />
<h1>Allow access to HaLo?</h1>
<p>
The website at:<br /><strong>{{ website }}</strong><br />wants to
communicate with HaLo tags.
</p>
<p>
If you agree, the website will be able to interact with your card
reader and sign information with HaLo tags.
</p>
<div class="flex-buttons">
<button
type="submit"
name="submit"
value="allow"
class="button button--success"
>
Allow access
</button>
<button
type="submit"
name="submit"
value="deny"
class="button button--danger"
>
Deny access
</button>
</div>
</form>
<svg
xmlns="http://www.w3.org/2000/svg"
width="58"
height="20"
fill="none"
viewBox="0 0 58 20"
>
<path
fill="currentColor"
d="M34.263 5.253h-6.616v14.238h-4.75V6.694A6.189 6.189 0 0 1 29.09.507h5.174v4.746ZM20.014.51v18.98h-4.75v-.982A9.964 9.964 0 0 1 10.007 20C4.481 19.998 0 15.523 0 9.999 0 4.475 4.481 0 10.007 0c1.93 0 3.73.548 5.257 1.492V.51h4.75ZM15.264 10a5.255 5.255 0 0 0-5.257-5.253 5.255 5.255 0 0 0-5.257 5.253 5.255 5.255 0 0 0 5.257 5.253 5.255 5.255 0 0 0 5.257-5.253Zm36.114 0 1.857-2.784L57.709.51H52l-4.014 6.017-.027.04-.054.08a6.182 6.182 0 0 0-.918 2.42h-.142a6.123 6.123 0 0 0-.919-2.418l-.052-.082-.027-.04L41.833.51h-5.708l2.46 3.683L42.457 10l-1.857 2.784-4.474 6.708h5.709l4.014-6.018.027-.04.054-.08c.465-.719.783-1.54.918-2.42h.142c.133.88.454 1.701.919 2.418l.052.081.027.041 4.014 6.018h5.708l-2.459-3.684L51.378 10Z"
></path>
</svg>
</div>
</body>
</html>