Fixed minor bugs
This commit is contained in:
parent
60dd15b473
commit
14996a8936
|
@ -25,7 +25,7 @@
|
|||
<div class="button">
|
||||
<a href="/tos">ToS</a>
|
||||
</div>
|
||||
<hr />
|
||||
<div class="sp"></div>
|
||||
</div>
|
||||
<main>
|
||||
<h1 class="title">Delete</h1>
|
||||
|
@ -75,4 +75,4 @@
|
|||
};
|
||||
</script>
|
||||
<script src="/static/js/deletePost.js"></script>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
<div class="button">
|
||||
<a href="/tos">ToS</a>
|
||||
</div>
|
||||
<hr />
|
||||
<div class="sp"></div>
|
||||
</div>
|
||||
<main>
|
||||
<h1 class="title">Update</h1>
|
||||
|
@ -74,4 +74,4 @@
|
|||
document.getElementById("copy_year").innerText = new Date().getFullYear();
|
||||
</script>
|
||||
<script src="/static/js/updatePost.js"></script>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
<div class="button">
|
||||
<a href="/tos">ToS</a>
|
||||
</div>
|
||||
<hr />
|
||||
<div class="sp"></div>
|
||||
</div>
|
||||
<main>
|
||||
<h1 class="title">Add New Post</h1>
|
||||
|
|
|
@ -25,12 +25,12 @@
|
|||
<div class="button">
|
||||
<a href="/tos">ToS</a>
|
||||
</div>
|
||||
<hr />
|
||||
<div class="sp"></div>
|
||||
</div>
|
||||
<main>
|
||||
<div class="result-panel">
|
||||
<h1 class="title"></h1>
|
||||
<hr />
|
||||
<div class="sp"></div>
|
||||
<div class="metadata"></div>
|
||||
|
||||
<div class="form-group">
|
||||
|
@ -61,4 +61,4 @@
|
|||
document.getElementById("copy_year").innerText = new Date().getFullYear();
|
||||
</script>
|
||||
<script src="/static/js/searchPost.js"></script>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -39,6 +39,14 @@ footer > #copy_year {
|
|||
display: inline-block;
|
||||
}
|
||||
|
||||
.sp {
|
||||
background: #737373;
|
||||
border-color: #1b1a1a;
|
||||
margin: 11px 0;
|
||||
overflow: hidden;
|
||||
height: 1px;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
|
@ -172,4 +180,4 @@ textarea {
|
|||
footer {
|
||||
font-size: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -45,7 +45,7 @@ const searchPost = (post_id, event) => {
|
|||
document.querySelector(".metadata").innerHTML =
|
||||
`<span class="metadata-el">user</span>: <code>${author}</code> / `;
|
||||
// Set post expiration date
|
||||
const exp = data.expirationDate ? data.expirationDate : "never";
|
||||
const exp = data.expirationDate;
|
||||
document.querySelector(".metadata").innerHTML +=
|
||||
`<span class="metadata-el">expiration</span>: <code>${exp}</code> / `;
|
||||
// Set post ID
|
||||
|
@ -66,4 +66,4 @@ const searchPost = (post_id, event) => {
|
|||
error_panel.innerHTML = "";
|
||||
}, 5000);
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
@ -25,7 +25,8 @@
|
|||
<div class="button">
|
||||
<a href="/tos">ToS</a>
|
||||
</div>
|
||||
<hr />
|
||||
|
||||
<div class="sp"></div>
|
||||
</div>
|
||||
<main>
|
||||
<h1 class="title">Terms of Service</h1>
|
||||
|
@ -85,9 +86,9 @@
|
|||
<h1 class="title">Privacy Policy</h1>
|
||||
By creating an account, you agree to store your email, your username, your hashed password
|
||||
and the account signup timestamp on the servers of the <i>bit platform</i>.
|
||||
|
||||
Both the frontend and the backend of the <i>bit platform</i> are open source and can be
|
||||
review on <a href="https://github.com/ceticamarco/bit">the this GitHub page</a>.
|
||||
<br /><br />
|
||||
The source code of the <i>bit platform</i> is available at
|
||||
<a href="https://github.com/ceticamarco/bit">this GitHub page</a>.
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
|
@ -99,4 +100,4 @@
|
|||
<script>
|
||||
document.getElementById("copy_year").innerText = new Date().getFullYear();
|
||||
</script>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
<div class="button">
|
||||
<a href="/tos">ToS</a>
|
||||
</div>
|
||||
<hr />
|
||||
<div class="sp"></div>
|
||||
</div>
|
||||
<main>
|
||||
<h1 class="title">Sign Up</h1>
|
||||
|
@ -52,7 +52,7 @@
|
|||
<button type="submit" name="send" class="bit-form-button">ADD NEW USER</button>
|
||||
</form>
|
||||
|
||||
<hr />
|
||||
<div class="sp"></div>
|
||||
<h1 class="title">Delete Account</h1>
|
||||
|
||||
<form class="bit-form" method="POST" id="delete_user_form" onsubmit="deleteUser(event);">
|
||||
|
@ -95,4 +95,4 @@
|
|||
};
|
||||
</script>
|
||||
<script src="/static/js/manageUser.js"></script>
|
||||
</html>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue