Ignore:
Timestamp:
02/08/22 20:13:23 (3 years ago)
Author:
Petar Partaloski <ppartaloski@…>
Branches:
main
Children:
0226942, 3fe36de
Parents:
3c0f9a9
Message:

Added new core functionalities, fixed bugs and improved visual clarity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • target/classes/templates/fragments/searchBarGenre.html

    r3c0f9a9 rc02189f  
    1 <div>
    2       <label for="searchGenre" style="width: 150px;">Пребарај по жанр</label>
    3         <input id="searchGenre" type="text" placeholder="жанр">
    4         <button class="search-button">Пребарај</button>
     1<div xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" style="width:60%; margin: auto; margin-bottom: 10px">
     2        <select th:if="${genres!=null}" id="searchGenre" class="form-control" style="float: left; display: block; width: 50%">
     3            <option value="" selected>Сите</option>
     4            <option th:each="genre: ${genres}" th:value="${genre.getGenreType()}" th:text="${genre.getGenreType()}"></option>
     5        </select>
     6        <div class="input-group-append" style="width: 40%">
     7            <button class="btn btn-secondary  search-button" style="width: 100%">Филтрирај по жанр</button>
     8        </div>
    59</div>
Note: See TracChangeset for help on using the changeset viewer.