diff --git a/._TODO.txt b/._TODO.txt
new file mode 100755
index 0000000..415539b
Binary files /dev/null and b/._TODO.txt differ
diff --git a/._about.html b/._about.html
new file mode 100755
index 0000000..415539b
Binary files /dev/null and b/._about.html differ
diff --git a/._assets b/._assets
new file mode 100755
index 0000000..415539b
Binary files /dev/null and b/._assets differ
diff --git a/._contact.html b/._contact.html
new file mode 100755
index 0000000..415539b
Binary files /dev/null and b/._contact.html differ
diff --git a/._extras.html b/._extras.html
new file mode 100755
index 0000000..415539b
Binary files /dev/null and b/._extras.html differ
diff --git a/._index.html b/._index.html
new file mode 100755
index 0000000..5d2e803
Binary files /dev/null and b/._index.html differ
diff --git a/._login.html b/._login.html
new file mode 100755
index 0000000..415539b
Binary files /dev/null and b/._login.html differ
diff --git a/._new.html b/._new.html
new file mode 100755
index 0000000..415539b
Binary files /dev/null and b/._new.html differ
diff --git a/._register.html b/._register.html
new file mode 100755
index 0000000..415539b
Binary files /dev/null and b/._register.html differ
diff --git a/._scripts b/._scripts
new file mode 100755
index 0000000..415539b
Binary files /dev/null and b/._scripts differ
diff --git a/._styles b/._styles
new file mode 100755
index 0000000..415539b
Binary files /dev/null and b/._styles differ
diff --git a/._vnos.html b/._vnos.html
new file mode 100755
index 0000000..415539b
Binary files /dev/null and b/._vnos.html differ
diff --git a/README.md b/README.md
old mode 100644
new mode 100755
diff --git a/TODO.txt b/TODO.txt
old mode 100644
new mode 100755
diff --git a/about.html b/about.html
old mode 100644
new mode 100755
index db67ad9..9a21c1b
--- a/about.html
+++ b/about.html
@@ -24,7 +24,7 @@
To je skrit del strani. Kliknite gumb zgoraj, da ga prikažete ali skrijete.
diff --git a/index.html b/index.html
old mode 100644
new mode 100755
diff --git a/login.html b/login.html
old mode 100644
new mode 100755
index 9a55aff..896f660
--- a/login.html
+++ b/login.html
@@ -30,11 +30,11 @@
diff --git a/register.html b/register.html
old mode 100644
new mode 100755
index 3fb95a7..4842f33
--- a/register.html
+++ b/register.html
@@ -38,11 +38,11 @@
- Glavna stran
+ Glavna stran
diff --git a/scripts/._contact.js b/scripts/._contact.js
new file mode 100755
index 0000000..415539b
Binary files /dev/null and b/scripts/._contact.js differ
diff --git a/scripts/._extras.js b/scripts/._extras.js
new file mode 100755
index 0000000..415539b
Binary files /dev/null and b/scripts/._extras.js differ
diff --git a/scripts/._index.js b/scripts/._index.js
new file mode 100755
index 0000000..415539b
Binary files /dev/null and b/scripts/._index.js differ
diff --git a/scripts/._login.js b/scripts/._login.js
new file mode 100755
index 0000000..415539b
Binary files /dev/null and b/scripts/._login.js differ
diff --git a/scripts/._main.js b/scripts/._main.js
new file mode 100755
index 0000000..415539b
Binary files /dev/null and b/scripts/._main.js differ
diff --git a/scripts/._new.js b/scripts/._new.js
new file mode 100755
index 0000000..415539b
Binary files /dev/null and b/scripts/._new.js differ
diff --git a/scripts/._preload.js b/scripts/._preload.js
new file mode 100755
index 0000000..415539b
Binary files /dev/null and b/scripts/._preload.js differ
diff --git a/scripts/._register.js b/scripts/._register.js
new file mode 100755
index 0000000..415539b
Binary files /dev/null and b/scripts/._register.js differ
diff --git a/scripts/._vnos.js b/scripts/._vnos.js
new file mode 100755
index 0000000..415539b
Binary files /dev/null and b/scripts/._vnos.js differ
diff --git a/scripts/contact.js b/scripts/contact.js
old mode 100644
new mode 100755
index 3c82f37..03b9cd4
--- a/scripts/contact.js
+++ b/scripts/contact.js
@@ -35,14 +35,14 @@ document.addEventListener("DOMContentLoaded", () => {
console.log("Success:", data);
document.getElementById("contact-form").innerHTML = `
Hvala za vaše sporočilo! Odgovorili vam bomo v najkrajšem možnem času.
`;
setTimeout(() => {
- window.location.href = "/";
+ window.location.href = "index.html";
}, 3000);
})
.catch((error) => {
console.error("Error:", error);
document.getElementById("contact-form").innerHTML = `
Prišlo je do napake pri pošiljanju vašega sporočila. Prosimo, poskusite znova pozneje.
`;
setTimeout(() => {
- window.location.href = "/";
+ window.location.href = "index.html";
}, 3000);
});
diff --git a/scripts/extras.js b/scripts/extras.js
old mode 100644
new mode 100755
diff --git a/scripts/index.js b/scripts/index.js
old mode 100644
new mode 100755
index b4e6fb9..e6b20bc
--- a/scripts/index.js
+++ b/scripts/index.js
@@ -1,5 +1,5 @@
function getSpecific(kljuc) {
- window.location.href = `/vnos.html?kljuc=${kljuc}`;
+ window.location.href = `vnos.html?kljuc=${kljuc}`;
}
function getLast() {
@@ -101,7 +101,7 @@ document.getElementById("search-input").addEventListener("keydown", (event) => {
});
function addEntry() {
- window.location.href = "/new.html";
+ window.location.href = "new.html";
}
// DELAJ DELAJ
diff --git a/scripts/login.js b/scripts/login.js
old mode 100644
new mode 100755
index 9ef6eb2..6ffffeb
--- a/scripts/login.js
+++ b/scripts/login.js
@@ -31,7 +31,7 @@ document.getElementById("login-form").addEventListener("submit", async function(
document.cookie = `token=${data.token}; max-age=${3 * 60 * 60}; path=/; secure; samesite=strict`;
document.cookie = `username=${username}; max-age=${3 * 60 * 60}; path=/; secure; samesite=strict`;
- window.location.href = "/";
+ window.location.href = "index.html";
return;
}
diff --git a/scripts/main.js b/scripts/main.js
old mode 100644
new mode 100755
index 94fa21a..629c87e
--- a/scripts/main.js
+++ b/scripts/main.js
@@ -2,12 +2,12 @@ const headerHtml = `