diff options
author | Rasmus <rasmus.luha@gmail.com> | 2023-03-31 19:41:34 +0300 |
---|---|---|
committer | Rasmus <rasmus.luha@gmail.com> | 2023-03-31 19:41:34 +0300 |
commit | 760e8fff4d4fd71350ddc9b17e85e95a17d4ce8e (patch) | |
tree | c7ea657fe7d99852ff3c5ea19ca386d69bd9af55 /rannak/mangud/arimees | |
parent | c40293acd3a00b20d74cf37823b7efb1b75dec9b (diff) |
oops
Diffstat (limited to 'rannak/mangud/arimees')
61 files changed, 139 insertions, 509 deletions
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 Binary files differdeleted file mode 100755 index c575e59..0000000 --- a/rannak/mangud/arimees/baks/pood.bak/fonts/Eutemia.ttf +++ /dev/null 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 @@ -<html lang="en"> -<head> - <meta charset="UTF-8"> - <meta http-equiv="X-UA-Compatible" content="IE=edge"> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title> Hinnad </title> - <!-- Bootstrap - CSS only --> - <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous"> - <link rel="stylesheet" href="styles.css"> -</head> - -<body class="text-white"> - - <div class="container text-center text-white align-items-center pb-1"> - <h1 class="pb-1 pt-2"> Hinnad </h1> - <p> Leia toodete tolleaegne hind Eesti Markades, kasutades Rubla ja Marga vahelist kurssi.</p> - <div class="row"> - <div> - <button class="moveOn" disabled>Liigu Edasi</button> - </div> - - </div> - - <!-- Button trigger modal --> - <button type="button" class="btn btn-primary modalButton" data-bs-toggle="modal" data-bs-target="#myModal"> - Sissejuhatus - </button> - </div> - - - <!-- Modal --> - <div class="modal fade text-black" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> - <div class="modal-dialog" role="document"> - <div class="modal-content"> - - <div class="modal-header"> - <div class="modalHeaderWrapper"> - <h3 class="modal-title" id="myModalLabel">Sissejuhatus</h5> - </div> - <img class="avatar" alt="avatar" src="pildid/avatar.png"/> - </div> - - <div class="modal-body"> - Lähen siin varsti Georg Otsaga Helsinki ostoksille. - <br/> - <strong> - Äkki saate vähe aidata mul plaani pidada, mida kõige kasulikum oleks 10 000 rutsiga ära tuua? Äkki tahate ise ka midagi, võin soodsalt tuua! - </strong> - </div> - - </div> - </div> - </div> - - - - <h3>Kurss: 1 Mark = 15.6 Rubla</h3> - <h5 class="infoTxt"></h5> - - - <!-- Main stuff --> - <div class="main"> - - <div class="card text-center"> - <img class="card-img-top" src="pildid/tugitool.png" alt="Tugitool"> - <div class="card-body"> - <h3 class="card-title">Tugitool</h5> - - <div class="cardInnerWrapper"> - <div class="uno"> - <h4>Rublades</h4> - <span class="rublaHind">109.2</span> - <span class="symbol" >₽</span> - </div> - <div class="dos"> - <h4>Markades</h4> - <input name="" type="text" value=""/> - </div> - </div> - - <button class="kontrolliKaarti">Kontrolli</button> - - </div> - </div> - - - - - <div class="card text-center"> - <img class="card-img-top" src="pildid/laud.png" alt="Laud"> - <div class="card-body"> - <h3 class="card-title">Laud</h5> - - <div class="cardInnerWrapper"> - <div class="uno"> - <h4>Rublades</h4> - <span class="rublaHind">62.4</span> - <span class="symbol" >₽</span> - </div> - <div class="dos"> - <h4>Markades</h4> - <input name="" type="text" value=""/> - </div> - </div> - - <button class="kontrolliKaarti">Kontrolli</button> - - </div> - </div> - - - - - - <div class="card text-center"> - <img class="card-img-top" src="pildid/kupsis.png" alt="Küpsised"> - <div class="card-body"> - <h3 class="card-title">Küpsised</h5> - - <div class="cardInnerWrapper"> - <div class="uno"> - <h4>Rublades</h4> - <span class="rublaHind">140.4</span> - <span class="symbol" >₽</span> - </div> - <div class="dos"> - <h4>Markades</h4> - <input name="" type="text" value=""/> - </div> - </div> - - <button class="kontrolliKaarti">Kontrolli</button> - - </div> - </div> - - - - - <div class="card text-center"> - <img class="card-img-top" src="pildid/sai.png" alt="Sai"> - <div class="card-body"> - <h3 class="card-title">Saiapäts</h5> - - <div class="cardInnerWrapper"> - <div class="uno"> - <h4>Rublades</h4> - <span class="rublaHind">78</span> - <span class="symbol" >₽</span> - </div> - <div class="dos"> - <h4>Markades</h4> - <input name="" type="text" value=""/> - </div> - </div> - - <button class="kontrolliKaarti">Kontrolli</button> - - </div> - </div> - - - - - <div class="card text-center"> - <img class="card-img-top" src="pildid/kohver.png" alt="Kohver"> - <div class="card-body"> - <h3 class="card-title">Kohver</h5> - - <div class="cardInnerWrapper"> - <div class="uno"> - <h4>Rublades</h4> - <span class="rublaHind">156</span> - <span class="symbol" >₽</span> - </div> - <div class="dos"> - <h4>Markades</h4> - <input name="" type="text" value=""/> - </div> - </div> - - <button class="kontrolliKaarti">Kontrolli</button> - - </div> - </div> - - - - - - <div class="card text-center"> - <img class="card-img-top" src="pildid/kingad.png" alt="Kingad"> - <div class="card-body"> - <h3 class="card-title">Kingad</h5> - - <div class="cardInnerWrapper"> - <div class="uno"> - <h4>Rublades</h4> - <span class="rublaHind">312</span> - <span class="symbol" >₽</span> - </div> - <div class="dos"> - <h4>Markades</h4> - <input name="" type="text" value=""/> - </div> - </div> - - <button class="kontrolliKaarti">Kontrolli</button> - - </div> - </div> - - - </div> - - - - <script src="script.js"></script> - - <!-- JavaScript Bundle with Popper --> - <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-A3rJD856KowSb7dwlZdYEkO39Gagi7vIsF0jrRAoQmDKKtQBHUuLZ9AsSv4jD4Xa" crossorigin="anonymous"></script> -</body> -</html> diff --git a/rannak/mangud/arimees/baks/pood.bak/pildid/avatar.png b/rannak/mangud/arimees/baks/pood.bak/pildid/avatar.png Binary files differdeleted file mode 100755 index 3cb21cf..0000000 --- a/rannak/mangud/arimees/baks/pood.bak/pildid/avatar.png +++ /dev/null diff --git a/rannak/mangud/arimees/baks/pood.bak/pildid/kingad.png b/rannak/mangud/arimees/baks/pood.bak/pildid/kingad.png Binary files differdeleted file mode 100755 index ef106ae..0000000 --- a/rannak/mangud/arimees/baks/pood.bak/pildid/kingad.png +++ /dev/null diff --git a/rannak/mangud/arimees/baks/pood.bak/pildid/kohver.png b/rannak/mangud/arimees/baks/pood.bak/pildid/kohver.png Binary files differdeleted file mode 100755 index 485b6db..0000000 --- a/rannak/mangud/arimees/baks/pood.bak/pildid/kohver.png +++ /dev/null diff --git a/rannak/mangud/arimees/baks/pood.bak/pildid/kupsis.png b/rannak/mangud/arimees/baks/pood.bak/pildid/kupsis.png Binary files differdeleted file mode 100755 index 2419f89..0000000 --- a/rannak/mangud/arimees/baks/pood.bak/pildid/kupsis.png +++ /dev/null diff --git a/rannak/mangud/arimees/baks/pood.bak/pildid/laud.png b/rannak/mangud/arimees/baks/pood.bak/pildid/laud.png Binary files differdeleted file mode 100755 index e3036dc..0000000 --- a/rannak/mangud/arimees/baks/pood.bak/pildid/laud.png +++ /dev/null diff --git a/rannak/mangud/arimees/baks/pood.bak/pildid/sai.png b/rannak/mangud/arimees/baks/pood.bak/pildid/sai.png Binary files differdeleted file mode 100755 index 8add13c..0000000 --- a/rannak/mangud/arimees/baks/pood.bak/pildid/sai.png +++ /dev/null diff --git a/rannak/mangud/arimees/baks/pood.bak/pildid/tugitool.png b/rannak/mangud/arimees/baks/pood.bak/pildid/tugitool.png Binary files differdeleted file mode 100755 index c48bd50..0000000 --- a/rannak/mangud/arimees/baks/pood.bak/pildid/tugitool.png +++ /dev/null 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 index b3cf91f..b3cf91f 100755..100644 --- a/rannak/mangud/arimees/baks/pood/fonts/1001fonts-eutemia-i-eula.txt +++ b/rannak/mangud/arimees/baks/pood/fonts/1001fonts-eutemia-i-eula.txt diff --git a/rannak/mangud/arimees/baks/pood/fonts/Eutemia.ttf b/rannak/mangud/arimees/baks/pood/fonts/Eutemia.ttf Binary files differindex c575e59..c575e59 100755..100644 --- a/rannak/mangud/arimees/baks/pood/fonts/Eutemia.ttf +++ b/rannak/mangud/arimees/baks/pood/fonts/Eutemia.ttf diff --git a/rannak/mangud/arimees/baks/pood/index.html b/rannak/mangud/arimees/baks/pood/index.html index 6c2f7b5..6c2f7b5 100755..100644 --- a/rannak/mangud/arimees/baks/pood/index.html +++ b/rannak/mangud/arimees/baks/pood/index.html diff --git a/rannak/mangud/arimees/baks/pood/pildid/avatar.png b/rannak/mangud/arimees/baks/pood/pildid/avatar.png Binary files differindex 3cb21cf..3cb21cf 100755..100644 --- a/rannak/mangud/arimees/baks/pood/pildid/avatar.png +++ b/rannak/mangud/arimees/baks/pood/pildid/avatar.png diff --git a/rannak/mangud/arimees/baks/pood/pildid/kingad.png b/rannak/mangud/arimees/baks/pood/pildid/kingad.png Binary files differindex ef106ae..ef106ae 100755..100644 --- a/rannak/mangud/arimees/baks/pood/pildid/kingad.png +++ b/rannak/mangud/arimees/baks/pood/pildid/kingad.png diff --git a/rannak/mangud/arimees/baks/pood/pildid/kohver.png b/rannak/mangud/arimees/baks/pood/pildid/kohver.png Binary files differindex 485b6db..485b6db 100755..100644 --- a/rannak/mangud/arimees/baks/pood/pildid/kohver.png +++ b/rannak/mangud/arimees/baks/pood/pildid/kohver.png diff --git a/rannak/mangud/arimees/baks/pood/pildid/kupsis.png b/rannak/mangud/arimees/baks/pood/pildid/kupsis.png Binary files differindex 2419f89..2419f89 100755..100644 --- a/rannak/mangud/arimees/baks/pood/pildid/kupsis.png +++ b/rannak/mangud/arimees/baks/pood/pildid/kupsis.png diff --git a/rannak/mangud/arimees/baks/pood/pildid/laud.png b/rannak/mangud/arimees/baks/pood/pildid/laud.png Binary files differindex e3036dc..e3036dc 100755..100644 --- a/rannak/mangud/arimees/baks/pood/pildid/laud.png +++ b/rannak/mangud/arimees/baks/pood/pildid/laud.png diff --git a/rannak/mangud/arimees/baks/pood/pildid/sai.png b/rannak/mangud/arimees/baks/pood/pildid/sai.png Binary files differindex 8add13c..8add13c 100755..100644 --- a/rannak/mangud/arimees/baks/pood/pildid/sai.png +++ b/rannak/mangud/arimees/baks/pood/pildid/sai.png diff --git a/rannak/mangud/arimees/baks/pood/pildid/tugitool.png b/rannak/mangud/arimees/baks/pood/pildid/tugitool.png Binary files differindex c48bd50..c48bd50 100755..100644 --- a/rannak/mangud/arimees/baks/pood/pildid/tugitool.png +++ b/rannak/mangud/arimees/baks/pood/pildid/tugitool.png diff --git a/rannak/mangud/arimees/baks/pood/script.js b/rannak/mangud/arimees/baks/pood/script.js index 3b3e67b..3b3e67b 100755..100644 --- a/rannak/mangud/arimees/baks/pood/script.js +++ b/rannak/mangud/arimees/baks/pood/script.js diff --git a/rannak/mangud/arimees/baks/pood/styles.css b/rannak/mangud/arimees/baks/pood/styles.css index 58bc290..58bc290 100755..100644 --- a/rannak/mangud/arimees/baks/pood/styles.css +++ b/rannak/mangud/arimees/baks/pood/styles.css diff --git a/rannak/mangud/arimees/muusika/index.html b/rannak/mangud/arimees/muusika/index.html index e1e80ab..e1e80ab 100755..100644 --- a/rannak/mangud/arimees/muusika/index.html +++ b/rannak/mangud/arimees/muusika/index.html diff --git a/rannak/mangud/arimees/muusika/pildid/avatar.png b/rannak/mangud/arimees/muusika/pildid/avatar.png Binary files differindex 3cb21cf..3cb21cf 100755..100644 --- a/rannak/mangud/arimees/muusika/pildid/avatar.png +++ b/rannak/mangud/arimees/muusika/pildid/avatar.png diff --git a/rannak/mangud/arimees/muusika/script.js b/rannak/mangud/arimees/muusika/script.js index 8803bbe..8803bbe 100755..100644 --- a/rannak/mangud/arimees/muusika/script.js +++ b/rannak/mangud/arimees/muusika/script.js diff --git a/rannak/mangud/arimees/muusika/style.css b/rannak/mangud/arimees/muusika/style.css index 3b7e248..3b7e248 100755..100644 --- a/rannak/mangud/arimees/muusika/style.css +++ b/rannak/mangud/arimees/muusika/style.css diff --git a/rannak/mangud/arimees/pood/index.html b/rannak/mangud/arimees/pood/index.html index 1e83723..f52a103 100755..100644 --- a/rannak/mangud/arimees/pood/index.html +++ b/rannak/mangud/arimees/pood/index.html @@ -128,9 +128,35 @@ <button class="nav-link" id="tab11" data-bs-toggle="tab" data-bs-target="#tab-pane11" type="button" role="tab" aria-controls="tab-pane11" aria-selected="false" >11</button> </li> - </ul> + <li class="nav-item" role="presentation"> + <button class="nav-link" id="tab12" data-bs-toggle="tab" data-bs-target="#tab-pane12" type="button" role="tab" aria-controls="tab-pane12" aria-selected="false" >12</button> + </li> + + <li class="nav-item" role="presentation"> + <button class="nav-link" id="tab13" data-bs-toggle="tab" data-bs-target="#tab-pane13" type="button" role="tab" aria-controls="tab-pane13" aria-selected="false" >13</button> + </li> + + <li class="nav-item" role="presentation"> + <button class="nav-link" id="tab14" data-bs-toggle="tab" data-bs-target="#tab-pane14" type="button" role="tab" aria-controls="tab-pane14" aria-selected="false" >14</button> + </li> + + <li class="nav-item" role="presentation"> + <button class="nav-link" id="tab15" data-bs-toggle="tab" data-bs-target="#tab-pane15" type="button" role="tab" aria-controls="tab-pane15" aria-selected="false" >15</button> + </li> + + <li class="nav-item" role="presentation"> + <button class="nav-link" id="tab16" data-bs-toggle="tab" data-bs-target="#tab-pane16" type="button" role="tab" aria-controls="tab-pane16" aria-selected="false" >16</button> + </li> + + <li class="nav-item" role="presentation"> + <button class="nav-link" id="tab17" data-bs-toggle="tab" data-bs-target="#tab-pane17" type="button" role="tab" aria-controls="tab-pane17" aria-selected="false" >17</button> + </li> + <li class="nav-item" role="presentation"> + <button class="nav-link" id="tab18" data-bs-toggle="tab" data-bs-target="#tab-pane18" type="button" role="tab" aria-controls="tab-pane18" aria-selected="false" >18</button> + </li> + </ul> @@ -180,10 +206,35 @@ <img alt="Ajakirja lehekülg" src="pildid/11.jpg"/> </div> - </div> + <div class="tab-pane fade" id="tab-pane12" role="tabpanel" aria-labelledby="12-tab" tabindex="0"> + <img alt="Ajakirja lehekülg" src="pildid/12.jpg"/> + </div> + <div class="tab-pane fade" id="tab-pane13" role="tabpanel" aria-labelledby="13-tab" tabindex="0"> + <img alt="Ajakirja lehekülg" src="pildid/13.jpg"/> + </div> + <div class="tab-pane fade" id="tab-pane14" role="tabpanel" aria-labelledby="14-tab" tabindex="0"> + <img alt="Ajakirja lehekülg" src="pildid/14.jpg"/> + </div> + <div class="tab-pane fade" id="tab-pane15" role="tabpanel" aria-labelledby="15-tab" tabindex="0"> + <img alt="Ajakirja lehekülg" src="pildid/15.jpg"/> + </div> + + <div class="tab-pane fade" id="tab-pane16" role="tabpanel" aria-labelledby="16-tab" tabindex="0"> + <img alt="Ajakirja lehekülg" src="pildid/16.jpg"/> + </div> + + <div class="tab-pane fade" id="tab-pane17" role="tabpanel" aria-labelledby="17-tab" tabindex="0"> + <img alt="Ajakirja lehekülg" src="pildid/17.jpg"/> + </div> + + <div class="tab-pane fade" id="tab-pane18" role="tabpanel" aria-labelledby="18-tab" tabindex="0"> + <img alt="Ajakirja lehekülg" src="pildid/18.jpg"/> + </div> + + </div> </div> <!-- Ajakirja Wrapper End --> @@ -191,6 +242,7 @@ <!-- Tabel --> <h3>Ostunimekiri</h3> + <p>Täitmiseks vajuta soovitud kohale ja sisesta andmed.</p> <div class="tabelWrapper"> <table class="table table-dark table-striped"> diff --git a/rannak/mangud/arimees/pood/pildid/12.jpg b/rannak/mangud/arimees/pood/pildid/12.jpg Binary files differnew file mode 100644 index 0000000..6cc8de1 --- /dev/null +++ b/rannak/mangud/arimees/pood/pildid/12.jpg diff --git a/rannak/mangud/arimees/pood/pildid/13.jpg b/rannak/mangud/arimees/pood/pildid/13.jpg Binary files differnew file mode 100644 index 0000000..dd4121e --- /dev/null +++ b/rannak/mangud/arimees/pood/pildid/13.jpg diff --git a/rannak/mangud/arimees/pood/pildid/14.jpg b/rannak/mangud/arimees/pood/pildid/14.jpg Binary files differnew file mode 100644 index 0000000..f9bb4be --- /dev/null +++ b/rannak/mangud/arimees/pood/pildid/14.jpg diff --git a/rannak/mangud/arimees/pood/pildid/15.jpg b/rannak/mangud/arimees/pood/pildid/15.jpg Binary files differnew file mode 100644 index 0000000..5522a85 --- /dev/null +++ b/rannak/mangud/arimees/pood/pildid/15.jpg diff --git a/rannak/mangud/arimees/pood/pildid/16.jpg b/rannak/mangud/arimees/pood/pildid/16.jpg Binary files differnew file mode 100644 index 0000000..f981ab5 --- /dev/null +++ b/rannak/mangud/arimees/pood/pildid/16.jpg diff --git a/rannak/mangud/arimees/pood/pildid/17.jpg b/rannak/mangud/arimees/pood/pildid/17.jpg Binary files differnew file mode 100644 index 0000000..e87ebfe --- /dev/null +++ b/rannak/mangud/arimees/pood/pildid/17.jpg diff --git a/rannak/mangud/arimees/pood/pildid/18.jpg b/rannak/mangud/arimees/pood/pildid/18.jpg Binary files differnew file mode 100644 index 0000000..1de7aa5 --- /dev/null +++ b/rannak/mangud/arimees/pood/pildid/18.jpg diff --git a/rannak/mangud/arimees/pood/pildid/avatar.png b/rannak/mangud/arimees/pood/pildid/avatar.png Binary files differindex 3cb21cf..3cb21cf 100755..100644 --- a/rannak/mangud/arimees/pood/pildid/avatar.png +++ b/rannak/mangud/arimees/pood/pildid/avatar.png diff --git a/rannak/mangud/arimees/pood/script.js b/rannak/mangud/arimees/pood/script.js index 8803bbe..5a48c84 100755..100644 --- 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 index e4de8d1..61bdfe7 100755..100644 --- 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 index cdb3773..cdb3773 100755..100644 --- a/rannak/mangud/arimees/soome/fonts/OFL.txt +++ b/rannak/mangud/arimees/soome/fonts/OFL.txt diff --git a/rannak/mangud/arimees/soome/fonts/README.txt b/rannak/mangud/arimees/soome/fonts/README.txt index c5792a2..c5792a2 100755..100644 --- a/rannak/mangud/arimees/soome/fonts/README.txt +++ b/rannak/mangud/arimees/soome/fonts/README.txt diff --git a/rannak/mangud/arimees/soome/fonts/Rubik-Italic-VariableFont_wght.ttf b/rannak/mangud/arimees/soome/fonts/Rubik-Italic-VariableFont_wght.ttf Binary files differindex 58d5f50..58d5f50 100755..100644 --- a/rannak/mangud/arimees/soome/fonts/Rubik-Italic-VariableFont_wght.ttf +++ b/rannak/mangud/arimees/soome/fonts/Rubik-Italic-VariableFont_wght.ttf diff --git a/rannak/mangud/arimees/soome/fonts/Rubik-VariableFont_wght.ttf b/rannak/mangud/arimees/soome/fonts/Rubik-VariableFont_wght.ttf Binary files differindex fa161b9..fa161b9 100755..100644 --- a/rannak/mangud/arimees/soome/fonts/Rubik-VariableFont_wght.ttf +++ b/rannak/mangud/arimees/soome/fonts/Rubik-VariableFont_wght.ttf diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-Black.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-Black.ttf Binary files differindex 1613299..1613299 100755..100644 --- a/rannak/mangud/arimees/soome/fonts/static/Rubik-Black.ttf +++ b/rannak/mangud/arimees/soome/fonts/static/Rubik-Black.ttf diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-BlackItalic.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-BlackItalic.ttf Binary files differindex fc12676..fc12676 100755..100644 --- a/rannak/mangud/arimees/soome/fonts/static/Rubik-BlackItalic.ttf +++ b/rannak/mangud/arimees/soome/fonts/static/Rubik-BlackItalic.ttf diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-Bold.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-Bold.ttf Binary files differindex 7ec66a6..7ec66a6 100755..100644 --- a/rannak/mangud/arimees/soome/fonts/static/Rubik-Bold.ttf +++ b/rannak/mangud/arimees/soome/fonts/static/Rubik-Bold.ttf diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-BoldItalic.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-BoldItalic.ttf Binary files differindex f6e0780..f6e0780 100755..100644 --- a/rannak/mangud/arimees/soome/fonts/static/Rubik-BoldItalic.ttf +++ b/rannak/mangud/arimees/soome/fonts/static/Rubik-BoldItalic.ttf diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-ExtraBold.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-ExtraBold.ttf Binary files differindex 1ca9932..1ca9932 100755..100644 --- a/rannak/mangud/arimees/soome/fonts/static/Rubik-ExtraBold.ttf +++ b/rannak/mangud/arimees/soome/fonts/static/Rubik-ExtraBold.ttf diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-ExtraBoldItalic.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-ExtraBoldItalic.ttf Binary files differindex 598f72a..598f72a 100755..100644 --- a/rannak/mangud/arimees/soome/fonts/static/Rubik-ExtraBoldItalic.ttf +++ b/rannak/mangud/arimees/soome/fonts/static/Rubik-ExtraBoldItalic.ttf diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-Italic.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-Italic.ttf Binary files differindex 0c6d991..0c6d991 100755..100644 --- a/rannak/mangud/arimees/soome/fonts/static/Rubik-Italic.ttf +++ b/rannak/mangud/arimees/soome/fonts/static/Rubik-Italic.ttf diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-Light.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-Light.ttf Binary files differindex 9229768..9229768 100755..100644 --- a/rannak/mangud/arimees/soome/fonts/static/Rubik-Light.ttf +++ b/rannak/mangud/arimees/soome/fonts/static/Rubik-Light.ttf diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-LightItalic.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-LightItalic.ttf Binary files differindex d3bba74..d3bba74 100755..100644 --- a/rannak/mangud/arimees/soome/fonts/static/Rubik-LightItalic.ttf +++ b/rannak/mangud/arimees/soome/fonts/static/Rubik-LightItalic.ttf diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-Medium.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-Medium.ttf Binary files differindex 0895d3e..0895d3e 100755..100644 --- a/rannak/mangud/arimees/soome/fonts/static/Rubik-Medium.ttf +++ b/rannak/mangud/arimees/soome/fonts/static/Rubik-Medium.ttf diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-MediumItalic.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-MediumItalic.ttf Binary files differindex e839613..e839613 100755..100644 --- a/rannak/mangud/arimees/soome/fonts/static/Rubik-MediumItalic.ttf +++ b/rannak/mangud/arimees/soome/fonts/static/Rubik-MediumItalic.ttf diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-Regular.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-Regular.ttf Binary files differindex 0967c8c..0967c8c 100755..100644 --- a/rannak/mangud/arimees/soome/fonts/static/Rubik-Regular.ttf +++ b/rannak/mangud/arimees/soome/fonts/static/Rubik-Regular.ttf diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-SemiBold.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-SemiBold.ttf Binary files differindex b631487..b631487 100755..100644 --- a/rannak/mangud/arimees/soome/fonts/static/Rubik-SemiBold.ttf +++ b/rannak/mangud/arimees/soome/fonts/static/Rubik-SemiBold.ttf diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-SemiBoldItalic.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-SemiBoldItalic.ttf Binary files differindex f9eb73b..f9eb73b 100755..100644 --- a/rannak/mangud/arimees/soome/fonts/static/Rubik-SemiBoldItalic.ttf +++ b/rannak/mangud/arimees/soome/fonts/static/Rubik-SemiBoldItalic.ttf diff --git a/rannak/mangud/arimees/soome/index.html b/rannak/mangud/arimees/soome/index.html index 824a450..824a450 100755..100644 --- a/rannak/mangud/arimees/soome/index.html +++ b/rannak/mangud/arimees/soome/index.html diff --git a/rannak/mangud/arimees/soome/pildid/avatar.png b/rannak/mangud/arimees/soome/pildid/avatar.png Binary files differindex 3cb21cf..3cb21cf 100755..100644 --- a/rannak/mangud/arimees/soome/pildid/avatar.png +++ b/rannak/mangud/arimees/soome/pildid/avatar.png diff --git a/rannak/mangud/arimees/soome/script.js b/rannak/mangud/arimees/soome/script.js index 946f029..946f029 100755..100644 --- a/rannak/mangud/arimees/soome/script.js +++ b/rannak/mangud/arimees/soome/script.js diff --git a/rannak/mangud/arimees/soome/style.css b/rannak/mangud/arimees/soome/style.css index cb70806..cb70806 100755..100644 --- a/rannak/mangud/arimees/soome/style.css +++ b/rannak/mangud/arimees/soome/style.css |