Changeset 7f36551 in Git for target/classes/static
- Timestamp:
- 02/06/22 22:56:26 (3 years ago)
- Branches:
- main
- Children:
- 3c0f9a9, ad4243e
- Parents:
- 42d565b
- Location:
- target/classes/static
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
target/classes/static/css/shared.css
r42d565b r7f36551 40 40 transition: 400ms; 41 41 color:black; 42 -webkit-text-stroke-color: gray;42 -webkit-text-stroke-color: white; 43 43 } 44 44 -
target/classes/static/js/sharedScript.js
r42d565b r7f36551 39 39 $(".search-button-title").on("click",function (){ 40 40 let filter = $("#searchTitle").val() 41 console.log(elements) 41 42 for (let item of elements){ 42 let title = item.cells[0].innerText43 let title = $(item).find(".card-title").text() 43 44 if (title.toLowerCase() === filter.toLowerCase()){ 45 console.log("Da") 44 46 $(item).css("display","block") 45 47 } … … 54 56 $(".search-button").on("click",function () { 55 57 let filter = $("#searchGenre").val() 56 for (let item of elements) { 57 let genre = item.cells[4].children; 58 console.log(elements) 59 60 for (let item of elements) { 61 let genre = $(item).find(".card-genre") 58 62 let visible = false; 59 63 60 for ( g of genre) {64 for (let g of genre) { 61 65 62 66 if ($(g).text().toLowerCase() === filter.toLowerCase()) {
Note:
See TracChangeset
for help on using the changeset viewer.