From 760e8fff4d4fd71350ddc9b17e85e95a17d4ce8e Mon Sep 17 00:00:00 2001 From: Rasmus Date: Fri, 31 Mar 2023 19:41:34 +0300 Subject: oops --- rannak/endPage/fonts/fontDos/OFL.txt | 0 .../endPage/fonts/fontDos/PressStart2P-Regular.ttf | Bin rannak/endPage/fonts/fontUno/Monoton-Regular.ttf | Bin rannak/endPage/fonts/fontUno/OFL.txt | 0 rannak/endPage/img/798916.jpg | Bin rannak/endPage/img/798919.jpg | Bin rannak/endPage/img/798923.png | Bin rannak/endPage/img/dos.png | Bin rannak/endPage/img/tres.png | Bin rannak/endPage/img/uno.jpg | Bin rannak/endPage/index.html | 12 + rannak/endPage/main.js | 17 +- rannak/endPage/style.css | 27 +- rannak/kaart/css/kaart.css | 74 --- rannak/kaart/index.html | 16 +- rannak/kaart/js/kaart.js | 108 ----- rannak/kaart/kaart.css | 74 +++ rannak/kaart/kaart.js | 108 +++++ .../pood.bak/fonts/1001fonts-eutemia-i-eula.txt | 31 -- .../mangud/arimees/baks/pood.bak/fonts/Eutemia.ttf | Bin 32564 -> 0 bytes rannak/mangud/arimees/baks/pood.bak/index.html | 223 --------- .../mangud/arimees/baks/pood.bak/pildid/avatar.png | Bin 73556 -> 0 bytes .../mangud/arimees/baks/pood.bak/pildid/kingad.png | Bin 2672289 -> 0 bytes .../mangud/arimees/baks/pood.bak/pildid/kohver.png | Bin 5128984 -> 0 bytes .../mangud/arimees/baks/pood.bak/pildid/kupsis.png | Bin 64952 -> 0 bytes .../mangud/arimees/baks/pood.bak/pildid/laud.png | Bin 1280042 -> 0 bytes rannak/mangud/arimees/baks/pood.bak/pildid/sai.png | Bin 2596703 -> 0 bytes .../arimees/baks/pood.bak/pildid/tugitool.png | Bin 5801727 -> 0 bytes rannak/mangud/arimees/baks/pood.bak/script.js | 69 --- rannak/mangud/arimees/baks/pood.bak/styles.css | 167 ------- .../baks/pood/fonts/1001fonts-eutemia-i-eula.txt | 0 rannak/mangud/arimees/baks/pood/fonts/Eutemia.ttf | Bin rannak/mangud/arimees/baks/pood/index.html | 0 rannak/mangud/arimees/baks/pood/pildid/avatar.png | Bin rannak/mangud/arimees/baks/pood/pildid/kingad.png | Bin rannak/mangud/arimees/baks/pood/pildid/kohver.png | Bin rannak/mangud/arimees/baks/pood/pildid/kupsis.png | Bin rannak/mangud/arimees/baks/pood/pildid/laud.png | Bin rannak/mangud/arimees/baks/pood/pildid/sai.png | Bin .../mangud/arimees/baks/pood/pildid/tugitool.png | Bin rannak/mangud/arimees/baks/pood/script.js | 0 rannak/mangud/arimees/baks/pood/styles.css | 0 rannak/mangud/arimees/muusika/index.html | 0 rannak/mangud/arimees/muusika/pildid/avatar.png | Bin rannak/mangud/arimees/muusika/script.js | 0 rannak/mangud/arimees/muusika/style.css | 0 rannak/mangud/arimees/pood/index.html | 56 ++- rannak/mangud/arimees/pood/pildid/12.jpg | Bin 0 -> 618138 bytes rannak/mangud/arimees/pood/pildid/13.jpg | Bin 0 -> 654006 bytes rannak/mangud/arimees/pood/pildid/14.jpg | Bin 0 -> 1812244 bytes rannak/mangud/arimees/pood/pildid/15.jpg | Bin 0 -> 2256889 bytes rannak/mangud/arimees/pood/pildid/16.jpg | Bin 0 -> 1470522 bytes rannak/mangud/arimees/pood/pildid/17.jpg | Bin 0 -> 1770704 bytes rannak/mangud/arimees/pood/pildid/18.jpg | Bin 0 -> 2863613 bytes rannak/mangud/arimees/pood/pildid/avatar.png | Bin rannak/mangud/arimees/pood/script.js | 83 +++- rannak/mangud/arimees/pood/style.css | 19 +- rannak/mangud/arimees/soome/fonts/OFL.txt | 0 rannak/mangud/arimees/soome/fonts/README.txt | 0 .../soome/fonts/Rubik-Italic-VariableFont_wght.ttf | Bin .../soome/fonts/Rubik-VariableFont_wght.ttf | Bin .../arimees/soome/fonts/static/Rubik-Black.ttf | Bin .../soome/fonts/static/Rubik-BlackItalic.ttf | Bin .../arimees/soome/fonts/static/Rubik-Bold.ttf | Bin .../soome/fonts/static/Rubik-BoldItalic.ttf | Bin .../arimees/soome/fonts/static/Rubik-ExtraBold.ttf | Bin .../soome/fonts/static/Rubik-ExtraBoldItalic.ttf | Bin .../arimees/soome/fonts/static/Rubik-Italic.ttf | Bin .../arimees/soome/fonts/static/Rubik-Light.ttf | Bin .../soome/fonts/static/Rubik-LightItalic.ttf | Bin .../arimees/soome/fonts/static/Rubik-Medium.ttf | Bin .../soome/fonts/static/Rubik-MediumItalic.ttf | Bin .../arimees/soome/fonts/static/Rubik-Regular.ttf | Bin .../arimees/soome/fonts/static/Rubik-SemiBold.ttf | Bin .../soome/fonts/static/Rubik-SemiBoldItalic.ttf | Bin rannak/mangud/arimees/soome/index.html | 0 rannak/mangud/arimees/soome/pildid/avatar.png | Bin rannak/mangud/arimees/soome/script.js | 0 rannak/mangud/arimees/soome/style.css | 0 rannak/mangud/direktor/kone/index.html | 135 ++++++ rannak/mangud/direktor/kone/pildid/avatar.png | Bin 0 -> 690924 bytes rannak/mangud/direktor/kone/script.js | 25 + rannak/mangud/direktor/kone/style.css | 95 ++++ rannak/mangud/index.html | 8 +- .../kaitseliitlane/salakood/fonts/28DaysLater.ttf | Bin .../kaitseliitlane/salakood/fonts/mrs-monster.zip | Bin .../kaitseliitlane/salakood/fonts/mrsmonster.ttf | Bin .../kaitseliitlane/salakood/fonts/mrsmonster.txt | 0 .../kaitseliitlane/salakood/fonts/mrsmonster3d.ttf | Bin .../salakood/fonts/mrsmonster3dital.ttf | Bin .../salakood/fonts/mrsmonsteracad.ttf | Bin .../salakood/fonts/mrsmonsterboldout.ttf | Bin .../salakood/fonts/mrsmonsterboldoutital.ttf | Bin .../salakood/fonts/mrsmonstercond.ttf | Bin .../salakood/fonts/mrsmonstercondital.ttf | Bin .../salakood/fonts/mrsmonsterexpand.ttf | Bin .../salakood/fonts/mrsmonsterexpandital.ttf | Bin .../salakood/fonts/mrsmonsterital.ttf | Bin .../salakood/fonts/mrsmonsterleft.ttf | Bin .../salakood/fonts/mrsmonsterout.ttf | Bin .../salakood/fonts/mrsmonsteroutital.ttf | Bin .../salakood/fonts/mrsmonsterrotal.ttf | Bin .../salakood/fonts/mrsmonsterrotate.ttf | Bin .../salakood/fonts/mrsmonsterrotate2.ttf | Bin rannak/mangud/kaitseliitlane/salakood/index.html | 0 .../kaitseliitlane/salakood/pildid/avatar.jpg | Bin .../mangud/kaitseliitlane/salakood/pildid/bk.jpg | Bin rannak/mangud/kaitseliitlane/salakood/script.js | 0 rannak/mangud/kaitseliitlane/salakood/style.css | 0 .../mangud/kaitseliitlane/soomusmasinad/index.html | 111 +++++ .../soomusmasinad/pildid/EVkuulutamine.jpg | Bin 0 -> 78339 bytes .../kaitseliitlane/soomusmasinad/pildid/avatar.jpg | Bin 0 -> 137594 bytes .../soomusmasinad/pildid/baltikett.jpg | Bin 0 -> 90772 bytes .../soomusmasinad/pildid/hirvepark.jpg | Bin 0 -> 186590 bytes .../soomusmasinad/pildid/interrinne.jpg | Bin 0 -> 79800 bytes .../soomusmasinad/pildid/laulupidu.jpg | Bin 0 -> 722236 bytes .../soomusmasinad/pildid/teletorn.jpg | Bin 0 -> 69745 bytes .../mangud/kaitseliitlane/soomusmasinad/script.js | 43 ++ .../mangud/kaitseliitlane/soomusmasinad/styles.css | 98 ++++ rannak/mangud/kaitseliitlane/sundmused/index.html | 0 .../sundmused/pildid/EVkuulutamine.jpg | Bin .../kaitseliitlane/sundmused/pildid/avatar.jpg | Bin .../kaitseliitlane/sundmused/pildid/baltikett.jpg | Bin .../kaitseliitlane/sundmused/pildid/hirvepark.jpg | Bin .../kaitseliitlane/sundmused/pildid/interrinne.jpg | Bin .../kaitseliitlane/sundmused/pildid/laulupidu.jpg | Bin .../kaitseliitlane/sundmused/pildid/teletorn.jpg | Bin rannak/mangud/kaitseliitlane/sundmused/script.js | 0 rannak/mangud/kaitseliitlane/sundmused/styles.css | 0 rannak/mangud/partorg/kuulsused.bak/index.html | 139 ------ .../mangud/partorg/kuulsused.bak/pildid/avatar.png | Bin 657556 -> 0 bytes .../mangud/partorg/kuulsused.bak/pildid/kogan.jpg | Bin 1615437 -> 0 bytes .../mangud/partorg/kuulsused.bak/pildid/laar.jpg | Bin 115333 -> 0 bytes .../partorg/kuulsused.bak/pildid/lauristin.jpg | Bin 123371 -> 0 bytes .../mangud/partorg/kuulsused.bak/pildid/ruutel.jpg | Bin 91185 -> 0 bytes .../partorg/kuulsused.bak/pildid/savisaar.jpg | Bin 87392 -> 0 bytes .../mangud/partorg/kuulsused.bak/pildid/valk.jpg | Bin 331930 -> 0 bytes rannak/mangud/partorg/kuulsused.bak/script.js | 133 ----- rannak/mangud/partorg/kuulsused.bak/styles.css | 101 ---- rannak/mangud/partorg/kuulsused/index.html | 0 rannak/mangud/partorg/kuulsused/pildid/avatar.png | Bin rannak/mangud/partorg/kuulsused/pildid/kogan.jpg | Bin rannak/mangud/partorg/kuulsused/pildid/laar.jpg | Bin .../mangud/partorg/kuulsused/pildid/lauristin.jpg | Bin rannak/mangud/partorg/kuulsused/pildid/ruutel.jpg | Bin .../mangud/partorg/kuulsused/pildid/savisaar.jpg | Bin rannak/mangud/partorg/kuulsused/pildid/valk.jpg | Bin rannak/mangud/partorg/kuulsused/script.js | 0 rannak/mangud/partorg/kuulsused/styles.css | 0 rannak/mangud/partorg/plakat.bak/img/avatar.png | Bin rannak/mangud/partorg/plakat.bak/img/lenin.png | Bin rannak/mangud/partorg/plakat.bak/img/nazi.png | Bin .../mangud/partorg/plakat.bak/img/normalSelect.cur | Bin rannak/mangud/partorg/plakat.bak/img/redStar.png | Bin rannak/mangud/partorg/plakat.bak/img/stalin.jpg | Bin .../mangud/partorg/plakat.bak/img/stalinAddOn.png | Bin rannak/mangud/partorg/plakat.bak/img/testImg.jpg | Bin rannak/mangud/partorg/plakat.bak/img/veekogud.jpg | Bin rannak/mangud/partorg/plakat.bak/index.html | 0 rannak/mangud/partorg/plakat.bak/main.js | 0 rannak/mangud/partorg/plakat.bak/style.css | 0 rannak/mangud/partorg/plakat/img/avatar.png | Bin rannak/mangud/partorg/plakat/img/malev.jpg | Bin rannak/mangud/partorg/plakat/img/stalin.jpg | Bin rannak/mangud/partorg/plakat/img/veekogud.jpg | Bin rannak/mangud/partorg/plakat/img/viisAastak.jpg | Bin rannak/mangud/partorg/plakat/index.html | 0 rannak/mangud/partorg/plakat/script.js | 0 rannak/mangud/partorg/plakat/styles.css | 0 rannak/mangud/partorg/sonaragastik/index.html | 0 .../mangud/partorg/sonaragastik/pildid/avatar.png | Bin rannak/mangud/partorg/sonaragastik/script.js | 0 rannak/mangud/partorg/sonaragastik/style.css | 0 rannak/mangud/perenaine/kuulamine/index.html | 2 +- .../mangud/perenaine/kuulamine/pildid/avatar.png | Bin rannak/mangud/perenaine/kuulamine/script.js | 11 + rannak/mangud/perenaine/kuulamine/style.css | 0 rannak/mangud/perenaine/memori/img/alko.svg | 0 rannak/mangud/perenaine/memori/img/alko.svg.bak | 0 rannak/mangud/perenaine/memori/img/avatar.png | Bin rannak/mangud/perenaine/memori/img/butter.svg | 0 rannak/mangud/perenaine/memori/img/image.svg | 0 rannak/mangud/perenaine/memori/img/jahu.svg | 0 rannak/mangud/perenaine/memori/img/pasta.svg | 0 rannak/mangud/perenaine/memori/img/pesupulber.svg | 0 rannak/mangud/perenaine/memori/img/sool.svg | 0 rannak/mangud/perenaine/memori/img/suhkur.svg | 0 rannak/mangud/perenaine/memori/img/taga.svg | 0 rannak/mangud/perenaine/memori/img/tang.svg | 0 rannak/mangud/perenaine/memori/img/tikud.svg | 0 rannak/mangud/perenaine/memori/img/wcpaber.svg | 0 rannak/mangud/perenaine/memori/index.html | 0 rannak/mangud/perenaine/memori/script.js | 0 rannak/mangud/perenaine/memori/style.css | 0 rannak/mangud/perenaine/ristsona/index.html | 0 rannak/mangud/perenaine/ristsona/pildid/avatar.png | Bin rannak/mangud/perenaine/ristsona/script.js | 0 rannak/mangud/perenaine/ristsona/style.css | 0 rannak/mangud/style.css | 0 rannak/mangud/uliopilane/ajatelg/index.html | 0 rannak/mangud/uliopilane/ajatelg/pildid/avatar.png | Bin rannak/mangud/uliopilane/ajatelg/script.js | 0 rannak/mangud/uliopilane/ajatelg/styles.css | 0 rannak/mangud/uliopilane/tSark/img/avatar.png | Bin rannak/mangud/uliopilane/tSark/img/picLink.txt | 0 rannak/mangud/uliopilane/tSark/img/shirtImg.jpg | Bin rannak/mangud/uliopilane/tSark/img/tshirt.svg | 0 rannak/mangud/uliopilane/tSark/index.html | 0 rannak/mangud/uliopilane/tSark/main.js | 0 rannak/mangud/uliopilane/tSark/main.js.bak | 537 --------------------- rannak/mangud/uliopilane/tSark/style.css | 0 rannak/mangud/uliopilane/utlused/index.html | 0 rannak/mangud/uliopilane/utlused/main.js | 0 rannak/mangud/uliopilane/utlused/pildid/avatar.png | Bin rannak/mangud/uliopilane/utlused/utlused.css | 0 rannak/noMobiles/index.html | 0 rannak/noMobiles/style.css | 0 rannak/rolliValik/index.html | 0 rannak/rolliValik/pildid/direktor.png | Bin rannak/rolliValik/pildid/partorg.png | Bin rannak/rolliValik/pildid/perenaine.png | Bin rannak/rolliValik/pildid/tmp/arimees.jpg | Bin rannak/rolliValik/pildid/tmp/direktor.jpg | Bin rannak/rolliValik/pildid/tmp/kaitseliitlane.jpg | Bin rannak/rolliValik/pildid/tmp/partorg.jpg | Bin rannak/rolliValik/pildid/tmp/perenaine.jpg | Bin rannak/rolliValik/pildid/tmp/uliopilane.jpg | Bin rannak/rolliValik/pildid/uliopilane.png | Bin rannak/rolliValik/rolliValik.css | 0 rannak/rolliValik/rolliValik.js | 0 rannak/rolliValik/vids/partorg.mp4 | Bin 231 files changed, 898 insertions(+), 1624 deletions(-) mode change 100755 => 100644 rannak/endPage/fonts/fontDos/OFL.txt mode change 100755 => 100644 rannak/endPage/fonts/fontDos/PressStart2P-Regular.ttf mode change 100755 => 100644 rannak/endPage/fonts/fontUno/Monoton-Regular.ttf mode change 100755 => 100644 rannak/endPage/fonts/fontUno/OFL.txt mode change 100755 => 100644 rannak/endPage/img/798916.jpg mode change 100755 => 100644 rannak/endPage/img/798919.jpg mode change 100755 => 100644 rannak/endPage/img/798923.png mode change 100755 => 100644 rannak/endPage/img/dos.png mode change 100755 => 100644 rannak/endPage/img/tres.png mode change 100755 => 100644 rannak/endPage/img/uno.jpg mode change 100755 => 100644 rannak/endPage/index.html mode change 100755 => 100644 rannak/endPage/main.js mode change 100755 => 100644 rannak/endPage/style.css delete mode 100755 rannak/kaart/css/kaart.css mode change 100755 => 100644 rannak/kaart/index.html delete mode 100755 rannak/kaart/js/kaart.js create mode 100644 rannak/kaart/kaart.css create mode 100644 rannak/kaart/kaart.js delete mode 100755 rannak/mangud/arimees/baks/pood.bak/fonts/1001fonts-eutemia-i-eula.txt delete mode 100755 rannak/mangud/arimees/baks/pood.bak/fonts/Eutemia.ttf delete mode 100755 rannak/mangud/arimees/baks/pood.bak/index.html delete mode 100755 rannak/mangud/arimees/baks/pood.bak/pildid/avatar.png delete mode 100755 rannak/mangud/arimees/baks/pood.bak/pildid/kingad.png delete mode 100755 rannak/mangud/arimees/baks/pood.bak/pildid/kohver.png delete mode 100755 rannak/mangud/arimees/baks/pood.bak/pildid/kupsis.png delete mode 100755 rannak/mangud/arimees/baks/pood.bak/pildid/laud.png delete mode 100755 rannak/mangud/arimees/baks/pood.bak/pildid/sai.png delete mode 100755 rannak/mangud/arimees/baks/pood.bak/pildid/tugitool.png delete mode 100755 rannak/mangud/arimees/baks/pood.bak/script.js delete mode 100755 rannak/mangud/arimees/baks/pood.bak/styles.css mode change 100755 => 100644 rannak/mangud/arimees/baks/pood/fonts/1001fonts-eutemia-i-eula.txt mode change 100755 => 100644 rannak/mangud/arimees/baks/pood/fonts/Eutemia.ttf mode change 100755 => 100644 rannak/mangud/arimees/baks/pood/index.html mode change 100755 => 100644 rannak/mangud/arimees/baks/pood/pildid/avatar.png mode change 100755 => 100644 rannak/mangud/arimees/baks/pood/pildid/kingad.png mode change 100755 => 100644 rannak/mangud/arimees/baks/pood/pildid/kohver.png mode change 100755 => 100644 rannak/mangud/arimees/baks/pood/pildid/kupsis.png mode change 100755 => 100644 rannak/mangud/arimees/baks/pood/pildid/laud.png mode change 100755 => 100644 rannak/mangud/arimees/baks/pood/pildid/sai.png mode change 100755 => 100644 rannak/mangud/arimees/baks/pood/pildid/tugitool.png mode change 100755 => 100644 rannak/mangud/arimees/baks/pood/script.js mode change 100755 => 100644 rannak/mangud/arimees/baks/pood/styles.css mode change 100755 => 100644 rannak/mangud/arimees/muusika/index.html mode change 100755 => 100644 rannak/mangud/arimees/muusika/pildid/avatar.png mode change 100755 => 100644 rannak/mangud/arimees/muusika/script.js mode change 100755 => 100644 rannak/mangud/arimees/muusika/style.css mode change 100755 => 100644 rannak/mangud/arimees/pood/index.html create mode 100644 rannak/mangud/arimees/pood/pildid/12.jpg create mode 100644 rannak/mangud/arimees/pood/pildid/13.jpg create mode 100644 rannak/mangud/arimees/pood/pildid/14.jpg create mode 100644 rannak/mangud/arimees/pood/pildid/15.jpg create mode 100644 rannak/mangud/arimees/pood/pildid/16.jpg create mode 100644 rannak/mangud/arimees/pood/pildid/17.jpg create mode 100644 rannak/mangud/arimees/pood/pildid/18.jpg mode change 100755 => 100644 rannak/mangud/arimees/pood/pildid/avatar.png mode change 100755 => 100644 rannak/mangud/arimees/pood/script.js mode change 100755 => 100644 rannak/mangud/arimees/pood/style.css mode change 100755 => 100644 rannak/mangud/arimees/soome/fonts/OFL.txt mode change 100755 => 100644 rannak/mangud/arimees/soome/fonts/README.txt mode change 100755 => 100644 rannak/mangud/arimees/soome/fonts/Rubik-Italic-VariableFont_wght.ttf mode change 100755 => 100644 rannak/mangud/arimees/soome/fonts/Rubik-VariableFont_wght.ttf mode change 100755 => 100644 rannak/mangud/arimees/soome/fonts/static/Rubik-Black.ttf mode change 100755 => 100644 rannak/mangud/arimees/soome/fonts/static/Rubik-BlackItalic.ttf mode change 100755 => 100644 rannak/mangud/arimees/soome/fonts/static/Rubik-Bold.ttf mode change 100755 => 100644 rannak/mangud/arimees/soome/fonts/static/Rubik-BoldItalic.ttf mode change 100755 => 100644 rannak/mangud/arimees/soome/fonts/static/Rubik-ExtraBold.ttf mode change 100755 => 100644 rannak/mangud/arimees/soome/fonts/static/Rubik-ExtraBoldItalic.ttf mode change 100755 => 100644 rannak/mangud/arimees/soome/fonts/static/Rubik-Italic.ttf mode change 100755 => 100644 rannak/mangud/arimees/soome/fonts/static/Rubik-Light.ttf mode change 100755 => 100644 rannak/mangud/arimees/soome/fonts/static/Rubik-LightItalic.ttf mode change 100755 => 100644 rannak/mangud/arimees/soome/fonts/static/Rubik-Medium.ttf mode change 100755 => 100644 rannak/mangud/arimees/soome/fonts/static/Rubik-MediumItalic.ttf mode change 100755 => 100644 rannak/mangud/arimees/soome/fonts/static/Rubik-Regular.ttf mode change 100755 => 100644 rannak/mangud/arimees/soome/fonts/static/Rubik-SemiBold.ttf mode change 100755 => 100644 rannak/mangud/arimees/soome/fonts/static/Rubik-SemiBoldItalic.ttf mode change 100755 => 100644 rannak/mangud/arimees/soome/index.html mode change 100755 => 100644 rannak/mangud/arimees/soome/pildid/avatar.png mode change 100755 => 100644 rannak/mangud/arimees/soome/script.js mode change 100755 => 100644 rannak/mangud/arimees/soome/style.css create mode 100644 rannak/mangud/direktor/kone/index.html create mode 100644 rannak/mangud/direktor/kone/pildid/avatar.png create mode 100644 rannak/mangud/direktor/kone/script.js create mode 100644 rannak/mangud/direktor/kone/style.css mode change 100755 => 100644 rannak/mangud/index.html mode change 100755 => 100644 rannak/mangud/kaitseliitlane/salakood/fonts/28DaysLater.ttf mode change 100755 => 100644 rannak/mangud/kaitseliitlane/salakood/fonts/mrs-monster.zip mode change 100755 => 100644 rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonster.ttf mode change 100755 => 100644 rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonster.txt mode change 100755 => 100644 rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonster3d.ttf mode change 100755 => 100644 rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonster3dital.ttf mode change 100755 => 100644 rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonsteracad.ttf mode change 100755 => 100644 rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonsterboldout.ttf mode change 100755 => 100644 rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonsterboldoutital.ttf mode change 100755 => 100644 rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonstercond.ttf mode change 100755 => 100644 rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonstercondital.ttf mode change 100755 => 100644 rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonsterexpand.ttf mode change 100755 => 100644 rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonsterexpandital.ttf mode change 100755 => 100644 rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonsterital.ttf mode change 100755 => 100644 rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonsterleft.ttf mode change 100755 => 100644 rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonsterout.ttf mode change 100755 => 100644 rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonsteroutital.ttf mode change 100755 => 100644 rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonsterrotal.ttf mode change 100755 => 100644 rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonsterrotate.ttf mode change 100755 => 100644 rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonsterrotate2.ttf mode change 100755 => 100644 rannak/mangud/kaitseliitlane/salakood/index.html mode change 100755 => 100644 rannak/mangud/kaitseliitlane/salakood/pildid/avatar.jpg mode change 100755 => 100644 rannak/mangud/kaitseliitlane/salakood/pildid/bk.jpg mode change 100755 => 100644 rannak/mangud/kaitseliitlane/salakood/script.js mode change 100755 => 100644 rannak/mangud/kaitseliitlane/salakood/style.css create mode 100644 rannak/mangud/kaitseliitlane/soomusmasinad/index.html create mode 100644 rannak/mangud/kaitseliitlane/soomusmasinad/pildid/EVkuulutamine.jpg create mode 100644 rannak/mangud/kaitseliitlane/soomusmasinad/pildid/avatar.jpg create mode 100644 rannak/mangud/kaitseliitlane/soomusmasinad/pildid/baltikett.jpg create mode 100644 rannak/mangud/kaitseliitlane/soomusmasinad/pildid/hirvepark.jpg create mode 100644 rannak/mangud/kaitseliitlane/soomusmasinad/pildid/interrinne.jpg create mode 100644 rannak/mangud/kaitseliitlane/soomusmasinad/pildid/laulupidu.jpg create mode 100644 rannak/mangud/kaitseliitlane/soomusmasinad/pildid/teletorn.jpg create mode 100644 rannak/mangud/kaitseliitlane/soomusmasinad/script.js create mode 100644 rannak/mangud/kaitseliitlane/soomusmasinad/styles.css mode change 100755 => 100644 rannak/mangud/kaitseliitlane/sundmused/index.html mode change 100755 => 100644 rannak/mangud/kaitseliitlane/sundmused/pildid/EVkuulutamine.jpg mode change 100755 => 100644 rannak/mangud/kaitseliitlane/sundmused/pildid/avatar.jpg mode change 100755 => 100644 rannak/mangud/kaitseliitlane/sundmused/pildid/baltikett.jpg mode change 100755 => 100644 rannak/mangud/kaitseliitlane/sundmused/pildid/hirvepark.jpg mode change 100755 => 100644 rannak/mangud/kaitseliitlane/sundmused/pildid/interrinne.jpg mode change 100755 => 100644 rannak/mangud/kaitseliitlane/sundmused/pildid/laulupidu.jpg mode change 100755 => 100644 rannak/mangud/kaitseliitlane/sundmused/pildid/teletorn.jpg mode change 100755 => 100644 rannak/mangud/kaitseliitlane/sundmused/script.js mode change 100755 => 100644 rannak/mangud/kaitseliitlane/sundmused/styles.css delete mode 100755 rannak/mangud/partorg/kuulsused.bak/index.html delete mode 100755 rannak/mangud/partorg/kuulsused.bak/pildid/avatar.png delete mode 100755 rannak/mangud/partorg/kuulsused.bak/pildid/kogan.jpg delete mode 100755 rannak/mangud/partorg/kuulsused.bak/pildid/laar.jpg delete mode 100755 rannak/mangud/partorg/kuulsused.bak/pildid/lauristin.jpg delete mode 100755 rannak/mangud/partorg/kuulsused.bak/pildid/ruutel.jpg delete mode 100755 rannak/mangud/partorg/kuulsused.bak/pildid/savisaar.jpg delete mode 100755 rannak/mangud/partorg/kuulsused.bak/pildid/valk.jpg delete mode 100755 rannak/mangud/partorg/kuulsused.bak/script.js delete mode 100755 rannak/mangud/partorg/kuulsused.bak/styles.css mode change 100755 => 100644 rannak/mangud/partorg/kuulsused/index.html mode change 100755 => 100644 rannak/mangud/partorg/kuulsused/pildid/avatar.png mode change 100755 => 100644 rannak/mangud/partorg/kuulsused/pildid/kogan.jpg mode change 100755 => 100644 rannak/mangud/partorg/kuulsused/pildid/laar.jpg mode change 100755 => 100644 rannak/mangud/partorg/kuulsused/pildid/lauristin.jpg mode change 100755 => 100644 rannak/mangud/partorg/kuulsused/pildid/ruutel.jpg mode change 100755 => 100644 rannak/mangud/partorg/kuulsused/pildid/savisaar.jpg mode change 100755 => 100644 rannak/mangud/partorg/kuulsused/pildid/valk.jpg mode change 100755 => 100644 rannak/mangud/partorg/kuulsused/script.js mode change 100755 => 100644 rannak/mangud/partorg/kuulsused/styles.css mode change 100755 => 100644 rannak/mangud/partorg/plakat.bak/img/avatar.png mode change 100755 => 100644 rannak/mangud/partorg/plakat.bak/img/lenin.png mode change 100755 => 100644 rannak/mangud/partorg/plakat.bak/img/nazi.png mode change 100755 => 100644 rannak/mangud/partorg/plakat.bak/img/normalSelect.cur mode change 100755 => 100644 rannak/mangud/partorg/plakat.bak/img/redStar.png mode change 100755 => 100644 rannak/mangud/partorg/plakat.bak/img/stalin.jpg mode change 100755 => 100644 rannak/mangud/partorg/plakat.bak/img/stalinAddOn.png mode change 100755 => 100644 rannak/mangud/partorg/plakat.bak/img/testImg.jpg mode change 100755 => 100644 rannak/mangud/partorg/plakat.bak/img/veekogud.jpg mode change 100755 => 100644 rannak/mangud/partorg/plakat.bak/index.html mode change 100755 => 100644 rannak/mangud/partorg/plakat.bak/main.js mode change 100755 => 100644 rannak/mangud/partorg/plakat.bak/style.css mode change 100755 => 100644 rannak/mangud/partorg/plakat/img/avatar.png mode change 100755 => 100644 rannak/mangud/partorg/plakat/img/malev.jpg mode change 100755 => 100644 rannak/mangud/partorg/plakat/img/stalin.jpg mode change 100755 => 100644 rannak/mangud/partorg/plakat/img/veekogud.jpg mode change 100755 => 100644 rannak/mangud/partorg/plakat/img/viisAastak.jpg mode change 100755 => 100644 rannak/mangud/partorg/plakat/index.html mode change 100755 => 100644 rannak/mangud/partorg/plakat/script.js mode change 100755 => 100644 rannak/mangud/partorg/plakat/styles.css mode change 100755 => 100644 rannak/mangud/partorg/sonaragastik/index.html mode change 100755 => 100644 rannak/mangud/partorg/sonaragastik/pildid/avatar.png mode change 100755 => 100644 rannak/mangud/partorg/sonaragastik/script.js mode change 100755 => 100644 rannak/mangud/partorg/sonaragastik/style.css mode change 100755 => 100644 rannak/mangud/perenaine/kuulamine/index.html mode change 100755 => 100644 rannak/mangud/perenaine/kuulamine/pildid/avatar.png mode change 100755 => 100644 rannak/mangud/perenaine/kuulamine/script.js mode change 100755 => 100644 rannak/mangud/perenaine/kuulamine/style.css mode change 100755 => 100644 rannak/mangud/perenaine/memori/img/alko.svg mode change 100755 => 100644 rannak/mangud/perenaine/memori/img/alko.svg.bak mode change 100755 => 100644 rannak/mangud/perenaine/memori/img/avatar.png mode change 100755 => 100644 rannak/mangud/perenaine/memori/img/butter.svg mode change 100755 => 100644 rannak/mangud/perenaine/memori/img/image.svg mode change 100755 => 100644 rannak/mangud/perenaine/memori/img/jahu.svg mode change 100755 => 100644 rannak/mangud/perenaine/memori/img/pasta.svg mode change 100755 => 100644 rannak/mangud/perenaine/memori/img/pesupulber.svg mode change 100755 => 100644 rannak/mangud/perenaine/memori/img/sool.svg mode change 100755 => 100644 rannak/mangud/perenaine/memori/img/suhkur.svg mode change 100755 => 100644 rannak/mangud/perenaine/memori/img/taga.svg mode change 100755 => 100644 rannak/mangud/perenaine/memori/img/tang.svg mode change 100755 => 100644 rannak/mangud/perenaine/memori/img/tikud.svg mode change 100755 => 100644 rannak/mangud/perenaine/memori/img/wcpaber.svg mode change 100755 => 100644 rannak/mangud/perenaine/memori/index.html mode change 100755 => 100644 rannak/mangud/perenaine/memori/script.js mode change 100755 => 100644 rannak/mangud/perenaine/memori/style.css mode change 100755 => 100644 rannak/mangud/perenaine/ristsona/index.html mode change 100755 => 100644 rannak/mangud/perenaine/ristsona/pildid/avatar.png mode change 100755 => 100644 rannak/mangud/perenaine/ristsona/script.js mode change 100755 => 100644 rannak/mangud/perenaine/ristsona/style.css mode change 100755 => 100644 rannak/mangud/style.css mode change 100755 => 100644 rannak/mangud/uliopilane/ajatelg/index.html mode change 100755 => 100644 rannak/mangud/uliopilane/ajatelg/pildid/avatar.png mode change 100755 => 100644 rannak/mangud/uliopilane/ajatelg/script.js mode change 100755 => 100644 rannak/mangud/uliopilane/ajatelg/styles.css mode change 100755 => 100644 rannak/mangud/uliopilane/tSark/img/avatar.png mode change 100755 => 100644 rannak/mangud/uliopilane/tSark/img/picLink.txt mode change 100755 => 100644 rannak/mangud/uliopilane/tSark/img/shirtImg.jpg mode change 100755 => 100644 rannak/mangud/uliopilane/tSark/img/tshirt.svg mode change 100755 => 100644 rannak/mangud/uliopilane/tSark/index.html mode change 100755 => 100644 rannak/mangud/uliopilane/tSark/main.js delete mode 100755 rannak/mangud/uliopilane/tSark/main.js.bak mode change 100755 => 100644 rannak/mangud/uliopilane/tSark/style.css mode change 100755 => 100644 rannak/mangud/uliopilane/utlused/index.html mode change 100755 => 100644 rannak/mangud/uliopilane/utlused/main.js mode change 100755 => 100644 rannak/mangud/uliopilane/utlused/pildid/avatar.png mode change 100755 => 100644 rannak/mangud/uliopilane/utlused/utlused.css mode change 100755 => 100644 rannak/noMobiles/index.html mode change 100755 => 100644 rannak/noMobiles/style.css mode change 100755 => 100644 rannak/rolliValik/index.html mode change 100755 => 100644 rannak/rolliValik/pildid/direktor.png mode change 100755 => 100644 rannak/rolliValik/pildid/partorg.png mode change 100755 => 100644 rannak/rolliValik/pildid/perenaine.png mode change 100755 => 100644 rannak/rolliValik/pildid/tmp/arimees.jpg mode change 100755 => 100644 rannak/rolliValik/pildid/tmp/direktor.jpg mode change 100755 => 100644 rannak/rolliValik/pildid/tmp/kaitseliitlane.jpg mode change 100755 => 100644 rannak/rolliValik/pildid/tmp/partorg.jpg mode change 100755 => 100644 rannak/rolliValik/pildid/tmp/perenaine.jpg mode change 100755 => 100644 rannak/rolliValik/pildid/tmp/uliopilane.jpg mode change 100755 => 100644 rannak/rolliValik/pildid/uliopilane.png mode change 100755 => 100644 rannak/rolliValik/rolliValik.css mode change 100755 => 100644 rannak/rolliValik/rolliValik.js mode change 100755 => 100644 rannak/rolliValik/vids/partorg.mp4 (limited to 'rannak') diff --git a/rannak/endPage/fonts/fontDos/OFL.txt b/rannak/endPage/fonts/fontDos/OFL.txt old mode 100755 new mode 100644 diff --git a/rannak/endPage/fonts/fontDos/PressStart2P-Regular.ttf b/rannak/endPage/fonts/fontDos/PressStart2P-Regular.ttf old mode 100755 new mode 100644 diff --git a/rannak/endPage/fonts/fontUno/Monoton-Regular.ttf b/rannak/endPage/fonts/fontUno/Monoton-Regular.ttf old mode 100755 new mode 100644 diff --git a/rannak/endPage/fonts/fontUno/OFL.txt b/rannak/endPage/fonts/fontUno/OFL.txt old mode 100755 new mode 100644 diff --git a/rannak/endPage/img/798916.jpg b/rannak/endPage/img/798916.jpg old mode 100755 new mode 100644 diff --git a/rannak/endPage/img/798919.jpg b/rannak/endPage/img/798919.jpg old mode 100755 new mode 100644 diff --git a/rannak/endPage/img/798923.png b/rannak/endPage/img/798923.png old mode 100755 new mode 100644 diff --git a/rannak/endPage/img/dos.png b/rannak/endPage/img/dos.png old mode 100755 new mode 100644 diff --git a/rannak/endPage/img/tres.png b/rannak/endPage/img/tres.png old mode 100755 new mode 100644 diff --git a/rannak/endPage/img/uno.jpg b/rannak/endPage/img/uno.jpg old mode 100755 new mode 100644 diff --git a/rannak/endPage/index.html b/rannak/endPage/index.html old mode 100755 new mode 100644 index 3dcb9df..24b42a7 --- a/rannak/endPage/index.html +++ b/rannak/endPage/index.html @@ -13,6 +13,18 @@

