Ignore:
Timestamp:
02/08/23 14:41:27 (22 months ago)
Author:
milamihajlovska <mila.mihajlovska01@…>
Branches:
master
Children:
2c7a732
Parents:
39a45e6 (diff), 90317ea (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of https://github.com/DenicaKj/MovieZone

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/resources/templates/events.html

    r39a45e6 r632e3d8  
    194194        border-radius: 20px;
    195195    }
     196    .form-group{
     197        width: 200px;
     198    }
    196199</style>
     200<div>
     201    <form th:action="@{'/home/events'}"
     202          th:method="GET">
     203
     204        <div class="form-group">
     205            <label style="color: white;font-size: 20px;font-weight: bold">Кино</label>
     206            <select name="id_cinema" class="form-control" id="id_cinema">
     207                <option
     208                        th:selected="${cinemas.get(1)}"
     209                        th:each="cinema : ${cinemas}"
     210                        th:value="${cinema.getId_cinema()}"
     211                        th:text="${cinema.getName()}">
     212                </option>
     213            </select>
     214
     215        </div>
     216        <button class="button" type="submit">Filter</button>
     217    </form>
     218
    197219<div xmlns:th="http://www.thymeleaf.org">
     220    <h1 style="color: white">Настани</h1>
    198221    <div class="main">
    199222        <div th:each="event : ${events}" class="container">
     
    208231                        <span th:text="${event.getDuration()}"></span>
    209232                    </div>
    210                     <form th:action="@{'/home/getFilm/{id}' (id=${event.getId_event()})}"
     233                    <form th:action="@{'/home/getEvent/{id}' (id=${event.getId_event()})}"
    211234                          th:method="GET">
    212235                        <button class="button" type="submit">Датали</button>
     
    218241    </div>
    219242</div>
     243</div>
Note: See TracChangeset for help on using the changeset viewer.