burgerauth/templates/main.html

29 lines
1.3 KiB
HTML
Raw Normal View History

<html lang="en">
2024-04-26 21:12:56 +01:00
<head>
<title>Authorize application - {{ .identifier }}</title>
2024-04-26 21:12:56 +01:00
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" type="text/css" href="/static/css/style.css" media="">
<script src="/static/js/hash-wasm.js"></script>
<link rel="icon" href="/static/svg/favicon.svg">
<script src="/static/js/main.js"></script>
2024-04-26 21:12:56 +01:00
</head>
<body>
<p id="passthrough" style="display: none;">{{ .name }}</p>
<img src="/static/img/background.png" class="background" alt="">
<div style="position: fixed;top: 5px;"><button onclick="document.getElementById('iframe').classList.toggle('hidden');" class="acctbutton">Account</button><iframe id="iframe" src="/account" class="iframe hidden"></iframe></div>
2024-04-26 21:12:56 +01:00
<div class="inoutdiv">
<h2 class="w300">Authorise Application</h2>
<p id="statusBox">Loading...</p>
<br>
<div style="display: flex;justify-content: center;">
<button onclick="oauth();" style="width: 100%;margin: 0 3px 0 0;">Allow</button>
<button onclick="deny();" style="width: 100%;margin: 0 0 0 3px;">Deny</button>
2024-04-26 21:12:56 +01:00
</div>
</div>
</body>
</html>