TUBLI!
Läbisid      Rolli

+ +
+

+ + + + + + + +
+

Nüüd võid valida uue Rolli või minna tagasi avalehele

diff --git a/rannak/endPage/main.js b/rannak/endPage/main.js old mode 100755 new mode 100644 index 1f4a3c5..2813fc0 --- a/rannak/endPage/main.js +++ b/rannak/endPage/main.js @@ -1,7 +1,18 @@ -let rollSpan = document.querySelector("span"); ; +const spans = document.querySelectorAll("span"); if (localStorage.roll != undefined){ - rollSpan.innerHTML = localStorage.roll; + + let roll = localStorage.roll; + spans[0].innerHTML = roll; delete localStorage.roll; -} + if (roll == 'Kaitseliitlase'){ + console.log(span1); + document.querySelector('h3').innerHTML = 'Baltiketti andmed:'; + spans[1].innerHTML = 'Asula: ' + localStorage.asula; + spans[2].innerHTML = 'Kaugus: ' + localStorage.kaugus; + + delete localStorage.asula; + delete localStorage.kaugus; + } +} diff --git a/rannak/endPage/style.css b/rannak/endPage/style.css old mode 100755 new mode 100644 index 0132b61..c9fa274 --- a/rannak/endPage/style.css +++ b/rannak/endPage/style.css @@ -3,17 +3,10 @@ src: url('fonts/fontUno/Monoton-Regular.ttf'); } -@font-face { - font-family: 'fontDos'; - src: url('fonts/fontDos/PressStart2P-Regular.ttf'); -} - - - body { padding: 0; margin: 0; - box-sixing: border-box; + box-sizing: border-box; background-image: url("img/tres.png"); background-size:100%; } @@ -27,6 +20,7 @@ body { text-align: center; } + .innerDiv { padding: 15px; margin-left: 20%; @@ -34,11 +28,25 @@ body { color: black; } + + +.info{ + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; +} + +p{ + border-top: solid 3px black; + padding-top: 2rem; +} + + h1 { color: rgba(0,136,169,1); font-family:'fontUno'; } -p {font-family:'fontDos';} button { background-color: rgba(0,136,169,1); @@ -48,7 +56,6 @@ button { cursor: pointer; text-decoration: none; font-size: 1.3rem; - font-family:'fontDos'; } a { diff --git a/rannak/kaart/css/kaart.css b/rannak/kaart/css/kaart.css deleted file mode 100755 index 1329303..0000000 --- a/rannak/kaart/css/kaart.css +++ /dev/null @@ -1,74 +0,0 @@ -body { - display: flex; - flex-direction: column; - max-height: 100vh; -} - -/* Upper Container Stuff*/ -.upperContainer{ - text-align: center; -} - - -.upperContainer .movementBtn{ - background-color: #687494; - border: none; - border-radius: 4px; - font-size:1.3rem; - color:white; - padding: 10px; - margin: 0 2px; -} - - - - -/* Move On Stuff*/ - -.moveOn{ - display: inline-block; - border: none; - padding: 6px 12px; - margin-left: 50px; - margin-botton: 0; - font-size: 1rem; - font-weight: normal; - text-align: center; - cursor: pointer; - border-radius: 4px; - background-color: #4BB543; - color: white; -} - -button:disabled{ - opacity: 0.5; -} - - - -/* Kaart Stuff */ - - -.svgContainer { - overflow: hidden; - border: 2px solid #E3D4AD; - border-radius: 10px; - margin: 1.5%; - background-color: #434854; -} - - /* #00394f, #006284 */ - -svg {transition: transform 0.1s linear 0.1s;} -svg path{ - fill: #767F94; - stroke: #eee !important; - stroke-width: .25 !important; -} - -svg path:hover { - fill: #A9B5D4; - transition: 0.6s !important; - cursor: pointer !important; - -} diff --git a/rannak/kaart/index.html b/rannak/kaart/index.html old mode 100755 new mode 100644 index bde14a3..4ef027f --- a/rannak/kaart/index.html +++ b/rannak/kaart/index.html @@ -4,18 +4,24 @@ Rännak - - + +
-
+

Eesti Vabariigi tunnustamine 1991

-

Leia esimesed seitse riiki, kes tunnustasid Eesti iseseisvust +

+ Leia esimesed seitse riiki, kes tunnustasid Eesti iseseisvust: +
+ Island - 22.august 1991, Leedu - 22.august, Läti - 23.august, + Vene NFSV - 24.august, Ungari - 24.august, Prantsusmaa - 25.august, + Ukraina - 26.august. +

@@ -1012,6 +1018,6 @@
- + diff --git a/rannak/kaart/js/kaart.js b/rannak/kaart/js/kaart.js deleted file mode 100755 index e905fb5..0000000 --- a/rannak/kaart/js/kaart.js +++ /dev/null @@ -1,108 +0,0 @@ -// ******************** Zoom Stuff **************************** // - -const svg = document.querySelector("svg"); - -const getTransformParameters = (element) => { - const transform = element.style.transform; - let scale = 1, x = 0, y = 0; - - if (transform.includes("scale")) - scale = parseFloat(transform.slice(transform.indexOf("scale") + 6)); - if (transform.includes("translateX")) - x = parseInt(transform.slice(transform.indexOf("translateX") + 11)); - if (transform.includes("translateY")) - y = parseInt(transform.slice(transform.indexOf("translateY") + 11)); - - return { scale, x, y }; -}; - - -const getTransformString = (scale, x, y) => - "scale(" + scale + ") " + "translateX(" + x + "%) translateY(" + y + "%)"; - - -// Pan and Zoom funcs - -const pan = (direction) => { - const { scale, x, y } = getTransformParameters(svg); - let dx = 0, dy = 0; - - switch (direction) { - case "left": - dx = 3; - break; - case "right": - dx = -3; - break; - case "up": - dy = 3; - break; - case "down": - dy = -3; - break; - } - - svg.style.transform = getTransformString(scale, x + dx, y + dy); -}; - - -const zoom = (direction) => { - const { scale, x, y } = getTransformParameters(svg); - let dScale = 0.1; - if (direction == "out") dScale *= -1; - if (scale == 0.1 && direction == "out") dScale = 0; - svg.style.transform = getTransformString(scale + dScale, x, y); -}; - - - - -// Event Listeners - -document.getElementById("left-button").onclick = () => pan("left"); -document.getElementById("right-button").onclick = () => pan("right"); -document.getElementById("up-button").onclick = () => pan("up"); -document.getElementById("down-button").onclick = () => pan("down"); - -document.getElementById("zoom-in-button").onclick = () => zoom("in"); -document.getElementById("zoom-out-button").onclick = () => zoom("out"); - - - - - - -// ******************** Other Stuff **************************** // - -const riigid = document.querySelectorAll("svg path") - - -const leitavad = ["IS", "LV", "LT", "UA", "HU", "Russian Federation", "France"] -let leitud = []; - -// Add click listener -for (let i = 0; i < riigid.length; i++){ - if (leitavad.includes(riigid[i].id) || leitavad.includes(riigid[i].className.baseVal)){ - riigid[i].addEventListener("click", e => { - e.target.style.fill = "#00FF00"; - if (!leitud.includes(i)) - leitud.push(i); - - if (leitavad.length == leitud.length) - moveOnEnable(); - - console.log(leitud.length); - }) - } - else{ - riigid[i].addEventListener("click", e => { - e.target.style.fill = "#FF0000"; - }) - } -} - -function moveOnEnable(){ - const btn = document.querySelector(".moveOn"); - btn.disabled = false; - btn.onclick = () => location.href = "../rolliValik"; -} diff --git a/rannak/kaart/kaart.css b/rannak/kaart/kaart.css new file mode 100644 index 0000000..f941739 --- /dev/null +++ b/rannak/kaart/kaart.css @@ -0,0 +1,74 @@ +body { + display: flex; + flex-direction: column; +} + +/* Upper Container Stuff*/ +.upperContainer{ + text-align: center; + width: 70%; + margin-left: 15%; +} + + +.upperContainer .movementBtn{ + background-color: #687494; + border: none; + border-radius: 4px; + font-size:1.3rem; + color:white; + padding: 10px; + margin: 0 2px; +} + + +/* Move On Stuff*/ + +.moveOn{ + display: inline-block; + border: none; + padding: 6px 12px; + margin-left: 50px; + margin-botton: 0; + font-size: 1rem; + font-weight: normal; + text-align: center; + cursor: pointer; + border-radius: 4px; + background-color: #4BB543; + color: white; +} + +button:disabled{ + opacity: 0.5; +} + + + +/* Kaart Stuff */ + + +.svgContainer { + overflow: hidden; + border: 2px solid #E3D4AD; + border-radius: 10px; + margin: 1.5%; + background-color: #434854; + max-height: 75vh; +} + + /* #00394f, #006284 */ + +svg {transition: transform 0.1s linear 0.1s;} +svg path{ + fill: #767F94; + stroke: #eee !important; + stroke-width: .25 !important; +} + +svg path:hover { + fill: #A9B5D4; + transition: 0.6s !important; + cursor: pointer !important; + +} diff --git a/rannak/kaart/kaart.js b/rannak/kaart/kaart.js new file mode 100644 index 0000000..e905fb5 --- /dev/null +++ b/rannak/kaart/kaart.js @@ -0,0 +1,108 @@ +// ******************** Zoom Stuff **************************** // + +const svg = document.querySelector("svg"); + +const getTransformParameters = (element) => { + const transform = element.style.transform; + let scale = 1, x = 0, y = 0; + + if (transform.includes("scale")) + scale = parseFloat(transform.slice(transform.indexOf("scale") + 6)); + if (transform.includes("translateX")) + x = parseInt(transform.slice(transform.indexOf("translateX") + 11)); + if (transform.includes("translateY")) + y = parseInt(transform.slice(transform.indexOf("translateY") + 11)); + + return { scale, x, y }; +}; + + +const getTransformString = (scale, x, y) => + "scale(" + scale + ") " + "translateX(" + x + "%) translateY(" + y + "%)"; + + +// Pan and Zoom funcs + +const pan = (direction) => { + const { scale, x, y } = getTransformParameters(svg); + let dx = 0, dy = 0; + + switch (direction) { + case "left": + dx = 3; + break; + case "right": + dx = -3; + break; + case "up": + dy = 3; + break; + case "down": + dy = -3; + break; + } + + svg.style.transform = getTransformString(scale, x + dx, y + dy); +}; + + +const zoom = (direction) => { + const { scale, x, y } = getTransformParameters(svg); + let dScale = 0.1; + if (direction == "out") dScale *= -1; + if (scale == 0.1 && direction == "out") dScale = 0; + svg.style.transform = getTransformString(scale + dScale, x, y); +}; + + + + +// Event Listeners + +document.getElementById("left-button").onclick = () => pan("left"); +document.getElementById("right-button").onclick = () => pan("right"); +document.getElementById("up-button").onclick = () => pan("up"); +document.getElementById("down-button").onclick = () => pan("down"); + +document.getElementById("zoom-in-button").onclick = () => zoom("in"); +document.getElementById("zoom-out-button").onclick = () => zoom("out"); + + + + + + +// ******************** Other Stuff **************************** // + +const riigid = document.querySelectorAll("svg path") + + +const leitavad = ["IS", "LV", "LT", "UA", "HU", "Russian Federation", "France"] +let leitud = []; + +// Add click listener +for (let i = 0; i < riigid.length; i++){ + if (leitavad.includes(riigid[i].id) || leitavad.includes(riigid[i].className.baseVal)){ + riigid[i].addEventListener("click", e => { + e.target.style.fill = "#00FF00"; + if (!leitud.includes(i)) + leitud.push(i); + + if (leitavad.length == leitud.length) + moveOnEnable(); + + console.log(leitud.length); + }) + } + else{ + riigid[i].addEventListener("click", e => { + e.target.style.fill = "#FF0000"; + }) + } +} + +function moveOnEnable(){ + const btn = document.querySelector(".moveOn"); + btn.disabled = false; + btn.onclick = () => location.href = "../rolliValik"; +} diff --git a/rannak/mangud/arimees/baks/pood.bak/fonts/1001fonts-eutemia-i-eula.txt b/rannak/mangud/arimees/baks/pood.bak/fonts/1001fonts-eutemia-i-eula.txt deleted file mode 100755 index b3cf91f..0000000 --- a/rannak/mangud/arimees/baks/pood.bak/fonts/1001fonts-eutemia-i-eula.txt +++ /dev/null @@ -1,31 +0,0 @@ -1001Fonts Free For Commercial Use License (FFC) - -Preamble -In this license, 'Eutemia I' refers to the given .zip file, which may contain one or numerous fonts. These fonts can be of any type (.ttf, .otf, ...) and together they form a 'font family' or in short a 'typeface'. - -1. Copyright -Eutemia I is the intellectual property of its respective author, provided it is original, and is protected by copyright laws in many parts of the world. - -2. Usage -Eutemia I may be downloaded and used free of charge for both personal and commercial use. Personal use refers to all usage that does not generate financial income in a business manner, for instance: - - - personal scrapbooking for yourself - - recreational websites and blogs for friends and family - - prints such as flyers, posters, t-shirts for churches, charities, and non-profit organizations - -Commercial use refers to usage in a business environment, including: - - - business cards, logos, advertising, websites for companies - - t-shirts, books, apparel that will be sold for money - - flyers, posters for events that charge admission - - freelance graphic design work - - anything that will generate direct or indirect income - -3. Modification -Eutemia I may not be modified, altered, adapted or built upon without written permission by its respective author. This pertains all files within the downloadable font zip-file. - -4. Distribution -While Eutemia I may freely be copied and passed along to other individuals for private use as its original downloadable zip-file, it may not be sold or published without written permission by its respective author. - -5. Disclaimer -Eutemia I is offered 'as is' without any warranty. 1001fonts.com and the respective author of Eutemia I shall not be liable for any damage derived from using this typeface. By using Eutemia I you agree to the terms of this license. \ No newline at end of file diff --git a/rannak/mangud/arimees/baks/pood.bak/fonts/Eutemia.ttf b/rannak/mangud/arimees/baks/pood.bak/fonts/Eutemia.ttf deleted file mode 100755 index c575e59..0000000 Binary files a/rannak/mangud/arimees/baks/pood.bak/fonts/Eutemia.ttf and /dev/null differ diff --git a/rannak/mangud/arimees/baks/pood.bak/index.html b/rannak/mangud/arimees/baks/pood.bak/index.html deleted file mode 100755 index 5b01902..0000000 --- a/rannak/mangud/arimees/baks/pood.bak/index.html +++ /dev/null @@ -1,223 +0,0 @@ - - - - - - Hinnad - - - - - - - -
-

Hinnad

-

Leia toodete tolleaegne hind Eesti Markades, kasutades Rubla ja Marga vahelist kurssi.

-
-
- -
- -
- - - -
- - - - - - - -

Kurss: 1 Mark = 15.6 Rubla

-
- - - -
- -
- Tugitool -
-

Tugitool

- -
-
-

Rublades

- 109.2 - -
-
-

Markades

- -
-
- - - -
-
- - - - -
- Laud -
-

Laud

- -
-
-

Rublades

- 62.4 - -
-
-

Markades

- -
-
- - - -
-
- - - - - -
- Küpsised -
-

Küpsised

- -
-
-

Rublades

- 140.4 - -
-
-

Markades

- -
-
- - - -
-
- - - - -
- Sai -
-

Saiapäts

- -
-
-

Rublades

- 78 - -
-
-

Markades

- -
-
- - - -
-
- - - - -
- Kohver -
-

Kohver

- -
-
-

Rublades

- 156 - -
-
-

Markades

- -
-
- - - -
-
- - - - - -
- Kingad -
-

Kingad

- -
-
-

Rublades

- 312 - -
-
-

Markades

- -
-
- - - -
-
- - -
- - - - - - - - - diff --git a/rannak/mangud/arimees/baks/pood.bak/pildid/avatar.png b/rannak/mangud/arimees/baks/pood.bak/pildid/avatar.png deleted file mode 100755 index 3cb21cf..0000000 Binary files a/rannak/mangud/arimees/baks/pood.bak/pildid/avatar.png and /dev/null differ diff --git a/rannak/mangud/arimees/baks/pood.bak/pildid/kingad.png b/rannak/mangud/arimees/baks/pood.bak/pildid/kingad.png deleted file mode 100755 index ef106ae..0000000 Binary files a/rannak/mangud/arimees/baks/pood.bak/pildid/kingad.png and /dev/null differ diff --git a/rannak/mangud/arimees/baks/pood.bak/pildid/kohver.png b/rannak/mangud/arimees/baks/pood.bak/pildid/kohver.png deleted file mode 100755 index 485b6db..0000000 Binary files a/rannak/mangud/arimees/baks/pood.bak/pildid/kohver.png and /dev/null differ diff --git a/rannak/mangud/arimees/baks/pood.bak/pildid/kupsis.png b/rannak/mangud/arimees/baks/pood.bak/pildid/kupsis.png deleted file mode 100755 index 2419f89..0000000 Binary files a/rannak/mangud/arimees/baks/pood.bak/pildid/kupsis.png and /dev/null differ diff --git a/rannak/mangud/arimees/baks/pood.bak/pildid/laud.png b/rannak/mangud/arimees/baks/pood.bak/pildid/laud.png deleted file mode 100755 index e3036dc..0000000 Binary files a/rannak/mangud/arimees/baks/pood.bak/pildid/laud.png and /dev/null differ diff --git a/rannak/mangud/arimees/baks/pood.bak/pildid/sai.png b/rannak/mangud/arimees/baks/pood.bak/pildid/sai.png deleted file mode 100755 index 8add13c..0000000 Binary files a/rannak/mangud/arimees/baks/pood.bak/pildid/sai.png and /dev/null differ diff --git a/rannak/mangud/arimees/baks/pood.bak/pildid/tugitool.png b/rannak/mangud/arimees/baks/pood.bak/pildid/tugitool.png deleted file mode 100755 index c48bd50..0000000 Binary files a/rannak/mangud/arimees/baks/pood.bak/pildid/tugitool.png and /dev/null differ diff --git a/rannak/mangud/arimees/baks/pood.bak/script.js b/rannak/mangud/arimees/baks/pood.bak/script.js deleted file mode 100755 index 3b3e67b..0000000 --- a/rannak/mangud/arimees/baks/pood.bak/script.js +++ /dev/null @@ -1,69 +0,0 @@ -document.addEventListener('DOMContentLoaded', () => { - let btn = document.querySelector('.modalButton'); - btn.click(); -}); - - - -const kurss = 15.6; -doneCounter = 0; - - -const kontrollBtns = document.querySelectorAll(".kontrolliKaarti"); -for (let nupp of kontrollBtns){ - nupp.addEventListener("click", (e) => { - let rublaHind = e.target.previousElementSibling.children[0].children[1].innerHTML; - let pakkumine = e.target.previousElementSibling.children[1].children[1].value; - - if (pakkumine*kurss == rublaHind){ - - //Change color - e.target.offsetParent.style.background = "#288654"; - e.target.previousElementSibling.children[0].style.borderRight = ".5rem solid #288654"; - e.target.previousElementSibling.children[1].style.borderLeft = ".5rem solid #288654"; - - //Change Element - - (e.target.previousElementSibling.children[1].children[1]).remove(); - const newEl = document.createElement("span"); - newEl.classList.add("symbol"); - newEl.innerHTML = pakkumine + " M"; - e.target.previousElementSibling.children[1].appendChild(newEl); - - e.target.remove(); - doneCounter++; - - - // InfoTxt - let infoTxt = document.querySelector(".infoTxt") - infoTxt.innerHTML = ""; - - if (doneCounter >= 6){ - enableAllGood(); - } - } - - - else{ - // Inputvalue Reset - e.target.previousElementSibling.children[1].children[1].value = ""; - - // InfoTxt - let infoTxt = document.querySelector(".infoTxt") - infoTxt.style.color = "red"; - infoTxt.innerHTML = "Proovi Uuesti!"; - - } - - - - }) -} - - - -function enableAllGood(){ - const btn = document.querySelector(".moveOn"); - btn.disabled = false; - btn.onclick = () => location.href = ""; -} diff --git a/rannak/mangud/arimees/baks/pood.bak/styles.css b/rannak/mangud/arimees/baks/pood.bak/styles.css deleted file mode 100755 index 58bc290..0000000 --- a/rannak/mangud/arimees/baks/pood.bak/styles.css +++ /dev/null @@ -1,167 +0,0 @@ -* {box-sizing: border-box;} - -body{ - background-color: #43464b; -} -h1{ - color: #2FF924; - font-weight: bold; -} - -/* Modal Stuff */ - -.avatar { - border-radius: 20px; - width: 100%; -} - -.modalHeaderWrapper{ - text-align: center; - margin: 0; - width: 100%; -} - -.closeModalButton { - border-radius: 50px; -} - -.modalButton{ - position: absolute; - top: 0; - right: 0; - padding: 6px; - padding: 9px 25px; - background-color: rgba(0,136,169,1); - border: none; - border-radius: 50px; - cursor: pointer; - transition: all 0.3 ease 0; - margin: 3%; - font-size: 1.2rem; -} - -.modalButton:hover{ - background-color: rgba(0,136,169,0.8); -} - -/* To unduck chrome modal pic size */ -.modal-header img { - max-width: 15rem; - height: auto; - padding: .3rem; -} - - - - - -/* Move On */ - -.moveOn{ - display: inline-block; - border: none; - padding: 6px 12px; - margin-botton: 0; - font-size: 1rem; - font-weight: normal; - text-align: center; - cursor: pointer; - border-radius: 4px; - background-color: #4BB543; - color: white; -} - -button:disabled{ - opacity: 0.5; - cursor: not-allowed; -} - - - -/* Pood Itself */ -.main { - padding: 1% 10%; - display: flex; - flex-wrap: wrap; - justify-content: center; -} - -h3, h5 { - text-align: center; -} - - - - - -/* PoeKaart */ - -.card { - margin: 2rem .5rem; - padding: .5rem; - width: calc(20% - 1rem); - color: black; - background-color: #D22730; -} - -.card img { - height: 57%; -} - - -.card-body{ - padding: 0; - margin: 0; -} -.cardInnerWrapper { - background-color: white; - display:flex; - paddig: 0; - margin: 0; -} - -.rublaHind, .symbol{ - font-size: 1.5rem; -} - -.uno { - width: 50%; - border-right: .5rem solid #D22730; -} - -.dos { - border-left: .5rem solid #D22730; - width: 50%; -} - -.dos input { - width: 80%; - margin-bottom: 1rem; -} - -.kontrolliKaarti{ - margin-top: 1rem; - display: inline-block; - border: none; - padding: 3px 6px; - margin-botton: 0; - font-size: 1.07rem; - font-weight: normal; - text-align: center; - cursor: pointer; - border-radius: 4px; - background-color: #006E33; - color: white; -} - - - - - -/* Media Querries*/ - -@media screen and (max-width: 1650px) { - .card{ - width: calc(25% - 1rem); - } -} diff --git a/rannak/mangud/arimees/baks/pood/fonts/1001fonts-eutemia-i-eula.txt b/rannak/mangud/arimees/baks/pood/fonts/1001fonts-eutemia-i-eula.txt old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/baks/pood/fonts/Eutemia.ttf b/rannak/mangud/arimees/baks/pood/fonts/Eutemia.ttf old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/baks/pood/index.html b/rannak/mangud/arimees/baks/pood/index.html old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/baks/pood/pildid/avatar.png b/rannak/mangud/arimees/baks/pood/pildid/avatar.png old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/baks/pood/pildid/kingad.png b/rannak/mangud/arimees/baks/pood/pildid/kingad.png old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/baks/pood/pildid/kohver.png b/rannak/mangud/arimees/baks/pood/pildid/kohver.png old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/baks/pood/pildid/kupsis.png b/rannak/mangud/arimees/baks/pood/pildid/kupsis.png old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/baks/pood/pildid/laud.png b/rannak/mangud/arimees/baks/pood/pildid/laud.png old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/baks/pood/pildid/sai.png b/rannak/mangud/arimees/baks/pood/pildid/sai.png old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/baks/pood/pildid/tugitool.png b/rannak/mangud/arimees/baks/pood/pildid/tugitool.png old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/baks/pood/script.js b/rannak/mangud/arimees/baks/pood/script.js old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/baks/pood/styles.css b/rannak/mangud/arimees/baks/pood/styles.css old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/muusika/index.html b/rannak/mangud/arimees/muusika/index.html old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/muusika/pildid/avatar.png b/rannak/mangud/arimees/muusika/pildid/avatar.png old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/muusika/script.js b/rannak/mangud/arimees/muusika/script.js old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/muusika/style.css b/rannak/mangud/arimees/muusika/style.css old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/pood/index.html b/rannak/mangud/arimees/pood/index.html old mode 100755 new mode 100644 index 1e83723..f52a103 --- a/rannak/mangud/arimees/pood/index.html +++ b/rannak/mangud/arimees/pood/index.html @@ -128,9 +128,35 @@ - + + + + + + + + + + + + + @@ -180,10 +206,35 @@ Ajakirja lehekülg
-
+
+ Ajakirja lehekülg +
+
+ Ajakirja lehekülg +
+
+ Ajakirja lehekülg +
+
+ Ajakirja lehekülg +
+ +
+ Ajakirja lehekülg +
+ +
+ Ajakirja lehekülg +
+ +
+ Ajakirja lehekülg +
+ +
@@ -191,6 +242,7 @@

Ostunimekiri

+

Täitmiseks vajuta soovitud kohale ja sisesta andmed.

diff --git a/rannak/mangud/arimees/pood/pildid/12.jpg b/rannak/mangud/arimees/pood/pildid/12.jpg new file mode 100644 index 0000000..6cc8de1 Binary files /dev/null and b/rannak/mangud/arimees/pood/pildid/12.jpg differ diff --git a/rannak/mangud/arimees/pood/pildid/13.jpg b/rannak/mangud/arimees/pood/pildid/13.jpg new file mode 100644 index 0000000..dd4121e Binary files /dev/null and b/rannak/mangud/arimees/pood/pildid/13.jpg differ diff --git a/rannak/mangud/arimees/pood/pildid/14.jpg b/rannak/mangud/arimees/pood/pildid/14.jpg new file mode 100644 index 0000000..f9bb4be Binary files /dev/null and b/rannak/mangud/arimees/pood/pildid/14.jpg differ diff --git a/rannak/mangud/arimees/pood/pildid/15.jpg b/rannak/mangud/arimees/pood/pildid/15.jpg new file mode 100644 index 0000000..5522a85 Binary files /dev/null and b/rannak/mangud/arimees/pood/pildid/15.jpg differ diff --git a/rannak/mangud/arimees/pood/pildid/16.jpg b/rannak/mangud/arimees/pood/pildid/16.jpg new file mode 100644 index 0000000..f981ab5 Binary files /dev/null and b/rannak/mangud/arimees/pood/pildid/16.jpg differ diff --git a/rannak/mangud/arimees/pood/pildid/17.jpg b/rannak/mangud/arimees/pood/pildid/17.jpg new file mode 100644 index 0000000..e87ebfe Binary files /dev/null and b/rannak/mangud/arimees/pood/pildid/17.jpg differ diff --git a/rannak/mangud/arimees/pood/pildid/18.jpg b/rannak/mangud/arimees/pood/pildid/18.jpg new file mode 100644 index 0000000..1de7aa5 Binary files /dev/null and b/rannak/mangud/arimees/pood/pildid/18.jpg differ diff --git a/rannak/mangud/arimees/pood/pildid/avatar.png b/rannak/mangud/arimees/pood/pildid/avatar.png old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/pood/script.js b/rannak/mangud/arimees/pood/script.js old mode 100755 new mode 100644 index 8803bbe..5a48c84 --- a/rannak/mangud/arimees/pood/script.js +++ b/rannak/mangud/arimees/pood/script.js @@ -4,25 +4,84 @@ document.addEventListener('DOMContentLoaded', () => { }); -const selectors = document.querySelectorAll('select'); -for(el of selectors){ - el.addEventListener('change', () => { - let selected = new Array(); - for (el of selectors){ - if (!selected.includes(el.value) && el.value != 'Vali') - selected.push(el.value); +const cells = document.querySelectorAll("td"); + +for (let i=0;i < cells.length; i++){ + cells[i].onclick = function(){ + + if (this.hasAttribute('data-clicked')) + return; + + this.setAttribute('data-clicked', 'yes') + this.setAttribute('data-text', this.innerHTML) + + let input = document.createElement('input'); + input.setAttribute('type', 'text'); + input.value = this.innerHTML; + input.style.width = this.offsetWidth - (this.clientLeft * 2) + 'px'; + input.style.height = this.offsetHeight - (this.clientTop * 2) + 'px'; + input.style.border = '0px'; + input.fontFamily = 'inherit'; + input.fontSize = 'inherit'; + input.textAlign = 'inherit'; + input.style.backgroundColor = 'LightGoldenRodYellow'; + + + // On offclick + input.onblur = function(){ + let td = input.parentElement; + let origText = input.parentElement.getAttribute('data-text'); + let curText = this.value; + + if (origText != curText){ + td.removeAttribute('data-clicked'); + td.removeAttribute('data-text'); + td.innerHTML = curText; + td.style.cssText = 'padding: .5rem .5rem'; + + + // Can move on? + for (cell of cells){ + if (cell.textContent == '') + return; + } + moveOnEnable(); + } + else { + td.removeAttribute('data-clicked'); + td.removeAttribute('data-text'); + td.innerHTML = origText; + td.style.cssText = 'padding: .5rem .5rem'; + } + + + // Here Check if Done + //TODO + + + + } // onblur func end + + + input.onkeypress = function (){ + if (event.keyCode == 13) + this.onblur(); } - if (selected.length == 6) - moveOnEnable(); + this.innerHTML = ''; + this.style.cssText = 'padding: 0px'; + this.append(input); + this.firstElementChild.select(); - }); -} + + } // OnClick Loop +} //ForLoop + -// If All Else Done +// If All Done function moveOnEnable(){ const btn = document.querySelector(".moveOn"); diff --git a/rannak/mangud/arimees/pood/style.css b/rannak/mangud/arimees/pood/style.css old mode 100755 new mode 100644 index e4de8d1..61bdfe7 --- a/rannak/mangud/arimees/pood/style.css +++ b/rannak/mangud/arimees/pood/style.css @@ -3,6 +3,7 @@ body{ background-color: #43464b; + color: white; } @@ -78,6 +79,12 @@ button:disabled{ /* Main */ + +.tab-pane { + text-align: center; +} + + .main { display: flex; align-items: center; @@ -85,14 +92,12 @@ button:disabled{ flex-direction: column; } -.main h3 { - padding-top: 1rem; - color: white; +h3{ + padding-top: 3rem; } .tab-content img{ - max-width : 50vw; - heigth: auto; + max-height: 87vh; } @@ -100,3 +105,7 @@ table { padding-top: 1rem; font-size: 1.1rem; } + +img:hover{ + scale: 1.37; +} diff --git a/rannak/mangud/arimees/soome/fonts/OFL.txt b/rannak/mangud/arimees/soome/fonts/OFL.txt old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/soome/fonts/README.txt b/rannak/mangud/arimees/soome/fonts/README.txt old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/soome/fonts/Rubik-Italic-VariableFont_wght.ttf b/rannak/mangud/arimees/soome/fonts/Rubik-Italic-VariableFont_wght.ttf old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/soome/fonts/Rubik-VariableFont_wght.ttf b/rannak/mangud/arimees/soome/fonts/Rubik-VariableFont_wght.ttf old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-Black.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-Black.ttf old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-BlackItalic.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-BlackItalic.ttf old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-Bold.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-Bold.ttf old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-BoldItalic.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-BoldItalic.ttf old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-ExtraBold.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-ExtraBold.ttf old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-ExtraBoldItalic.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-ExtraBoldItalic.ttf old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-Italic.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-Italic.ttf old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-Light.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-Light.ttf old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-LightItalic.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-LightItalic.ttf old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-Medium.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-Medium.ttf old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-MediumItalic.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-MediumItalic.ttf old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-Regular.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-Regular.ttf old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-SemiBold.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-SemiBold.ttf old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-SemiBoldItalic.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-SemiBoldItalic.ttf old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/soome/index.html b/rannak/mangud/arimees/soome/index.html old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/soome/pildid/avatar.png b/rannak/mangud/arimees/soome/pildid/avatar.png old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/soome/script.js b/rannak/mangud/arimees/soome/script.js old mode 100755 new mode 100644 diff --git a/rannak/mangud/arimees/soome/style.css b/rannak/mangud/arimees/soome/style.css old mode 100755 new mode 100644 diff --git a/rannak/mangud/direktor/kone/index.html b/rannak/mangud/direktor/kone/index.html new file mode 100644 index 0000000..b00a94b --- /dev/null +++ b/rannak/mangud/direktor/kone/index.html @@ -0,0 +1,135 @@ + + + + + + Koosta Kõne + + + + + + + + + +
+

Koosta Kõne

+ +

+ Loe 1984. aasta kõne, ning kirjuta see ümber, nii, et see sobituks tänapäeva. +

+ +
+ +
+ + + + +
+ +
+
+ + + + + + + + + + + + +
+ + +
+

Kõne aastast 1984

+ +

+ Seltsimehed lapsed, meie eluõied, kommunismiehitajad! + Täna, sellel kuldsel sügispäeval, on kogu meie töökal + kollektiivil hea meel, et taas on särasilmsed nõukogude + noored kogunenud meie ühisesse koju, V. I. Lenini nimelise + kolhoosi keskkooli punalippudega kaunistatud aulasse! +

+ Loodan, et olete veetnud suvevaheaja, mis oli täis timurlust, + lõbusaid õhtuid lõkke ääres ning põnevaid lugemiselamusi meie + suure kodumaa parimate poegade ja tütarde kirjutatud teostest. +

+ Meie suur juht V.I .Lenin on öelnud: “Õppida, õppida, õppida!”. + On suur rõõm, et saame taas üheskoos asuda tarkust taga nõudma. +
+ Käesolev õppeaasta on pühendatud NLKP 27. kongressile. +

+ ”Teie kui tulevased kommunistid, peate koondama peatähelepanu sellele, + et põhjalikult omandada teaduste alused, kujundada endas kindlaid + kommunistlikke veendumusi, tööarmastust, kõlbelist puhtust, et te + kasvaksite meie sotsialistliku paljurahvuselise kodumaa armastamise + ja tema kaitseks valmisoleku vaimus, proletaarse internatsionalismi + vaimus”. Nii tervitas teid, meie poolt palavalt armastatud, + 1984. aastal uus NLKP peasekretäri Konstantin Tšernenko. + Ja nende kuldsete sõnadega ongi paslik meie selleaastast + uut õppeaastat alustada ja ikka julgelt edasi, seltsimehed õpilased! +

+ Olge valmis usinaks tööks ja kodumaa kaitseks! +

+ +
+ + + +
+

Sinu kõne

+
+ Sinu kõne siia... +
+
+ + + +
+ + + + + + + + + + diff --git a/rannak/mangud/direktor/kone/pildid/avatar.png b/rannak/mangud/direktor/kone/pildid/avatar.png new file mode 100644 index 0000000..94d7a31 Binary files /dev/null and b/rannak/mangud/direktor/kone/pildid/avatar.png differ diff --git a/rannak/mangud/direktor/kone/script.js b/rannak/mangud/direktor/kone/script.js new file mode 100644 index 0000000..ba1d77b --- /dev/null +++ b/rannak/mangud/direktor/kone/script.js @@ -0,0 +1,25 @@ +document.addEventListener('DOMContentLoaded', () => { + let btn = document.querySelector('.modalButton'); + btn.click(); +}); + + + +const kone = document.querySelector(".kone"); +kone.addEventListener('input', () => { + let koneWordCount = document.querySelector(".kone").innerHTML.split(' ').length; + + if (koneWordCount > 100) + moveOnEnable(); +}) + + + +// If Done + +function moveOnEnable(){ + const btn = document.querySelector(".moveOn"); + btn.disabled = false; + btn.onclick = () => location.href = ""; +} + diff --git a/rannak/mangud/direktor/kone/style.css b/rannak/mangud/direktor/kone/style.css new file mode 100644 index 0000000..fa58e1d --- /dev/null +++ b/rannak/mangud/direktor/kone/style.css @@ -0,0 +1,95 @@ +* { + box-sizing: border-box; +} + +body{ + background-color: #43464b; + color: white; +} + +h1 { + color: #ED8B00; + font-weight: bold; +} + +.moveOn{ + display: inline-block; + border: none; + padding: 6px 12px; + margin-botton: 0; + font-size: 1rem; + font-weight: normal; + text-align: center; + cursor: pointer; + border-radius: 4px; + background-color: #4BB543; + color: white; +} + +button:disabled{ + opacity: 0.5; + cursor: not-allowed; +} + + + +/* Modal Stuff */ + +.avatar { + border-radius: 20px; + width: 100%; + max-width: 15rem; +} + +.modalHeaderWrapper{ + text-align: center; + margin: 0; + width: 100%; +} + +.modalButton{ + display: inline-block; + padding: 6px 12px; + margin-left: 30px; + background-color: rgba(0,136,169,1); + border: none; + border-radius: 50px; + cursor: pointer; + transition: all 0.3 ease 0; + font-size: 1rem; +} + +.modalButton:hover{ + background-color: rgba(0,136,169,0.8); +} + + + +/* Main styles*/ + +.main{ + display: flex; + margin: 3% 0; + justify-content: center; + text-align: center; +} + +.vasak{ + margin: 1rem; + width: 45%; + +} + +.parem{ + margin: 1rem; + width: 45% +} + +.kone{ + width: 100%; + height: 90%; + color: white; + background-color: #43464b; + border: none; + text-align: left; +} diff --git a/rannak/mangud/index.html b/rannak/mangud/index.html old mode 100755 new mode 100644 index 7060351..526809b --- a/rannak/mangud/index.html +++ b/rannak/mangud/index.html @@ -20,7 +20,7 @@
  1. Sündmused
  2. Salakood
  3. -
  4. +
  5. Soomusmasinad
@@ -47,7 +47,7 @@
  1. Kuulsused
  2. Sõnarägastik
  3. -
  4. Plakat
  5. +
@@ -56,14 +56,14 @@
  1. Soome
  2. Muusika
  3. -
  4. +
  5. Pood

Direktor

    -
  1. +
  2. Kõne
diff --git a/rannak/mangud/kaitseliitlane/salakood/fonts/28DaysLater.ttf b/rannak/mangud/kaitseliitlane/salakood/fonts/28DaysLater.ttf old mode 100755 new mode 100644 diff --git a/rannak/mangud/kaitseliitlane/salakood/fonts/mrs-monster.zip b/rannak/mangud/kaitseliitlane/salakood/fonts/mrs-monster.zip old mode 100755 new mode 100644 diff --git a/rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonster.ttf b/rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonster.ttf old mode 100755 new mode 100644 diff --git a/rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonster.txt b/rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonster.txt old mode 100755 new mode 100644 diff --git a/rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonster3d.ttf b/rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonster3d.ttf old mode 100755 new mode 100644 diff --git a/rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonster3dital.ttf b/rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonster3dital.ttf old mode 100755 new mode 100644 diff --git a/rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonsteracad.ttf b/rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonsteracad.ttf old mode 100755 new mode 100644 diff --git a/rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonsterboldout.ttf b/rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonsterboldout.ttf old mode 100755 new mode 100644 diff --git a/rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonsterboldoutital.ttf b/rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonsterboldoutital.ttf old mode 100755 new mode 100644 diff --git a/rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonstercond.ttf b/rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonstercond.ttf old mode 100755 new mode 100644 diff --git a/rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonstercondital.ttf b/rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonstercondital.ttf old mode 100755 new mode 100644 diff --git a/rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonsterexpand.ttf b/rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonsterexpand.ttf old mode 100755 new mode 100644 diff --git a/rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonsterexpandital.ttf b/rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonsterexpandital.ttf old mode 100755 new mode 100644 diff --git a/rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonsterital.ttf b/rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonsterital.ttf old mode 100755 new mode 100644 diff --git a/rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonsterleft.ttf b/rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonsterleft.ttf old mode 100755 new mode 100644 diff --git a/rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonsterout.ttf b/rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonsterout.ttf old mode 100755 new mode 100644 diff --git a/rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonsteroutital.ttf b/rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonsteroutital.ttf old mode 100755 new mode 100644 diff --git a/rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonsterrotal.ttf b/rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonsterrotal.ttf old mode 100755 new mode 100644 diff --git a/rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonsterrotate.ttf b/rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonsterrotate.ttf old mode 100755 new mode 100644 diff --git a/rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonsterrotate2.ttf b/rannak/mangud/kaitseliitlane/salakood/fonts/mrsmonsterrotate2.ttf old mode 100755 new mode 100644 diff --git a/rannak/mangud/kaitseliitlane/salakood/index.html b/rannak/mangud/kaitseliitlane/salakood/index.html old mode 100755 new mode 100644 diff --git a/rannak/mangud/kaitseliitlane/salakood/pildid/avatar.jpg b/rannak/mangud/kaitseliitlane/salakood/pildid/avatar.jpg old mode 100755 new mode 100644 diff --git a/rannak/mangud/kaitseliitlane/salakood/pildid/bk.jpg b/rannak/mangud/kaitseliitlane/salakood/pildid/bk.jpg old mode 100755 new mode 100644 diff --git a/rannak/mangud/kaitseliitlane/salakood/script.js b/rannak/mangud/kaitseliitlane/salakood/script.js old mode 100755 new mode 100644 diff --git a/rannak/mangud/kaitseliitlane/salakood/style.css b/rannak/mangud/kaitseliitlane/salakood/style.css old mode 100755 new mode 100644 diff --git a/rannak/mangud/kaitseliitlane/soomusmasinad/index.html b/rannak/mangud/kaitseliitlane/soomusmasinad/index.html new file mode 100644 index 0000000..c94ad66 --- /dev/null +++ b/rannak/mangud/kaitseliitlane/soomusmasinad/index.html @@ -0,0 +1,111 @@ + + + + + Soomusmasinad + + + + + + + + +
+

Soomusmasinad

+

+ Joonlauaga (vali parempoolsest menüüst joonlaua ikoon + (vasakpoolse paneeli võid ruumi tegemiseks sulgeda)) + saab mitme klikiga mööda joont kaugust mõõta. Selleks, + et saada võimalikult täpne tulemus, zoomi kaardile lähemale + ning liigu hiirega klõpsates mööda valitud teekonda baltiketini. +

+ +
+
+ + + + +
+ + +
+ + +
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ + + + + + +
+ + + +
+ + + + + + + + + + diff --git a/rannak/mangud/kaitseliitlane/soomusmasinad/pildid/EVkuulutamine.jpg b/rannak/mangud/kaitseliitlane/soomusmasinad/pildid/EVkuulutamine.jpg new file mode 100644 index 0000000..f462f69 Binary files /dev/null and b/rannak/mangud/kaitseliitlane/soomusmasinad/pildid/EVkuulutamine.jpg differ diff --git a/rannak/mangud/kaitseliitlane/soomusmasinad/pildid/avatar.jpg b/rannak/mangud/kaitseliitlane/soomusmasinad/pildid/avatar.jpg new file mode 100644 index 0000000..37ae271 Binary files /dev/null and b/rannak/mangud/kaitseliitlane/soomusmasinad/pildid/avatar.jpg differ diff --git a/rannak/mangud/kaitseliitlane/soomusmasinad/pildid/baltikett.jpg b/rannak/mangud/kaitseliitlane/soomusmasinad/pildid/baltikett.jpg new file mode 100644 index 0000000..f395c65 Binary files /dev/null and b/rannak/mangud/kaitseliitlane/soomusmasinad/pildid/baltikett.jpg differ diff --git a/rannak/mangud/kaitseliitlane/soomusmasinad/pildid/hirvepark.jpg b/rannak/mangud/kaitseliitlane/soomusmasinad/pildid/hirvepark.jpg new file mode 100644 index 0000000..b94f2b0 Binary files /dev/null and b/rannak/mangud/kaitseliitlane/soomusmasinad/pildid/hirvepark.jpg differ diff --git a/rannak/mangud/kaitseliitlane/soomusmasinad/pildid/interrinne.jpg b/rannak/mangud/kaitseliitlane/soomusmasinad/pildid/interrinne.jpg new file mode 100644 index 0000000..3d6d386 Binary files /dev/null and b/rannak/mangud/kaitseliitlane/soomusmasinad/pildid/interrinne.jpg differ diff --git a/rannak/mangud/kaitseliitlane/soomusmasinad/pildid/laulupidu.jpg b/rannak/mangud/kaitseliitlane/soomusmasinad/pildid/laulupidu.jpg new file mode 100644 index 0000000..6ad8ad9 Binary files /dev/null and b/rannak/mangud/kaitseliitlane/soomusmasinad/pildid/laulupidu.jpg differ diff --git a/rannak/mangud/kaitseliitlane/soomusmasinad/pildid/teletorn.jpg b/rannak/mangud/kaitseliitlane/soomusmasinad/pildid/teletorn.jpg new file mode 100644 index 0000000..c539324 Binary files /dev/null and b/rannak/mangud/kaitseliitlane/soomusmasinad/pildid/teletorn.jpg differ diff --git a/rannak/mangud/kaitseliitlane/soomusmasinad/script.js b/rannak/mangud/kaitseliitlane/soomusmasinad/script.js new file mode 100644 index 0000000..ca18bfe --- /dev/null +++ b/rannak/mangud/kaitseliitlane/soomusmasinad/script.js @@ -0,0 +1,43 @@ +document.addEventListener('DOMContentLoaded', () => { + let btn = document.querySelector('.modalButton'); + btn.click(); +}); + + + +const inputs = document.querySelectorAll('input'); +let asulaVal; +let kaugusVal; + +for (input of inputs){ + input.addEventListener('input', () => { + getInputs() + }); +} + + +function getInputs(){ + let asula = document.querySelector('.asulaInput'); + let kaugus = document.querySelector('.kaugusInput'); + + asulaVal = asula.value; + kaugusVal = kaugus.value; + + if (asulaVal != '' && kaugusVal != '') + allGood(); +} + + + +/// All Done /// + + + +function allGood(){ + const btn = document.querySelector(".moveOn"); + btn.disabled = false; + localStorage.setItem("roll", "Kaitseliitlase"); + localStorage.setItem("asula", asulaVal); + localStorage.setItem("kaugus", kaugusVal); + btn.onclick = () => location.href = "../../../endPage"; +} diff --git a/rannak/mangud/kaitseliitlane/soomusmasinad/styles.css b/rannak/mangud/kaitseliitlane/soomusmasinad/styles.css new file mode 100644 index 0000000..cc1f6ec --- /dev/null +++ b/rannak/mangud/kaitseliitlane/soomusmasinad/styles.css @@ -0,0 +1,98 @@ +* { + box-sizing: border-box; +} +h1 { + color: #154734; + font-weight: bold; +} +body{ + background-color: #4D5157; +} + +.moveOn{ + display: inline-block; + border: none; + padding: 6px 12px; + margin-botton: 0; + font-size: 1rem; + font-weight: normal; + text-align: center; + cursor: pointer; + border-radius: 4px; + background-color: #4BB543; + color: white; +} + +button:disabled{ + opacity: 0.5; + cursor: not-allowed; +} + + + + +/* Modal Stuff */ + +.avatar { + border-radius: 20px; + width: 100%; + max-width: 15rem; +} + +.modalHeaderWrapper{ + text-align: center; + margin: 0; + width: 100%; +} + + + + +.closeModalButton { + border-radius: 50px; +} + + +.modalButton{ + display: inline-block; + padding: 6px 12px; + margin-left: 30px; + background-color: rgba(0,136,169,1); + border: none; + border-radius: 50px; + cursor: pointer; + transition: all 0.3 ease 0; + font-size: 1rem; +} + + + +.modalButton:hover{ + background-color: rgba(0,136,169,0.8); +} + +span{ + font-size: .1rem; +} + + +/* Mainer */ +.inputWrapper{ + margin-top: 1rem; + display: flex; + items-align: center; + justify-content: center; +} + +.rightWrapper{ + margin-left: 2rem; +} + + +input{margin: .3rem;} + +.main{padding: 2.5%;} +iframe{ + border: solid .5rem black; + border-radius: 10px; +} diff --git a/rannak/mangud/kaitseliitlane/sundmused/index.html b/rannak/mangud/kaitseliitlane/sundmused/index.html old mode 100755 new mode 100644 diff --git a/rannak/mangud/kaitseliitlane/sundmused/pildid/EVkuulutamine.jpg b/rannak/mangud/kaitseliitlane/sundmused/pildid/EVkuulutamine.jpg old mode 100755 new mode 100644 diff --git a/rannak/mangud/kaitseliitlane/sundmused/pildid/avatar.jpg b/rannak/mangud/kaitseliitlane/sundmused/pildid/avatar.jpg old mode 100755 new mode 100644 diff --git a/rannak/mangud/kaitseliitlane/sundmused/pildid/baltikett.jpg b/rannak/mangud/kaitseliitlane/sundmused/pildid/baltikett.jpg old mode 100755 new mode 100644 diff --git a/rannak/mangud/kaitseliitlane/sundmused/pildid/hirvepark.jpg b/rannak/mangud/kaitseliitlane/sundmused/pildid/hirvepark.jpg old mode 100755 new mode 100644 diff --git a/rannak/mangud/kaitseliitlane/sundmused/pildid/interrinne.jpg b/rannak/mangud/kaitseliitlane/sundmused/pildid/interrinne.jpg old mode 100755 new mode 100644 diff --git a/rannak/mangud/kaitseliitlane/sundmused/pildid/laulupidu.jpg b/rannak/mangud/kaitseliitlane/sundmused/pildid/laulupidu.jpg old mode 100755 new mode 100644 diff --git a/rannak/mangud/kaitseliitlane/sundmused/pildid/teletorn.jpg b/rannak/mangud/kaitseliitlane/sundmused/pildid/teletorn.jpg old mode 100755 new mode 100644 diff --git a/rannak/mangud/kaitseliitlane/sundmused/script.js b/rannak/mangud/kaitseliitlane/sundmused/script.js old mode 100755 new mode 100644 diff --git a/rannak/mangud/kaitseliitlane/sundmused/styles.css b/rannak/mangud/kaitseliitlane/sundmused/styles.css old mode 100755 new mode 100644 diff --git a/rannak/mangud/partorg/kuulsused.bak/index.html b/rannak/mangud/partorg/kuulsused.bak/index.html deleted file mode 100755 index 52a5245..0000000 --- a/rannak/mangud/partorg/kuulsused.bak/index.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - Kuulsused - - - - - - - -
-

Olulised isikud

-

Vii kokku inimese nimi ja nägu.

- -
-
- -
- -
- - - - - -
- - - - - - - -
-
- -
- Mart Laar img -

- 1990-1992 Eesti Vabariigi Ülemnõukogu liige. Eesti muinsuskaitse seltsi, Eesti komitee, Eesti kongressi liige. -

-
-
- -
-
Mart Laar
-
Marju Lauristin
-
Arnold Rüütel
-
Edgar Savisaar
-
Jevgeni Kogan
-
Heinz Valk
-
- -
- Marju Lauristin img -

- 1990-1992 EV Ülemnõukogu liige, juhataja asetäitja, 1990 Eesti Komitee liige -

-
-
- -
-
- - - -
-
- -
- Arnold Rüütel img -

- 1990-1992 ENSV/ EV Ülemnõukogu esimees. -

-
-
- -
- Savisaar img -

- Üks Rahvarinde loojatest, 1990 Eesti NSV Valitsuse esimees, 20.08.1991 Eesti Vabariigi peaministri kohusetäitja. -

-
-
- -
- Heniz img -

- Kunstnik, Rahvarinde üks asutajaliikmeid, suurepärane kõnepidaja, andis meie revolutsioonile nime. -

-
-
- -
- Kogan img -

- Interrinde üks loojatest (1988) ning hiljem selle esimees. NSVL Rahvasaadikute kongressi liige, osales impeeriumimeelse saadikuterühma “Sojuz” tegevuses. -

-
-
- -
-
- - - - - - - diff --git a/rannak/mangud/partorg/kuulsused.bak/pildid/avatar.png b/rannak/mangud/partorg/kuulsused.bak/pildid/avatar.png deleted file mode 100755 index 485a70c..0000000 Binary files a/rannak/mangud/partorg/kuulsused.bak/pildid/avatar.png and /dev/null differ diff --git a/rannak/mangud/partorg/kuulsused.bak/pildid/kogan.jpg b/rannak/mangud/partorg/kuulsused.bak/pildid/kogan.jpg deleted file mode 100755 index 9c592f3..0000000 Binary files a/rannak/mangud/partorg/kuulsused.bak/pildid/kogan.jpg and /dev/null differ diff --git a/rannak/mangud/partorg/kuulsused.bak/pildid/laar.jpg b/rannak/mangud/partorg/kuulsused.bak/pildid/laar.jpg deleted file mode 100755 index a7cea18..0000000 Binary files a/rannak/mangud/partorg/kuulsused.bak/pildid/laar.jpg and /dev/null differ diff --git a/rannak/mangud/partorg/kuulsused.bak/pildid/lauristin.jpg b/rannak/mangud/partorg/kuulsused.bak/pildid/lauristin.jpg deleted file mode 100755 index 67c788d..0000000 Binary files a/rannak/mangud/partorg/kuulsused.bak/pildid/lauristin.jpg and /dev/null differ diff --git a/rannak/mangud/partorg/kuulsused.bak/pildid/ruutel.jpg b/rannak/mangud/partorg/kuulsused.bak/pildid/ruutel.jpg deleted file mode 100755 index 389287d..0000000 Binary files a/rannak/mangud/partorg/kuulsused.bak/pildid/ruutel.jpg and /dev/null differ diff --git a/rannak/mangud/partorg/kuulsused.bak/pildid/savisaar.jpg b/rannak/mangud/partorg/kuulsused.bak/pildid/savisaar.jpg deleted file mode 100755 index 57815c8..0000000 Binary files a/rannak/mangud/partorg/kuulsused.bak/pildid/savisaar.jpg and /dev/null differ diff --git a/rannak/mangud/partorg/kuulsused.bak/pildid/valk.jpg b/rannak/mangud/partorg/kuulsused.bak/pildid/valk.jpg deleted file mode 100755 index c7afa8c..0000000 Binary files a/rannak/mangud/partorg/kuulsused.bak/pildid/valk.jpg and /dev/null differ diff --git a/rannak/mangud/partorg/kuulsused.bak/script.js b/rannak/mangud/partorg/kuulsused.bak/script.js deleted file mode 100755 index aa054dd..0000000 --- a/rannak/mangud/partorg/kuulsused.bak/script.js +++ /dev/null @@ -1,133 +0,0 @@ -document.addEventListener('DOMContentLoaded', () => { - let btn = document.querySelector('.modalButton'); - btn.click(); -}); - - - -const list_items = document.querySelectorAll(".list-item"); -const lists = document.querySelectorAll(".list"); - -let draggedItem = null; - - -// Draggable Items - -for (let i=0; i < list_items.length; i++){ - const item = list_items[i]; - - /* Event Listeners */ - item.addEventListener("dragstart", e => { - draggedItem = item; - setTimeout(() => (item.style.display = "none"), 0); - - }); - - - item.addEventListener("dragend", e => { - - setTimeout(() => { - draggedItem.style.display = "block"; - draggedItem = null}, 0); - checkIfAllGood(); - }); - - -} - - - - -// Dropping spots - -for (let j=0; j < lists.length; j++){ - const list = lists[j]; - - /* Event Listeners */ - - list.addEventListener("dragenter",e => (e.preventDefault())); - - list.addEventListener("dragover",e => { - e.preventDefault(); - list.style.backgroundColor = "rgba(0,0,0,0.9)"; - list.style.transform = "scale(1.3)"; - }); - - - list.addEventListener("dragleave",e => { - list.style.backgroundColor = "rgba(0,0,0,0.3)"; - list.style.transform = "scale(1)"; - }); - - - list.addEventListener("drop",e => { - if (list.children.length == 0 || list.className.includes("startBasket")) - list.append(draggedItem); - list.style.backgroundColor = "rgba(0,0,0,0.3)"; - list.style.transform = "scale(1)"; - - }) -} - - - -// Smooth scroll stuff - -// const ekraaniPikkus = window.innerHeight; -// let d; -// if (ekraaniPikkus > 800) -// d = ekraaniPikkus / 8; -// else -// d = ekraaniPikkus / 4; -// -// console.log(ekraaniPikkus); -// console.log(document.body.scrollHeight); -// const maxScroll = document.body.scrollHeight; -// -// window.ondragover = function(e){ -// console.log("Pos: ",e.clientY); -// console.log(d); -// console.log("X: ", e.y); -// //console.log(e); -// -// if (e.clientY > (ekraaniPikkus - d)){ -// console.log("Should scroll down"); -// if (maxScroll > e.y+d) -// window.scrollTo(0, e.y + d); -// else -// window.scrollTo(0, maxScroll); -// } -// else if (e.clientY < (d)) -// window.scrollTo(0, e.y - d); -// } - - - - - -function checkIfAllGood(){ - let rightDone = []; - - for (let j=0; j < lists.length; j++){ - const list = lists[j]; - if (list.className.includes("startBasket")) - continue; - else if (list.children.length == 1){ - if (list.id == list.children[0].id){ - if (!rightDone.includes(list.id)) - rightDone.push(list.id); - } - } - } // For loop end - - if (rightDone.length == 6) { - const btn = document.querySelector(".moveOn"); - btn.disabled = false; - btn.onclick = () => location.href = "../plakat"; - } -} - - - -/* The Scrolling on thing while dragging */ -// window.scrollTo(0, 500); diff --git a/rannak/mangud/partorg/kuulsused.bak/styles.css b/rannak/mangud/partorg/kuulsused.bak/styles.css deleted file mode 100755 index f4fb4c8..0000000 --- a/rannak/mangud/partorg/kuulsused.bak/styles.css +++ /dev/null @@ -1,101 +0,0 @@ -* { - box-sizing: border-box !important; -} - -.lists{ - margin-bottom: 20px !important; -} -/* Modal Stuff */ - - -.avatar { - border-radius: 20px; - width: 100% !important; -} - -.modalHeaderWrapper{ - text-align: center; - margin: 0 !important; - width: 100% !important; -} - -.closeModalButton { - border-radius: 50px; -} - -.modalButton{ - position: absolute; - top: 0; - right: 0; - padding: 6px; - padding: 9px 25px; - background-color: rgba(0,136,169,1) !important; - border: none !important; - border-radius: 50px !important; - cursor: pointer !important; - transition: all 0.3 ease 0 !important; - margin: 3% !important; - font-size: 1.2rem !important; -} - -.modalButton:hover{ - background-color: rgba(0,136,169,0.8) !important; -} - - -/* Move On */ - -.moveOn{ - display: inline-block; - border: none; - padding: 6px 12px; - margin-botton: 0; - font-size: 1rem; - font-weight: normal; - text-align: center; - cursor: pointer; - border-radius: 4px; - background-color: #4BB543; - color: white; -} - -button:disabled{ - opacity: 0.5; - cursor: not-allowed; -} - - -/* Other */ - - -.row { - margin: 0 5% !important; -} - -img { - max-width: 15rem !important; - height: auto !important; - padding: .3rem; -} - - -.lists .list .list-item { - background-color: #b2beb5 !important; - color: #21201E; - margin: 0.5rem 0; - height: 2.5rem; - border-radius: 8px !important; - cursor: pointer; -} - -.lists .list { - background-color: rgba(0, 0, 0, 0.3); - min-height: 2.5rem; - margin: .5rem; - border-radius: 8px !important; -} - -.startBasket { - height: 100% !important; - min-height: 2rem; -} diff --git a/rannak/mangud/partorg/kuulsused/index.html b/rannak/mangud/partorg/kuulsused/index.html old mode 100755 new mode 100644 diff --git a/rannak/mangud/partorg/kuulsused/pildid/avatar.png b/rannak/mangud/partorg/kuulsused/pildid/avatar.png old mode 100755 new mode 100644 diff --git a/rannak/mangud/partorg/kuulsused/pildid/kogan.jpg b/rannak/mangud/partorg/kuulsused/pildid/kogan.jpg old mode 100755 new mode 100644 diff --git a/rannak/mangud/partorg/kuulsused/pildid/laar.jpg b/rannak/mangud/partorg/kuulsused/pildid/laar.jpg old mode 100755 new mode 100644 diff --git a/rannak/mangud/partorg/kuulsused/pildid/lauristin.jpg b/rannak/mangud/partorg/kuulsused/pildid/lauristin.jpg old mode 100755 new mode 100644 diff --git a/rannak/mangud/partorg/kuulsused/pildid/ruutel.jpg b/rannak/mangud/partorg/kuulsused/pildid/ruutel.jpg old mode 100755 new mode 100644 diff --git a/rannak/mangud/partorg/kuulsused/pildid/savisaar.jpg b/rannak/mangud/partorg/kuulsused/pildid/savisaar.jpg old mode 100755 new mode 100644 diff --git a/rannak/mangud/partorg/kuulsused/pildid/valk.jpg b/rannak/mangud/partorg/kuulsused/pildid/valk.jpg old mode 100755 new mode 100644 diff --git a/rannak/mangud/partorg/kuulsused/script.js b/rannak/mangud/partorg/kuulsused/script.js old mode 100755 new mode 100644 diff --git a/rannak/mangud/partorg/kuulsused/styles.css b/rannak/mangud/partorg/kuulsused/styles.css old mode 100755 new mode 100644 diff --git a/rannak/mangud/partorg/plakat.bak/img/avatar.png b/rannak/mangud/partorg/plakat.bak/img/avatar.png old mode 100755 new mode 100644 diff --git a/rannak/mangud/partorg/plakat.bak/img/lenin.png b/rannak/mangud/partorg/plakat.bak/img/lenin.png old mode 100755 new mode 100644 diff --git a/rannak/mangud/partorg/plakat.bak/img/nazi.png b/rannak/mangud/partorg/plakat.bak/img/nazi.png old mode 100755 new mode 100644 diff --git a/rannak/mangud/partorg/plakat.bak/img/normalSelect.cur b/rannak/mangud/partorg/plakat.bak/img/normalSelect.cur old mode 100755 new mode 100644 diff --git a/rannak/mangud/partorg/plakat.bak/img/redStar.png b/rannak/mangud/partorg/plakat.bak/img/redStar.png old mode 100755 new mode 100644 diff --git a/rannak/mangud/partorg/plakat.bak/img/stalin.jpg b/rannak/mangud/partorg/plakat.bak/img/stalin.jpg old mode 100755 new mode 100644 diff --git a/rannak/mangud/partorg/plakat.bak/img/stalinAddOn.png b/rannak/mangud/partorg/plakat.bak/img/stalinAddOn.png old mode 100755 new mode 100644 diff --git a/rannak/mangud/partorg/plakat.bak/img/testImg.jpg b/rannak/mangud/partorg/plakat.bak/img/testImg.jpg old mode 100755 new mode 100644 diff --git a/rannak/mangud/partorg/plakat.bak/img/veekogud.jpg b/rannak/mangud/partorg/plakat.bak/img/veekogud.jpg old mode 100755 new mode 100644 diff --git a/rannak/mangud/partorg/plakat.bak/index.html b/rannak/mangud/partorg/plakat.bak/index.html old mode 100755 new mode 100644 diff --git a/rannak/mangud/partorg/plakat.bak/main.js b/rannak/mangud/partorg/plakat.bak/main.js old mode 100755 new mode 100644 diff --git a/rannak/mangud/partorg/plakat.bak/style.css b/rannak/mangud/partorg/plakat.bak/style.css old mode 100755 new mode 100644 diff --git a/rannak/mangud/partorg/plakat/img/avatar.png b/rannak/mangud/partorg/plakat/img/avatar.png old mode 100755 new mode 100644 diff --git a/rannak/mangud/partorg/plakat/img/malev.jpg b/rannak/mangud/partorg/plakat/img/malev.jpg old mode 100755 new mode 100644 diff --git a/rannak/mangud/partorg/plakat/img/stalin.jpg b/rannak/mangud/partorg/plakat/img/stalin.jpg old mode 100755 new mode 100644 diff --git a/rannak/mangud/partorg/plakat/img/veekogud.jpg b/rannak/mangud/partorg/plakat/img/veekogud.jpg old mode 100755 new mode 100644 diff --git a/rannak/mangud/partorg/plakat/img/viisAastak.jpg b/rannak/mangud/partorg/plakat/img/viisAastak.jpg old mode 100755 new mode 100644 diff --git a/rannak/mangud/partorg/plakat/index.html b/rannak/mangud/partorg/plakat/index.html old mode 100755 new mode 100644 diff --git a/rannak/mangud/partorg/plakat/script.js b/rannak/mangud/partorg/plakat/script.js old mode 100755 new mode 100644 diff --git a/rannak/mangud/partorg/plakat/styles.css b/rannak/mangud/partorg/plakat/styles.css old mode 100755 new mode 100644 diff --git a/rannak/mangud/partorg/sonaragastik/index.html b/rannak/mangud/partorg/sonaragastik/index.html old mode 100755 new mode 100644 diff --git a/rannak/mangud/partorg/sonaragastik/pildid/avatar.png b/rannak/mangud/partorg/sonaragastik/pildid/avatar.png old mode 100755 new mode 100644 diff --git a/rannak/mangud/partorg/sonaragastik/script.js b/rannak/mangud/partorg/sonaragastik/script.js old mode 100755 new mode 100644 diff --git a/rannak/mangud/partorg/sonaragastik/style.css b/rannak/mangud/partorg/sonaragastik/style.css old mode 100755 new mode 100644 diff --git a/rannak/mangud/perenaine/kuulamine/index.html b/rannak/mangud/perenaine/kuulamine/index.html old mode 100755 new mode 100644 index 4e44139..4823f03 --- a/rannak/mangud/perenaine/kuulamine/index.html +++ b/rannak/mangud/perenaine/kuulamine/index.html @@ -230,7 +230,7 @@
- +
Mille Mille MilleKäesKäes!
diff --git a/rannak/mangud/perenaine/kuulamine/pildid/avatar.png b/rannak/mangud/perenaine/kuulamine/pildid/avatar.png old mode 100755 new mode 100644 diff --git a/rannak/mangud/perenaine/kuulamine/script.js b/rannak/mangud/perenaine/kuulamine/script.js old mode 100755 new mode 100644 index 19debea..680c6fd --- a/rannak/mangud/perenaine/kuulamine/script.js +++ b/rannak/mangud/perenaine/kuulamine/script.js @@ -80,6 +80,17 @@ for (let i=0;i < cells.length; i++){ +/// Chekers Funcers /// + + + + + + + + + + // If Done diff --git a/rannak/mangud/perenaine/kuulamine/style.css b/rannak/mangud/perenaine/kuulamine/style.css old mode 100755 new mode 100644 diff --git a/rannak/mangud/perenaine/memori/img/alko.svg b/rannak/mangud/perenaine/memori/img/alko.svg old mode 100755 new mode 100644 diff --git a/rannak/mangud/perenaine/memori/img/alko.svg.bak b/rannak/mangud/perenaine/memori/img/alko.svg.bak old mode 100755 new mode 100644 diff --git a/rannak/mangud/perenaine/memori/img/avatar.png b/rannak/mangud/perenaine/memori/img/avatar.png old mode 100755 new mode 100644 diff --git a/rannak/mangud/perenaine/memori/img/butter.svg b/rannak/mangud/perenaine/memori/img/butter.svg old mode 100755 new mode 100644 diff --git a/rannak/mangud/perenaine/memori/img/image.svg b/rannak/mangud/perenaine/memori/img/image.svg old mode 100755 new mode 100644 diff --git a/rannak/mangud/perenaine/memori/img/jahu.svg b/rannak/mangud/perenaine/memori/img/jahu.svg old mode 100755 new mode 100644 diff --git a/rannak/mangud/perenaine/memori/img/pasta.svg b/rannak/mangud/perenaine/memori/img/pasta.svg old mode 100755 new mode 100644 diff --git a/rannak/mangud/perenaine/memori/img/pesupulber.svg b/rannak/mangud/perenaine/memori/img/pesupulber.svg old mode 100755 new mode 100644 diff --git a/rannak/mangud/perenaine/memori/img/sool.svg b/rannak/mangud/perenaine/memori/img/sool.svg old mode 100755 new mode 100644 diff --git a/rannak/mangud/perenaine/memori/img/suhkur.svg b/rannak/mangud/perenaine/memori/img/suhkur.svg old mode 100755 new mode 100644 diff --git a/rannak/mangud/perenaine/memori/img/taga.svg b/rannak/mangud/perenaine/memori/img/taga.svg old mode 100755 new mode 100644 diff --git a/rannak/mangud/perenaine/memori/img/tang.svg b/rannak/mangud/perenaine/memori/img/tang.svg old mode 100755 new mode 100644 diff --git a/rannak/mangud/perenaine/memori/img/tikud.svg b/rannak/mangud/perenaine/memori/img/tikud.svg old mode 100755 new mode 100644 diff --git a/rannak/mangud/perenaine/memori/img/wcpaber.svg b/rannak/mangud/perenaine/memori/img/wcpaber.svg old mode 100755 new mode 100644 diff --git a/rannak/mangud/perenaine/memori/index.html b/rannak/mangud/perenaine/memori/index.html old mode 100755 new mode 100644 diff --git a/rannak/mangud/perenaine/memori/script.js b/rannak/mangud/perenaine/memori/script.js old mode 100755 new mode 100644 diff --git a/rannak/mangud/perenaine/memori/style.css b/rannak/mangud/perenaine/memori/style.css old mode 100755 new mode 100644 diff --git a/rannak/mangud/perenaine/ristsona/index.html b/rannak/mangud/perenaine/ristsona/index.html old mode 100755 new mode 100644 diff --git a/rannak/mangud/perenaine/ristsona/pildid/avatar.png b/rannak/mangud/perenaine/ristsona/pildid/avatar.png old mode 100755 new mode 100644 diff --git a/rannak/mangud/perenaine/ristsona/script.js b/rannak/mangud/perenaine/ristsona/script.js old mode 100755 new mode 100644 diff --git a/rannak/mangud/perenaine/ristsona/style.css b/rannak/mangud/perenaine/ristsona/style.css old mode 100755 new mode 100644 diff --git a/rannak/mangud/style.css b/rannak/mangud/style.css old mode 100755 new mode 100644 diff --git a/rannak/mangud/uliopilane/ajatelg/index.html b/rannak/mangud/uliopilane/ajatelg/index.html old mode 100755 new mode 100644 diff --git a/rannak/mangud/uliopilane/ajatelg/pildid/avatar.png b/rannak/mangud/uliopilane/ajatelg/pildid/avatar.png old mode 100755 new mode 100644 diff --git a/rannak/mangud/uliopilane/ajatelg/script.js b/rannak/mangud/uliopilane/ajatelg/script.js old mode 100755 new mode 100644 diff --git a/rannak/mangud/uliopilane/ajatelg/styles.css b/rannak/mangud/uliopilane/ajatelg/styles.css old mode 100755 new mode 100644 diff --git a/rannak/mangud/uliopilane/tSark/img/avatar.png b/rannak/mangud/uliopilane/tSark/img/avatar.png old mode 100755 new mode 100644 diff --git a/rannak/mangud/uliopilane/tSark/img/picLink.txt b/rannak/mangud/uliopilane/tSark/img/picLink.txt old mode 100755 new mode 100644 diff --git a/rannak/mangud/uliopilane/tSark/img/shirtImg.jpg b/rannak/mangud/uliopilane/tSark/img/shirtImg.jpg old mode 100755 new mode 100644 diff --git a/rannak/mangud/uliopilane/tSark/img/tshirt.svg b/rannak/mangud/uliopilane/tSark/img/tshirt.svg old mode 100755 new mode 100644 diff --git a/rannak/mangud/uliopilane/tSark/index.html b/rannak/mangud/uliopilane/tSark/index.html old mode 100755 new mode 100644 diff --git a/rannak/mangud/uliopilane/tSark/main.js b/rannak/mangud/uliopilane/tSark/main.js old mode 100755 new mode 100644 diff --git a/rannak/mangud/uliopilane/tSark/main.js.bak b/rannak/mangud/uliopilane/tSark/main.js.bak deleted file mode 100755 index 2685ad4..0000000 --- a/rannak/mangud/uliopilane/tSark/main.js.bak +++ /dev/null @@ -1,537 +0,0 @@ -document.addEventListener('DOMContentLoaded', () => { - let btn = document.querySelector('.modalButton'); - btn.click(); -}); - - - -/*Muutused Stuff*/ - -// Särgi color - -let colorFill = document.querySelector("#colorFiller"); -let colorStroke = document.querySelector("#colorStroke"); - -colorFill.addEventListener("input", () => { - let color = colorFill.value; - document.querySelector("#sark").style.fill = color; - - if (!stuffDone.includes("sarkColor")) - stuffDone.push("sarkColor"); -}) - -colorStroke.addEventListener("input", () => { - let color = colorStroke.value; - document.querySelector("#sark").style.stroke = color; - - if (!stuffDone.includes("sarkColor")) - stuffDone.push("sarkColor"); -}) - - -// Img upload - -const image_input = document.querySelector("#image_input"); -let uploadedImg = ""; - -image_input.addEventListener("change", () => { - const reader = new FileReader(); - reader.readAsDataURL(image_input.files[0]) - reader.addEventListener("load", () => { - uploadedImg = reader.result; - document.querySelector(".item").style.backgroundImage = `url(${uploadedImg})` - }); - - if (!stuffDone.includes("newImg")) - stuffDone.push("newImg"); -}) - - -/* Teksti Teema */ - -// Uus Tekst - -function nextText() { - document.querySelector("#sargiText").value = ""; - - let curText = document.querySelector(".sarkTekst") - let newText = curText.cloneNode(true); - curText.classList.remove("sarkTekst") - - //Reset Stuff - let angle=0; - let sarkFontSize = 20; - - let gi6 = document.querySelector("g") - newText.classList.add("sarkTekst") - newText.innerHTML = "Uus Tekst"; - gi6.appendChild(newText); -} - - - -// Input - -function chgTxt() { - - let tekstVali = document.querySelector("#sargiText"); - tekstVali.addEventListener("keyup", () => { - let sarkTekst = document.querySelector(".sarkTekst"); - sarkTekst.innerHTML = tekstVali.value; - - if (!stuffDone.includes("txt")) - stuffDone.push("txt"); - }); -} - -chgTxt() - - -/* -function getInputValue() { - // Selecting the input element and get its value - - //Btn - let inputVal = document.getElementById("sargiText").value; - //Txt - let sarkTekst = document.querySelector(".sarkTekst"); - sarkTekst.innerHTML = inputVal; - - if (!stuffDone.includes("newTxt")) - stuffDone.push("newTxt"); -} - -function enterSubmit(){ - document.getElementById('sargiText') - .addEventListener('keyup', event => { - if (event.code === 'Enter') - { - event.preventDefault(); - getInputValue(); - } - }); -} -enterSubmit() -*/ - - -// Color - -let colorText = document.querySelector("#colorText"); -colorText.addEventListener("input", () => { - let color = colorText.value; - document.querySelector(".sarkTekst").style.fill = color; - - if (!stuffDone.includes("txt")) - stuffDone.push("txt"); -}) - -// Position -const ules = document.querySelector(".ules"); -const alla = document.querySelector(".alla"); -const vasak = document.querySelector(".vasak"); -const parem = document.querySelector(".parem"); - -ules.addEventListener("click" , () => { - let tmpX = document.querySelector(".sarkTekst").x; - let tmpY = document.querySelector(".sarkTekst").y; - - tmpY.baseVal[0].value-=10; - - if (!stuffDone.includes("txt")) - stuffDone.push("txt"); -}); - -alla.addEventListener("click" , () => { - let tmpX = document.querySelector(".sarkTekst").x; - let tmpY = document.querySelector(".sarkTekst").y; - - tmpY.baseVal[0].value+=10; - - if (!stuffDone.includes("txt")) - stuffDone.push("txt"); -}); - -vasak.addEventListener("click", () => { - let tmpX = document.querySelector(".sarkTekst").x; - let tmpY = document.querySelector(".sarkTekst").y; - - tmpX.baseVal[0].value-=10; - - if (!stuffDone.includes("txt")) - stuffDone.push("txt"); -}); - -parem.addEventListener("click", () => { - let tmpX = document.querySelector(".sarkTekst").x; - let tmpY = document.querySelector(".sarkTekst").y; - - tmpX.baseVal[0].value+=10; - - if (!stuffDone.includes("txt")) - stuffDone.push("txt"); -}); - - -// Vertical Pos -const vasakule = document.querySelector(".vertVasak"); -const paremale = document.querySelector(".vertParem"); -let angle=0; - -vasakule.addEventListener("click" , () => { - let testing = document.querySelector(".sarkTekst"); - - angle -=5 - testing.setAttribute("transform", "rotate("+angle+")"); - - if (!stuffDone.includes("txt")) - stuffDone.push("txt"); -}); - -paremale.addEventListener("click" , () => { - let testing = document.querySelector(".sarkTekst"); - - angle +=5 - testing.setAttribute("transform", "rotate("+angle+")"); - - if (!stuffDone.includes("txt")) - stuffDone.push("txt"); -}); - - - -// FontZise - -const plus = document.querySelector(".plus"); -const minus = document.querySelector(".minus"); -let sarkFontSize = 20; - -plus.addEventListener("click" , () => { - let sarkForText = document.querySelector(".sarkTekst"); - - sarkFontSize +=2; - sarkForText.setAttributeNS(null,"font-size",""+sarkFontSize+""); - - if (!stuffDone.includes("txt")) - stuffDone.push("txt"); -}); - -minus.addEventListener("click" , () => { - let sarkForText = document.querySelector(".sarkTekst"); - - sarkFontSize-=2; - sarkForText.setAttributeNS(null,"font-size",""+sarkFontSize+""); - - if (!stuffDone.includes("txt")) - stuffDone.push("txt"); -}); - - - - -// https://stackoverflow.com/questions/54076532/how-to-test-if-a-point-is-inside-an-svg-closed-path - - -// Funcs to check whether draggable el inside Svg path - -function oMousePos(elmt, evt) { - let ClientRect = elmt.getBoundingClientRect(); - return { - //object - x: Math.round(evt.clientX - ClientRect.left), - y: Math.round(evt.clientY - ClientRect.top) - }; -} - -function draggablePoints(m) { - //top left - draggable.p0s[0][0] = m.x - draggable.delta.x - 1; - draggable.p0s[0][1] = m.y - draggable.delta.y - 1; - //top right - draggable.p0s[1][0] = m.x - draggable.delta.x + draggable.w + 1; - draggable.p0s[1][1] = m.y - draggable.delta.y + 1; - //bottom right - draggable.p0s[2][0] = m.x - draggable.delta.x + draggable.w + 1; - draggable.p0s[2][1] = m.y - draggable.delta.y + draggable.h + 1; - //bottom left - draggable.p0s[3][0] = m.x - draggable.delta.x + 1; - draggable.p0s[3][1] = m.y - draggable.delta.y + draggable.h + 1; -} - - -m = {},// the mouse position -thePath = document.querySelector("path"), - -/* Rezisable Image Stuff */ -draggable = document.querySelector(".item"); - -draggable.addEventListener("mousedown", mousedown); - -// NEw stuff -draggable.w = draggable.getBoundingClientRect().width; -draggable.h = draggable.getBoundingClientRect().height; -draggable.p0s = [[], [], [], []];//one array for every corner -draggable.delta = {};// distance between the click point and the left upper corner - - - -function mousedown(e) { - window.addEventListener("mousemove", mousemove); - window.addEventListener("mouseup", mouseup); - - // NEw stuff - draggable.delta = oMousePos(draggable, e); - // - - - let prevX = e.clientX; - let prevY = e.clientY; - - function mousemove(e) { - if (!isResizing) { - - let item = document.querySelector(".item"); - //item.style.pointerEvents = "none"; - - /* - let posers = document.elementFromPoint(e.x, e.y).id; - item.style.pointerEvents = ""; - - if (posers != "sark"){ - console.log(posers); - - let newX = prevX - e.clientX; - let newY = prevY - e.clientY; - - const rect = el.getBoundingClientRect(); - - el.style.left = rect.left - newX + "px"; - el.style.top = rect.top - newY + "px"; - - prevX = e.clientX; - prevY = e.clientY; - - mouseup() - } - */ - - let counter = 0;// how many corners are in path - //m = oMousePos(drag_parent, e); - m = oMousePos(thePath, e); - draggablePoints(m); - draggable.style.left = draggable.p0s[0][0] + 1 + "px"; - draggable.style.top = draggable.p0s[0][1] + 1 + "px"; - - draggable.p0s.map(p => { - if (document.elementFromPoint(p[0], p[1]) && document.elementFromPoint(p[0], p[1]).id == "sark") { - counter++; - } - console.log(counter, document.elementFromPoint(p[0], p[1]).id == "sark"); - }); - - if (counter == 4){ - console.log("moving"); - let newX = prevX - e.clientX; - let newY = prevY - e.clientY; - - const rect = draggable.getBoundingClientRect(); - - draggable.style.left = rect.left - newX + "px"; - draggable.style.top = rect.top - newY + "px"; - - prevX = e.clientX; - prevY = e.clientY; - } - - else { - console.log("Out of Bounds!"); - //console.log(counter); - // Set it to init pos; from downtown - // it.style.left = brr.left + 200; - console.log(draggable.p0s); - } - - } - } - - function mouseup() { - window.removeEventListener("mousemove", mousemove); - window.removeEventListener("mouseup", mouseup); - //D = false; - } - -} - - - - -// Resizing Pic - - -let isResizing = false; -const resizers = document.querySelectorAll(".resizer"); -let currentResizer; - -for (let resizer of resizers) { - resizer.addEventListener("mousedown", mousedown); - - function mousedown(e) { - currentResizer = e.target; - isResizing = true; - - let prevX = e.clientX; - let prevY = e.clientY; - - window.addEventListener("mousemove", mousemove); - window.addEventListener("mouseup", mouseup); - - function mousemove(e) { - - const rect = draggable.getBoundingClientRect(); - - if (currentResizer.classList.contains("se")) { - draggable.style.width = rect.width - (prevX - e.clientX) + "px"; - draggable.style.height = rect.height - (prevY - e.clientY) + "px"; - } - - else if (currentResizer.classList.contains("sw")) { - draggable.style.width = rect.width + (prevX - e.clientX) + "px"; - draggable.style.height = rect.height - (prevY - e.clientY) + "px"; - draggable.style.left = rect.left - (prevX - e.clientX) + "px"; - } - - else if (currentResizer.classList.contains("ne")) { - draggable.style.width = rect.width - (prevX - e.clientX) + "px"; - draggable.style.height = rect.height + (prevY - e.clientY) + "px"; - draggable.style.top = rect.top - (prevY - e.clientY) + "px"; - } - - else { - draggable.style.width = rect.width + (prevX - e.clientX) + "px"; - draggable.style.height = rect.height + (prevY - e.clientY) + "px"; - draggable.style.top = rect.top - (prevY - e.clientY) + "px"; - draggable.style.left = rect.left - (prevX - e.clientX) + "px"; - } - - prevX = e.clientX; - prevY = e.clientY; - } - - function mouseup() { - window.removeEventListener("mousemove", mousemove); - window.removeEventListener("mouseup", mouseup); - isResizing = false; - } - - } // Resizing mousedown end - -} - -// Seting up resize Pic Pos -let brr = document.querySelector("#sark").getBoundingClientRect(); -let it = document.querySelector(".item"); -it.style.left = brr.left + 200; -//it.style.top = brr.top + 300; - - - - - - - -/* Ending stuff + Reset */ - - -// Move on Button -function message(msg, color){ - messageBox = document.querySelector(".messageBox"); - messageBox.innerHTML = msg; - messageBox.style.color = color; -} - - -let stuffDone = new Array(); - -const chkBtn = document.querySelector(".checkMoveOn"); - -chkBtn.addEventListener("click", (e) => { - - if (stuffDone.length >= 3){ - message("Korras! Soovi korral tee screenshot (Win+Shift+S)", "#4BB543"); - moveOnEnable(); - } - else - message("valikuid kasutatud " + stuffDone.length + "/" + "3.", "Red"); -}); - -function moveOnEnable(){ - const btn = document.querySelector(".moveOn"); - btn.disabled = false; - btn.onclick = () => location.href = "../utlused"; - - let tst = document.querySelectorAll(".resizer"); - for (elinjo of tst){ - elinjo.style.height = 0; - elinjo.style.width = 0; - } - -} - -// 6 - - - -// Reset Everything - -const nulliBtn = document.querySelector(".nulliBtn"); -nulliBtn.addEventListener("click", () => { - - stuffDone = new Array(); - - //SarkColor - document.querySelector("#sark").style.fill = "white"; - - document.querySelector("#sark").style.stroke = "black"; - - - - // Tekstid - document.querySelector("#sargiText").value = ""; - - curText = document.querySelector(".sarkTekst"); - newText = curText.cloneNode(true); - curText.classList.remove("sarkTekst"); - - let koikTekstid = document.querySelectorAll(".doneTekst"); - - for (let i = 0; i < koikTekstid.length; i++) { - koikTekstid[i].innerHTML = ""; - } - - //Reset Stuff - angle=0; - sarkFontSize = 20; - - let brro = document.querySelector("g") - newText.classList.add("sarkTekst") - newText.innerHTML = "Tekst"; - - brro.appendChild(newText); - document.querySelector(".sarkTekst").style.fill = "black"; - - - // Seting up resize Pic Pos - let brr = document.querySelector("#sark").getBoundingClientRect(); - let it = document.querySelector(".item"); - it.style.left = brr.left + 200; - //it.style.top = brr.top + 300; - - - // Moving IMg Corners - let tst = document.querySelectorAll(".resizer"); - for (elinjo of tst){ - elinjo.style.height = "7px"; - elinjo.style.width = "7px"; - } - -}) diff --git a/rannak/mangud/uliopilane/tSark/style.css b/rannak/mangud/uliopilane/tSark/style.css old mode 100755 new mode 100644 diff --git a/rannak/mangud/uliopilane/utlused/index.html b/rannak/mangud/uliopilane/utlused/index.html old mode 100755 new mode 100644 diff --git a/rannak/mangud/uliopilane/utlused/main.js b/rannak/mangud/uliopilane/utlused/main.js old mode 100755 new mode 100644 diff --git a/rannak/mangud/uliopilane/utlused/pildid/avatar.png b/rannak/mangud/uliopilane/utlused/pildid/avatar.png old mode 100755 new mode 100644 diff --git a/rannak/mangud/uliopilane/utlused/utlused.css b/rannak/mangud/uliopilane/utlused/utlused.css old mode 100755 new mode 100644 diff --git a/rannak/noMobiles/index.html b/rannak/noMobiles/index.html old mode 100755 new mode 100644 diff --git a/rannak/noMobiles/style.css b/rannak/noMobiles/style.css old mode 100755 new mode 100644 diff --git a/rannak/rolliValik/index.html b/rannak/rolliValik/index.html old mode 100755 new mode 100644 diff --git a/rannak/rolliValik/pildid/direktor.png b/rannak/rolliValik/pildid/direktor.png old mode 100755 new mode 100644 diff --git a/rannak/rolliValik/pildid/partorg.png b/rannak/rolliValik/pildid/partorg.png old mode 100755 new mode 100644 diff --git a/rannak/rolliValik/pildid/perenaine.png b/rannak/rolliValik/pildid/perenaine.png old mode 100755 new mode 100644 diff --git a/rannak/rolliValik/pildid/tmp/arimees.jpg b/rannak/rolliValik/pildid/tmp/arimees.jpg old mode 100755 new mode 100644 diff --git a/rannak/rolliValik/pildid/tmp/direktor.jpg b/rannak/rolliValik/pildid/tmp/direktor.jpg old mode 100755 new mode 100644 diff --git a/rannak/rolliValik/pildid/tmp/kaitseliitlane.jpg b/rannak/rolliValik/pildid/tmp/kaitseliitlane.jpg old mode 100755 new mode 100644 diff --git a/rannak/rolliValik/pildid/tmp/partorg.jpg b/rannak/rolliValik/pildid/tmp/partorg.jpg old mode 100755 new mode 100644 diff --git a/rannak/rolliValik/pildid/tmp/perenaine.jpg b/rannak/rolliValik/pildid/tmp/perenaine.jpg old mode 100755 new mode 100644 diff --git a/rannak/rolliValik/pildid/tmp/uliopilane.jpg b/rannak/rolliValik/pildid/tmp/uliopilane.jpg old mode 100755 new mode 100644 diff --git a/rannak/rolliValik/pildid/uliopilane.png b/rannak/rolliValik/pildid/uliopilane.png old mode 100755 new mode 100644 diff --git a/rannak/rolliValik/rolliValik.css b/rannak/rolliValik/rolliValik.css old mode 100755 new mode 100644 diff --git a/rannak/rolliValik/rolliValik.js b/rannak/rolliValik/rolliValik.js old mode 100755 new mode 100644 diff --git a/rannak/rolliValik/vids/partorg.mp4 b/rannak/rolliValik/vids/partorg.mp4 old mode 100755 new mode 100644 -- cgit v1.2.3