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