29 lines
1.3 KiB
HTML
29 lines
1.3 KiB
HTML
<html lang="en">
|
|
<head>
|
|
<title>Authorize application - {{ .identifier }}</title>
|
|
<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>
|
|
</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>
|
|
<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>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
|
|
</html>
|