account stuff in progress. Please wait...

This commit is contained in:
CatAClock 2025-05-24 13:08:20 -07:00
parent ff0dcc6ba3
commit f135e8de98
4 changed files with 51 additions and 2 deletions

16
CSS/account.css Normal file
View file

@ -0,0 +1,16 @@
.Button {
margin-top: 30px;
border-style: solid;
border-width: 1px;
width: 100px;
height: 100px;
}
footer {
display: flex;
justify-content: center;
height: 5vh;
}

25
HTML/account.html Normal file
View file

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>The Fediverse</title>
<meta name="description" content="Change the fucking channel already!">
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1" />
<link rel="icon" href="../Icons/favicon.ico" />
<link rel="stylesheet" href="../CSS/account.css">
<script type="module" src="../JS/account.js"></script>
<!-- Dependenci -->
<script language="JavaScript" type="text/javascript" src="https://kjur.github.io/jsrsasign/jsrsasign-latest-all-min.js"></script>
</head>
<body>
<header>
<h1>Account</h1>
</header>
<div>
<p>Currently in progress.</p>
</div>
<footer>
<p class="Button" onclick="history.back();"><b>Back</b></p>
</footer>
</body>
</html>

0
JS/account.js Normal file
View file

View file

@ -46,13 +46,21 @@ Reply.onclick = (event) => {
// Seleecting other posts
for (let i of document.getElementsByClassName("Parent")) {
i.onclick = (event) => {
SetThreadPost(Parentpost);
if (i.classList.contains("Handle")) {
window.location.href = "../../HTML/account.html";
} else {
SetThreadPost(Parentpost);
}
}
}
for (let i of document.getElementsByClassName("GrandParent")) {
i.onclick = (event) => {
SetThreadPost(GrandParentpost);
if (i.classList.contains("Handle")) {
window.location.href = "../../HTML/account.html";
} else {
SetThreadPost(GrandParentpost);
}
}
}