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

Added new core functionalities, fixed bugs and improved visual clarity

Location:
src/main/resources/templates/fragments
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/main/resources/templates/fragments/header.html

    r3c0f9a9 rc02189f  
    22    <nav class="navbar navbar-expand-md navbar-dark bg-dark">
    33        <div class="container">
    4             <a class="navbar-brand" href="/movies">Форум за филмови</a>
    54            <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExampleDefault"
    65                    aria-controls="navbarsExampleDefault" aria-expanded="false" aria-label="Toggle navigation">
     
    2827                    </li>
    2928                </ul>
    30                 <form class="form-inline my-2 my-lg-0">
     29                <form class="form-inline my-2 my-lg-0 hidden">
    3130                    <div class="input-group input-group-sm">
    3231                        <input type="text" class="form-control" aria-label="Small"
  • src/main/resources/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>
  • src/main/resources/templates/fragments/searchBarName.html

    r3c0f9a9 rc02189f  
    1 <div>
    2     <label for="searchTitle" style="width: 150px;">Прабарај по име</label>
    3     <input id="searchTitle" type="text" placeholder="име">
    4     <button class="search-button-title">Пребарај</button>
     1<div style="width:60%; margin: auto;">
     2    <input id="searchTitle" class="form-control" style="float: left; display: block; width: 50%" type="text" placeholder="...">
     3
     4    <div class="input-group-append" style="width: 40%">
     5        <button class="btn btn-secondary search-button-title" style="width: 100%">Филтрирај по Наслов</button>
     6    </div>
     7
    58</div>
Note: See TracChangeset for help on using the changeset viewer.