This repository has been archived on 2024-09-28. You can view files and clone it, but cannot push or open issues or pull requests.
burgerauth/templates/main.html

30 lines
1.1 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="icon" href="/static/svg/favicon.svg">
<link rel="stylesheet" type="text/css" href="/static/css/style.css"/>
<script src="/static/js/hash-wasm.js"></script>
<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 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>
<br>
<a href="/dashboard">Return to Dashboard</a>
</div>
</body>
</html>