Updated with login screen
This commit is contained in:
parent
e897c7d563
commit
efe8a51c5f
|
@ -69,7 +69,7 @@
|
|||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.</p>
|
||||
<br>
|
||||
<button onclick="history.back()" style="padding: 15px 20px;margin-right: auto;color: white;text-decoration: none;background-color: var(--theme-color);border-radius: 8px;border: medium;font-size: 15px;">Take me back where I was!</button>
|
||||
<button onclick="history.back()" style="cursor: pointer; padding: 15px 20px;margin-right: auto;color: white;text-decoration: none;background-color: var(--theme-color);border-radius: 8px;border: medium;font-size: 15px;">Take me back where I was!</button>
|
||||
<br><br>
|
||||
</body>
|
||||
|
||||
|
|
|
@ -17,11 +17,11 @@
|
|||
<p>Signup for a Burgernotes account</p>
|
||||
<p id="statusBox"></p>
|
||||
<input id="usernameBox" type="text" placeholder="Username">
|
||||
<input id="passwordBox" type="password" placeholder="Password">
|
||||
<input id="passwordBox" type="password" placeholder="Password"><br>
|
||||
<button id="signupButton">Signup</button><br><br>
|
||||
<p>Please note that it's impossible to reset your password, do not forget it!</p>
|
||||
<p>Already have an account? If so, <a href="../login/index.html">Login</a> instead!</p>
|
||||
<a href="../privacy/index.html">Privacy & Terms</a>
|
||||
By signing up, you agree to our <a href="../privacy/index.html">Privacy & Terms</a>.<br><br>
|
||||
<p>Already have an account? If so, <a href="../login/index.html">Login</a> instead!</p><br>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript" src="../static/js/signup.js"></script>
|
||||
|
|
|
@ -170,7 +170,7 @@ body {
|
|||
filter: invert(var(--invertdm));
|
||||
padding-left: 17.5px;
|
||||
padding-right: 17.5px;
|
||||
background-image: url("../static/svg/delete.svg");
|
||||
background-image: url("../../static/svg/delete.svg");
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 55%;
|
||||
|
@ -261,8 +261,8 @@ body {
|
|||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
.notesBar .noteButton {
|
||||
width: calc(100% - 5px - 5px);
|
||||
.notesBar .noteButton, .notesBar .loadingStuff {
|
||||
width: calc(100% - 7px - 7px - 3.5px);
|
||||
height: 35px;
|
||||
line-height: 0px;
|
||||
padding: 10px;
|
||||
|
|
|
@ -206,7 +206,11 @@ function updateUserInfo() {
|
|||
"Content-Type": "application/json; charset=UTF-8"
|
||||
}
|
||||
})
|
||||
.then((response) => response)
|
||||
.catch((error) => {
|
||||
noteBox.readOnly = true
|
||||
noteBox.value = ""
|
||||
noteBox.placeholder = "Failed to connect to the server.\nPlease check your internet connection."
|
||||
})
|
||||
.then((response) => {
|
||||
async function doStuff() {
|
||||
if (response.status == 500) {
|
||||
|
@ -302,7 +306,7 @@ sessionManagerButton.addEventListener("click", (event) => {
|
|||
if (ua.includes("NT") || ua.includes("Linux")) {
|
||||
sessionImage.src = "/static/svg/device_computer.svg"
|
||||
}
|
||||
if (ua.includes("iPhone" || ua.includes("Android") || ua.include ("iPod"))) {
|
||||
if (ua.includes("iPhone" || ua.includes("Android") || ua.include("iPod"))) {
|
||||
sessionImage.src = "/static/svg/device_smartphone.svg"
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue