Made all paths relative
This commit is contained in:
parent
b4006fb96c
commit
91fc7703df
|
@ -1,4 +1,4 @@
|
||||||
@import url("/static/fonts/inter.css");
|
@import url("../fonts/inter.css");
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--invertdm: 0%;
|
--invertdm: 0%;
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
if (localStorage.getItem("DONOTSHARE-secretkey") !== null) {
|
if (localStorage.getItem("DONOTSHARE-secretkey") !== null) {
|
||||||
window.location.replace("/app")
|
window.location.replace("../app/index.html")
|
||||||
document.body.innerHTML = "Redirecting..."
|
document.body.innerHTML = "Redirecting..."
|
||||||
throw new Error();
|
throw new Error();
|
||||||
}
|
}
|
||||||
if (localStorage.getItem("DONOTSHARE-password") !== null) {
|
if (localStorage.getItem("DONOTSHARE-password") !== null) {
|
||||||
window.location.replace("/app")
|
window.location.replace("../app/index.html")
|
||||||
document.body.innerHTML = "Redirecting..."
|
document.body.innerHTML = "Redirecting..."
|
||||||
throw new Error();
|
throw new Error();
|
||||||
}
|
}
|
||||||
|
@ -109,7 +109,7 @@ signupButton.addEventListener("click", (event) => {
|
||||||
return key
|
return key
|
||||||
};
|
};
|
||||||
|
|
||||||
fetch("/api/login", {
|
fetch("https://notes.hectabit.org/api/login", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
username: username,
|
username: username,
|
||||||
|
@ -129,11 +129,11 @@ signupButton.addEventListener("click", (event) => {
|
||||||
localStorage.setItem("DONOTSHARE-secretkey", responseData["key"])
|
localStorage.setItem("DONOTSHARE-secretkey", responseData["key"])
|
||||||
localStorage.setItem("DONOTSHARE-password", await hashwasm.sha512(password))
|
localStorage.setItem("DONOTSHARE-password", await hashwasm.sha512(password))
|
||||||
|
|
||||||
window.location.href = "/app"
|
window.location.href = "../app/index.html"
|
||||||
}
|
}
|
||||||
else if (response.status == 401) {
|
else if (response.status == 401) {
|
||||||
console.log("Trying oldhash")
|
console.log("Trying oldhash")
|
||||||
fetch("/api/login", {
|
fetch("https://notes.hectabit.org/api/login", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
username: username,
|
username: username,
|
||||||
|
@ -153,7 +153,7 @@ signupButton.addEventListener("click", (event) => {
|
||||||
localStorage.setItem("DONOTSHARE-secretkey", responseData["key"])
|
localStorage.setItem("DONOTSHARE-secretkey", responseData["key"])
|
||||||
localStorage.setItem("DONOTSHARE-password", await hashwasm.sha512(password))
|
localStorage.setItem("DONOTSHARE-password", await hashwasm.sha512(password))
|
||||||
|
|
||||||
window.location.href = "/app"
|
window.location.href = "../app/index.html"
|
||||||
}
|
}
|
||||||
else if (response.status == 401) {
|
else if (response.status == 401) {
|
||||||
statusBox.innerText = "Wrong username or password..."
|
statusBox.innerText = "Wrong username or password..."
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
if (localStorage.getItem("DONOTSHARE-secretkey") === null) {
|
if (localStorage.getItem("DONOTSHARE-secretkey") === null) {
|
||||||
window.location.replace("/login")
|
window.location.replace("../login/index.html")
|
||||||
document.body.innerHTML = "Redirecting..."
|
document.body.innerHTML = "Redirecting..."
|
||||||
throw new Error();
|
throw new Error();
|
||||||
}
|
}
|
||||||
if (localStorage.getItem("DONOTSHARE-password") === null) {
|
if (localStorage.getItem("DONOTSHARE-password") === null) {
|
||||||
window.location.replace("/login")
|
window.location.replace("../login/index.html")
|
||||||
document.body.innerHTML = "Redirecting..."
|
document.body.innerHTML = "Redirecting..."
|
||||||
throw new Error();
|
throw new Error();
|
||||||
}
|
}
|
||||||
|
@ -197,7 +197,7 @@ textMinusBox.addEventListener("click", (event) => {
|
||||||
|
|
||||||
|
|
||||||
function updateUserInfo() {
|
function updateUserInfo() {
|
||||||
fetch("/api/userinfo", {
|
fetch("https://notes.hectabit.org/api/userinfo", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
secretKey: secretkey
|
secretKey: secretkey
|
||||||
|
@ -214,7 +214,7 @@ function updateUserInfo() {
|
||||||
closeErrorButton.classList.add("hidden")
|
closeErrorButton.classList.add("hidden")
|
||||||
usernameBox.innerText = ""
|
usernameBox.innerText = ""
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
window.location.replace("/api/logout")
|
window.location.replace("https://notes.hectabit.org/api/logout")
|
||||||
}, 2500);
|
}, 2500);
|
||||||
} else {
|
} else {
|
||||||
let responseData = await response.json()
|
let responseData = await response.json()
|
||||||
|
@ -236,7 +236,7 @@ usernameBox.addEventListener("click", (event) => {
|
||||||
updateUserInfo()
|
updateUserInfo()
|
||||||
});
|
});
|
||||||
logOutButton.addEventListener("click", (event) => {
|
logOutButton.addEventListener("click", (event) => {
|
||||||
window.location.replace("/api/logout")
|
window.location.replace("https://notes.hectabit.org/api/logout")
|
||||||
});
|
});
|
||||||
exitThing.addEventListener("click", (event) => {
|
exitThing.addEventListener("click", (event) => {
|
||||||
optionsDiv.classList.add("hidden")
|
optionsDiv.classList.add("hidden")
|
||||||
|
@ -244,7 +244,7 @@ exitThing.addEventListener("click", (event) => {
|
||||||
});
|
});
|
||||||
deleteMyAccountButton.addEventListener("click", (event) => {
|
deleteMyAccountButton.addEventListener("click", (event) => {
|
||||||
if (confirm("Are you REALLY sure that you want to delete your account? There's no going back!") == true) {
|
if (confirm("Are you REALLY sure that you want to delete your account? There's no going back!") == true) {
|
||||||
fetch("/api/deleteaccount", {
|
fetch("https://notes.hectabit.org/api/deleteaccount", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
secretKey: secretkey
|
secretKey: secretkey
|
||||||
|
@ -256,7 +256,7 @@ deleteMyAccountButton.addEventListener("click", (event) => {
|
||||||
.then((response) => response)
|
.then((response) => response)
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
if (response.status == 200) {
|
if (response.status == 200) {
|
||||||
window.location.href = "/api/logout"
|
window.location.href = "https://notes.hectabit.org/api/logout"
|
||||||
} else {
|
} else {
|
||||||
displayError("Failed to delete account (HTTP error code " + response.status + ")")
|
displayError("Failed to delete account (HTTP error code " + response.status + ")")
|
||||||
}
|
}
|
||||||
|
@ -267,7 +267,7 @@ sessionManagerButton.addEventListener("click", (event) => {
|
||||||
optionsDiv.classList.add("hidden")
|
optionsDiv.classList.add("hidden")
|
||||||
sessionManagerDiv.classList.remove("hidden")
|
sessionManagerDiv.classList.remove("hidden")
|
||||||
|
|
||||||
fetch("/api/sessions/list", {
|
fetch("https://notes.hectabit.org/api/sessions/list", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
secretKey: secretkey
|
secretKey: secretkey
|
||||||
|
@ -307,7 +307,7 @@ sessionManagerButton.addEventListener("click", (event) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
sessionRemoveButton.addEventListener("click", (event) => {
|
sessionRemoveButton.addEventListener("click", (event) => {
|
||||||
fetch("/api/sessions/remove", {
|
fetch("https://notes.hectabit.org/api/sessions/remove", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
secretKey: secretkey,
|
secretKey: secretkey,
|
||||||
|
@ -320,7 +320,7 @@ sessionManagerButton.addEventListener("click", (event) => {
|
||||||
.then((response) => response)
|
.then((response) => response)
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
if (responseData[i]["thisSession"] == true) {
|
if (responseData[i]["thisSession"] == true) {
|
||||||
window.location.replace("/api/logout")
|
window.location.replace("https://notes.hectabit.org/api/logout")
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
sessionElement.remove()
|
sessionElement.remove()
|
||||||
|
@ -358,7 +358,7 @@ function selectNote(nameithink) {
|
||||||
let thingArray = Array.from(document.querySelectorAll(".noteButton")).find(el => el.id == nameithink);
|
let thingArray = Array.from(document.querySelectorAll(".noteButton")).find(el => el.id == nameithink);
|
||||||
thingArray.classList.add("selected")
|
thingArray.classList.add("selected")
|
||||||
|
|
||||||
fetch("/api/readnote", {
|
fetch("https://notes.hectabit.org/api/readnote", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
secretKey: secretkey,
|
secretKey: secretkey,
|
||||||
|
@ -396,7 +396,7 @@ function selectNote(nameithink) {
|
||||||
let encryptedText = CryptoJS.AES.encrypt(noteBox.value, password).toString();
|
let encryptedText = CryptoJS.AES.encrypt(noteBox.value, password).toString();
|
||||||
|
|
||||||
if (selectedNote == nameithink) {
|
if (selectedNote == nameithink) {
|
||||||
fetch("/api/editnote", {
|
fetch("https://notes.hectabit.org/api/editnote", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
secretKey: secretkey,
|
secretKey: secretkey,
|
||||||
|
@ -425,7 +425,7 @@ function selectNote(nameithink) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateNotes() {
|
function updateNotes() {
|
||||||
fetch("/api/listnotes", {
|
fetch("https://notes.hectabit.org/api/listnotes", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
secretKey: secretkey
|
secretKey: secretkey
|
||||||
|
@ -459,7 +459,7 @@ function updateNotes() {
|
||||||
|
|
||||||
noteButton.addEventListener("click", (event) => {
|
noteButton.addEventListener("click", (event) => {
|
||||||
if (event.ctrlKey) {
|
if (event.ctrlKey) {
|
||||||
fetch("/api/removenote", {
|
fetch("https://notes.hectabit.org/api/removenote", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
secretKey: secretkey,
|
secretKey: secretkey,
|
||||||
|
@ -499,7 +499,7 @@ newNote.addEventListener("click", (event) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
let encryptedName = CryptoJS.AES.encrypt(noteName, password).toString();
|
let encryptedName = CryptoJS.AES.encrypt(noteName, password).toString();
|
||||||
fetch("/api/newnote", {
|
fetch("https://notes.hectabit.org/api/newnote", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
secretKey: secretkey,
|
secretKey: secretkey,
|
||||||
|
@ -535,7 +535,7 @@ function downloadObjectAsJson(exportObj, exportName) {
|
||||||
|
|
||||||
function exportNotes() {
|
function exportNotes() {
|
||||||
let noteExport = []
|
let noteExport = []
|
||||||
fetch("/api/exportnotes", {
|
fetch("https://notes.hectabit.org/api/exportnotes", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
secretKey: secretkey
|
secretKey: secretkey
|
||||||
|
@ -594,7 +594,7 @@ removeBox.addEventListener("click", (event) => {
|
||||||
if (selectedNote == 0) {
|
if (selectedNote == 0) {
|
||||||
displayError("You need to select a note first!")
|
displayError("You need to select a note first!")
|
||||||
} else {
|
} else {
|
||||||
fetch("/api/removenote", {
|
fetch("https://notes.hectabit.org/api/removenote", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
secretKey: secretkey,
|
secretKey: secretkey,
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
if (localStorage.getItem("DONOTSHARE-secretkey") !== null) {
|
if (localStorage.getItem("DONOTSHARE-secretkey") !== null) {
|
||||||
window.location.replace("/app")
|
window.location.replace("../app/index.html")
|
||||||
document.body.innerHTML = "Redirecting..."
|
document.body.innerHTML = "Redirecting..."
|
||||||
throw new Error();
|
throw new Error();
|
||||||
}
|
}
|
||||||
if (localStorage.getItem("DONOTSHARE-password") !== null) {
|
if (localStorage.getItem("DONOTSHARE-password") !== null) {
|
||||||
window.location.replace("/app")
|
window.location.replace("../app/index.html")
|
||||||
document.body.innerHTML = "Redirecting..."
|
document.body.innerHTML = "Redirecting..."
|
||||||
throw new Error();
|
throw new Error();
|
||||||
}
|
}
|
||||||
|
@ -61,7 +61,7 @@ signupButton.addEventListener("click", (event) => {
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
fetch("/api/signup", {
|
fetch("https://notes.hectabit.org/api/signup", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
username: username,
|
username: username,
|
||||||
|
@ -81,7 +81,7 @@ signupButton.addEventListener("click", (event) => {
|
||||||
localStorage.setItem("DONOTSHARE-secretkey", responseData["key"])
|
localStorage.setItem("DONOTSHARE-secretkey", responseData["key"])
|
||||||
localStorage.setItem("DONOTSHARE-password", await hashwasm.sha512(password))
|
localStorage.setItem("DONOTSHARE-password", await hashwasm.sha512(password))
|
||||||
|
|
||||||
window.location.href = "/app"
|
window.location.href = "../app/index.html"
|
||||||
}
|
}
|
||||||
else if (response.status == 409) {
|
else if (response.status == 409) {
|
||||||
statusBox.innerText = "Username already taken!"
|
statusBox.innerText = "Username already taken!"
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||||
<link rel="stylesheet" type="text/css" href="/static/css/style.css" />
|
<link rel="stylesheet" type="text/css" href="../static/css/style.css" />
|
||||||
<script type="text/javascript" src="/static/js/crypto-js.js"></script>
|
<script type="text/javascript" src="../static/js/crypto-js.js"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
<div id="notesBar" class="notesBar">
|
<div id="notesBar" class="notesBar">
|
||||||
<button id="newNote" class="newNote"><img id="newNoteImage" draggable="false" alt=""
|
<button id="newNote" class="newNote"><img id="newNoteImage" draggable="false" alt=""
|
||||||
src="/static/svg/add.svg">New note</button>
|
src="../static/svg/add.svg">New note</button>
|
||||||
<div id="notesDiv" class="notesDiv">
|
<div id="notesDiv" class="notesDiv">
|
||||||
<button class="loadingStuff" id="loadingStuff"></button>
|
<button class="loadingStuff" id="loadingStuff"></button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -46,10 +46,10 @@
|
||||||
<p id="storageThing"></p>
|
<p id="storageThing"></p>
|
||||||
<div class="section"></div>
|
<div class="section"></div>
|
||||||
<p>Account managment</p>
|
<p>Account managment</p>
|
||||||
<button id="deleteMyAccountButton"><img src="/static/svg/delete_forever.svg">Delete my account</button>
|
<button id="deleteMyAccountButton"><img src="../static/svg/delete_forever.svg">Delete my account</button>
|
||||||
<button id="exportNotesButton"><img src="/static/svg/download.svg">Export notes</button>
|
<button id="exportNotesButton"><img src="../static/svg/download.svg">Export notes</button>
|
||||||
<button id="sessionManagerButton"><img src="/static/svg/list.svg">Session manager</button>
|
<button id="sessionManagerButton"><img src="../static/svg/list.svg">Session manager</button>
|
||||||
<button class="lastButton" id="logOutButton"><img src="/static/svg/logout.svg">Log out</button>
|
<button class="lastButton" id="logOutButton"><img src="../static/svg/logout.svg">Log out</button>
|
||||||
</div>
|
</div>
|
||||||
<div id="sessionManagerDiv" class="optionsDiv hidden">
|
<div id="sessionManagerDiv" class="optionsDiv hidden">
|
||||||
<button class="exit" id="exitSessionsThing">X</button>
|
<button class="exit" id="exitSessionsThing">X</button>
|
||||||
|
@ -70,7 +70,7 @@
|
||||||
|
|
||||||
<textarea id="noteBox" class="noteBox"></textarea>
|
<textarea id="noteBox" class="noteBox"></textarea>
|
||||||
|
|
||||||
<script type="text/javascript" src="/static/js/main.js"></script>
|
<script type="text/javascript" src="../static/js/main.js"></script>
|
||||||
<script>
|
<script>
|
||||||
for (let i = 0; i < 40; i++) {
|
for (let i = 0; i < 40; i++) {
|
||||||
notesDiv.appendChild(loadingStuff.cloneNode())
|
notesDiv.appendChild(loadingStuff.cloneNode())
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||||
<link rel="stylesheet" type="text/css" href="/static/css/style.css" />
|
<link rel="stylesheet" type="text/css" href="../static/css/style.css" />
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||||
<link rel="stylesheet" type="text/css" href="/static/css/style.css" />
|
<link rel="stylesheet" type="text/css" href="../static/css/style.css" />
|
||||||
<script src="/static/js/hash-wasm.js"></script>
|
<script src="../static/js/hash-wasm.js"></script>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -19,8 +19,8 @@
|
||||||
<input id="passwordBox" class="hidden" type="password" placeholder="Enter your password">
|
<input id="passwordBox" class="hidden" type="password" placeholder="Enter your password">
|
||||||
<button id="signupButton">Next</button>
|
<button id="signupButton">Next</button>
|
||||||
<button id="backButton" class="hidden">Back</button><br><br>
|
<button id="backButton" class="hidden">Back</button><br><br>
|
||||||
<p>Don't have an account? If so, <a href="/signup">Create one here!</a></p>
|
<p>Don't have an account? If so, <a href="../signup/index.html">Create one here!</a></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type="text/javascript" src="/static/js/login.js"></script>
|
<script type="text/javascript" src="../static/js/login.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -11,5 +11,5 @@ Logging out..
|
||||||
localStorage.removeItem("DONOTSHARE-secretkey")
|
localStorage.removeItem("DONOTSHARE-secretkey")
|
||||||
localStorage.removeItem("DONOTSHARE-password")
|
localStorage.removeItem("DONOTSHARE-password")
|
||||||
localStorage.removeItem("CACHE-username")
|
localStorage.removeItem("CACHE-username")
|
||||||
window.location.replace("/")
|
window.location.replace("../index.html")
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -17,12 +17,12 @@
|
||||||
<h1 class="w300">Burgernotes</h1>
|
<h1 class="w300">Burgernotes</h1>
|
||||||
<p>A simple note-taking service!</p>
|
<p>A simple note-taking service!</p>
|
||||||
<br>
|
<br>
|
||||||
<a href="/app">Open in your browser</a>
|
<a href="./app/index.html">Open in your browser</a>
|
||||||
|
|
||||||
<a href="/static/burgernotes.mobileconfig" style="margin-top: 5px;">Download for iOS</a>
|
<a href="./static/burgernotes.mobileconfig" style="margin-top: 5px;">Download for iOS</a>
|
||||||
|
|
||||||
<a style="padding: 0; padding-bottom: 0; margin-top: 5px; background-color: rgba(0, 0, 0, 0);" href="https://flathub.org/apps/org.hectabit.burgernotes">
|
<a style="padding: 0; padding-bottom: 0; margin-top: 5px; background-color: rgba(0, 0, 0, 0);" href="https://flathub.org/apps/org.hectabit.burgernotes">
|
||||||
<img class="flathubLogo" style="height: 55px;"src="/static/svg/flathublight.svg">
|
<img class="flathubLogo" style="height: 55px;"src="./static/svg/flathublight.svg">
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<br>
|
<br>
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="links">
|
<div class="links">
|
||||||
<a href="https://centrifuge.hectabit.org/hectabit/burgernotes">Source code</a>
|
<a href="https://centrifuge.hectabit.org/hectabit/burgernotes">Source code</a>
|
||||||
<a href="/privacy">Privacy policy</a>
|
<a href="./privacy/index.html">Privacy policy</a>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||||
<link rel="stylesheet" type="text/css" href="/static/css/style.css" />
|
<link rel="stylesheet" type="text/css" href="../static/css/style.css" />
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||||
<link rel="stylesheet" type="text/css" href="/static/css/style.css" />
|
<link rel="stylesheet" type="text/css" href="../static/css/style.css" />
|
||||||
<script src="/static/js/hash-wasm.js"></script>
|
<script src="../static/js/hash-wasm.js"></script>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -20,8 +20,8 @@
|
||||||
<input id="passwordBox" type="password" placeholder="Password">
|
<input id="passwordBox" type="password" placeholder="Password">
|
||||||
<button id="signupButton">Signup</button><br><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>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">Login</a> instead!</p>
|
<p>Already have an account? If so, <a href="../login/index.html">Login</a> instead!</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type="text/javascript" src="/static/js/signup.js"></script>
|
<script type="text/javascript" src="../static/js/signup.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Reference in New Issue