Some extra padding and a confirmation dialouge
This commit is contained in:
parent
3818691924
commit
c3452e92c7
|
@ -116,8 +116,8 @@ input {
|
||||||
|
|
||||||
.iframe {
|
.iframe {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
right: 0;
|
right: 5px;
|
||||||
top: 38px;
|
top: 47px;
|
||||||
border: none;
|
border: none;
|
||||||
height: 276px;
|
height: 276px;
|
||||||
width: 400px;
|
width: 400px;
|
||||||
|
@ -126,7 +126,7 @@ input {
|
||||||
|
|
||||||
.acctbutton {
|
.acctbutton {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
right: 0;
|
right: 5px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,9 @@
|
||||||
<body style="background-color: transparent;">
|
<body style="background-color: transparent;">
|
||||||
<script>
|
<script>
|
||||||
async function deleteacct() {
|
async function deleteacct() {
|
||||||
|
if (confirm("Are you SURE you would like to delete your account forever?") != true) {
|
||||||
|
break
|
||||||
|
}
|
||||||
await fetch(remote + "/api/deleteaccount", {
|
await fetch(remote + "/api/deleteaccount", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<body>
|
<body>
|
||||||
<p class="credit">Image by perga (@pergagreen on discord)</p>
|
<p class="credit">Image by perga (@pergagreen on discord)</p>
|
||||||
<img src="/static/img/background.jpg" class="background" alt="">
|
<img src="/static/img/background.jpg" class="background" alt="">
|
||||||
<div style="position: fixed;top: 0;"><button onclick="document.getElementById('iframe').classList.toggle('hidden');" class="acctbutton">Account</button><iframe id="iframe" src="/account" class="iframe hidden"></iframe></div>
|
<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="newoauth">
|
<div class="newoauth">
|
||||||
<h2>Submit a new OAuth2 App</h2>
|
<h2>Submit a new OAuth2 App</h2>
|
||||||
<p id="status"></p>
|
<p id="status"></p>
|
||||||
|
|
Reference in New Issue