diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/.idea/Projekt_IO.iml b/.idea/Projekt_IO.iml new file mode 100644 index 0000000..0ea2e9e --- /dev/null +++ b/.idea/Projekt_IO.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..11b66f5 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,15 @@ + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000..105ce2d --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..324e996 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..8a0775f --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/MongoDB/__pycache__/kategorie.cpython-310.pyc b/MongoDB/__pycache__/kategorie.cpython-310.pyc new file mode 100644 index 0000000..24fb85a Binary files /dev/null and b/MongoDB/__pycache__/kategorie.cpython-310.pyc differ diff --git a/cupboard.png b/smieciarka-website/Originals/cupboard.png similarity index 100% rename from cupboard.png rename to smieciarka-website/Originals/cupboard.png diff --git a/smieciarka-website/Originals/map_background.png b/smieciarka-website/Originals/map_background.png new file mode 100644 index 0000000..af5fa0f Binary files /dev/null and b/smieciarka-website/Originals/map_background.png differ diff --git a/shirt.png b/smieciarka-website/Originals/shirt.png similarity index 100% rename from shirt.png rename to smieciarka-website/Originals/shirt.png diff --git a/wardrobe.png b/smieciarka-website/Originals/wardrobe.png similarity index 100% rename from wardrobe.png rename to smieciarka-website/Originals/wardrobe.png diff --git a/smieciarka-website/js/login.js b/smieciarka-website/js/login.js new file mode 100644 index 0000000..5406671 --- /dev/null +++ b/smieciarka-website/js/login.js @@ -0,0 +1,28 @@ +document.addEventListener('DOMContentLoaded', function() { + const loginTab = document.getElementById('login-tab'); + const registerTab = document.getElementById('register-tab'); + const loginForm = document.getElementById('login-form'); + const registerForm = document.getElementById('register-form'); + const SignInButton =document.getElementById('b_si'); + const SignUpButton =document.getElementById('b_su'); + + loginTab.addEventListener('click', function() { + loginForm.style.display = 'block'; + registerForm.style.display = 'none'; + }); + + registerTab.addEventListener('click', function() { + registerForm.style.display = 'block'; + loginForm.style.display = 'none'; + }); + SignInButton.addEventListener('click', function() { + location.href = "https://jakmac02.github.io/Projekt_IO/index.html"; + + }); + SignUpButton.addEventListener('click', function() { + location.href = "https://jakmac02.github.io/Projekt_IO/index.html"; + + }); + + +}); \ No newline at end of file diff --git a/index.js b/smieciarka-website/js/main.js similarity index 97% rename from index.js rename to smieciarka-website/js/main.js index b64327b..b2e396b 100644 --- a/index.js +++ b/smieciarka-website/js/main.js @@ -10,17 +10,17 @@ var schoesIcon = L.icon({ }); var shirtIcon = L.icon({ - iconUrl: 'shirt.png', + iconUrl: 'Originals/shirt.png', iconSize: [60, 60], }); var wardrobeIcon = L.icon({ - iconUrl: 'cupboard.png', + iconUrl: 'Originals/cupboard.png', iconSize: [45, 60], }); var cupboardIcon = L.icon({ - iconUrl: 'wardrobe.png', + iconUrl: 'Originals/wardrobe.png', iconSize: [36, 60], }); diff --git a/smieciarka-website/js/map_background.png b/smieciarka-website/js/map_background.png new file mode 100644 index 0000000..dbf4294 Binary files /dev/null and b/smieciarka-website/js/map_background.png differ diff --git a/smieciarka-website/login.html b/smieciarka-website/login.html new file mode 100644 index 0000000..87cf5e0 --- /dev/null +++ b/smieciarka-website/login.html @@ -0,0 +1,50 @@ + + + + + + + +

+ + Smieciara uwu + + +

+ + + + +
+
+
+ + +

+ + +

+ +

+
+
+
+
+
+ + +

+ + +

+ + +

+ +

+
+
+
+ + + \ No newline at end of file diff --git a/index.html b/smieciarka-website/main.html similarity index 95% rename from index.html rename to smieciarka-website/main.html index caf0abc..b94ddb2 100644 --- a/index.html +++ b/smieciarka-website/main.html @@ -1,7 +1,7 @@ - + Śmieciarka @@ -69,6 +69,6 @@

- + diff --git a/smieciarka-website/style/login.css b/smieciarka-website/style/login.css new file mode 100644 index 0000000..232573f --- /dev/null +++ b/smieciarka-website/style/login.css @@ -0,0 +1,99 @@ + +body { + background-image: url('../Originals/map_background.png'); + background-size: cover; + font-family: Arial, sans-serif; +} + +.button { + background: #BAC9A6; /* Kolor tła */ + box-shadow: inset 10px 13px 49px -3px #bac9a6; + border-radius: 22px; + display: inline-block; + cursor: pointer; + color: #2e2e2e; + font-family: Georgia; + font-size: 15px; + font-weight: bold; + padding: 12px 30px; + text-decoration: none; +} + +.button:hover { + background: linear-gradient(to bottom, #bdd1af 5%, #dbe6c4 100%); + background-color: #bdd1af; +} + +.button:active { + position: relative; + top: 1px; +} + +.tabs { + display: flex; + flex-wrap: wrap; + justify-content: center; /* Wycentruj elementy .tabs */ + max-width: 225px; + max-height: 80px; + margin: 50px auto; + padding: 20px; + text-align: center; + +} + +.tabs input[type="radio"] { + display: none; /* Ukryj domyślne radio */ +} + +.tabs label { + padding: 20px; + font-weight: bold; + cursor: pointer; /* Dodaj kursor wskazujący na etykiecie */ + border-radius: 5px; /* Zaokrąglenie krawędzi etykiety */ +} + +/* Dodaj styl dla niezaznaczonych etykiet */ +.tabs input[type="radio"]:not(:checked) + label { + background-color: #ddd; /* Kolor tła dla niezaznaczonych etykiet */ + color: #555; /* Kolor tekstu dla niezaznaczonych etykiet */ +} + +/* Dodaj styl dla zaznaczonych etykiet */ +.tabs input[type="radio"]:checked + label { + background-color: #bdd1af; /* Kolor tła dla zaznaczonych etykiet */ + color: #2e2e2e; /* Kolor tekstu dla zaznaczonych etykiet */ + box-shadow: inset 0 0 5px rgba(0,0,0,0.3); /* Dodaj cień dla zaznaczonych etykiet */ +} + +.tabs .form { + width: 100%; + padding: 20px; + margin: auto; + order: 1; + display: flex; + justify-content: center; + box-shadow:inset 0px 1px 0px 0px #ffffff; + background:linear-gradient(to bottom, #f9f9f9 5%, #e9e9e9 100%); + background-color:#f9f9f9; + border-radius:6px; + border:1px solid #dcdcdc; + display:inline-block; + cursor:pointer; + color:#666666; + font-family:Georgia; + font-size:15px; + font-weight:bold; + padding:100px 150px; + text-decoration:none; + text-shadow:0px 1px 0px #ffffff; /* Wycentruj elementy formularzy */ +} + +/* Ukryj formularz rejestracji na początku */ +#register-form { + display: none; +} + +/* Dodaj ten styl, aby wyświetlić tylko formularz logowania na początku */ +#login-form { + display: block; +} diff --git a/style.css b/smieciarka-website/style/main.css similarity index 100% rename from style.css rename to smieciarka-website/style/main.css