2024-04-26 21:12:56 +01:00
|
|
|
<!DOCTYPE html>
|
2024-04-29 01:45:22 +01:00
|
|
|
<html lang="en">
|
2024-04-26 21:12:56 +01:00
|
|
|
<head>
|
Added example configuration, updated README.md, updated background image to Public Domain image, updated styles to be in accordance with the New Burgerware Design, fixed pages displaying poorly on phones, fixed server panics being caused by incorrect JSON, made it clear AESKeyShare is not in working order, made the application not hard-code the URL, made the application not hard-code the app name, updated the CAPTCHA module to the newest version and URL, removed crypto-js, removed unneeded broken code left over from Burgernotes, removed unneeded CSS left over from Burgernotes, made page titles consistant, changed some formatting to be using camel instead of snake case, fixed various JS bad-practices, used a really long commit message.
2024-07-10 18:43:17 +01:00
|
|
|
<title>Dashboard - {{ .identifier }}</title>
|
2024-07-26 19:25:41 +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="icon" href="/static/svg/favicon.svg">
|
|
|
|
<link rel="stylesheet" type="text/css" href="/static/css/style.css"/>
|
2024-04-26 21:12:56 +01:00
|
|
|
</head>
|
|
|
|
<body>
|
Added example configuration, updated README.md, updated background image to Public Domain image, updated styles to be in accordance with the New Burgerware Design, fixed pages displaying poorly on phones, fixed server panics being caused by incorrect JSON, made it clear AESKeyShare is not in working order, made the application not hard-code the URL, made the application not hard-code the app name, updated the CAPTCHA module to the newest version and URL, removed crypto-js, removed unneeded broken code left over from Burgernotes, removed unneeded CSS left over from Burgernotes, made page titles consistant, changed some formatting to be using camel instead of snake case, fixed various JS bad-practices, used a really long commit message.
2024-07-10 18:43:17 +01:00
|
|
|
<img src="/static/img/background.png" class="background" alt="">
|
2024-04-26 21:12:56 +01:00
|
|
|
<div class="newoauth">
|
2024-07-26 19:25:41 +01:00
|
|
|
<h2>Dashboard</h2>
|
|
|
|
<p>Welcome to the Burgerauth dashboard!</p>
|
|
|
|
<button id="devAcctSwitcher">Switch to developer view</button>
|
|
|
|
</div>
|
|
|
|
<div id="developers" class="hidden">
|
|
|
|
<div class="newoauth">
|
|
|
|
<h2>Submit a new OAuth2 App</h2>
|
|
|
|
<p id="status"></p>
|
|
|
|
<p>App Name:</p>
|
|
|
|
<input id="appidbox">
|
|
|
|
<p>Redirect URI:</p>
|
|
|
|
<input id="rdiruribox">
|
|
|
|
<p>Enable OpenID:</p>
|
|
|
|
<input type="checkbox" id="openidbox">
|
|
|
|
<p>AESKeyShare URI (optional, will add the aeskeyshare scope):</p>
|
|
|
|
<input id="aeskeysharebox">
|
|
|
|
<br>
|
|
|
|
<button style="margin-top: 10px;" onclick="attempt()">Submit</button>
|
|
|
|
</div>
|
|
|
|
<div class="oauthlist" id="oauthlist" style="margin-bottom: 30px;">
|
|
|
|
<h2>Your existing apps</h2>
|
|
|
|
</div>
|
2024-04-26 21:12:56 +01:00
|
|
|
</div>
|
2024-07-26 19:25:41 +01:00
|
|
|
<div id="account">
|
|
|
|
<div class="newoauth">
|
|
|
|
<h2>Account settings</h2>
|
|
|
|
<p id="namebox">Loading...</p>
|
|
|
|
<p id="datebox"></p>
|
|
|
|
<button onclick="window.location.href = '/logout';">Logout</button><br style="">
|
|
|
|
<button onclick="deleteacct()" style="margin-top: 5px;">Delete Account</button>
|
|
|
|
</div>
|
|
|
|
<div class="oauthlist" id="sessionsList" style="margin-bottom: 30px;">
|
|
|
|
<h2>Sessions</h2>
|
|
|
|
</div>
|
2024-04-26 21:12:56 +01:00
|
|
|
</div>
|
2024-07-26 19:25:41 +01:00
|
|
|
<script src="/static/js/dashboard.js"></script>
|
2024-04-26 21:12:56 +01:00
|
|
|
</body>
|
|
|
|
</html>
|