source:
src/main/resources/templates/addFilm.html
Last change on this file was 39a45e6, checked in by , 22 months ago | |
---|---|
|
|
File size: 3.9 KB |
Rev | Line | |
---|---|---|
[a073dad] | 1 | <th:block xmlns:th="http://www.thymeleaf.org"> |
[302b233] | 2 | |
[b5ce654] | 3 | <div class="container" style="color: white"> |
[39a45e6] | 4 | <h1 class="jumbotron-heading">Додади нов филм</h1> |
[a073dad] | 5 | <div class="row"> |
6 | <div class="col-md-5"> | |
7 | <form action="/home/addF" method="POST"> | |
8 | <div class="form-group"> | |
[39a45e6] | 9 | <label for="name">Име</label> |
[a073dad] | 10 | <input type="text" |
11 | class="form-control" | |
12 | id="name" | |
13 | name="name" | |
14 | required | |
[39a45e6] | 15 | placeholder="Име на филмот"> |
[a073dad] | 16 | </div> |
17 | <div class="form-group"> | |
[39a45e6] | 18 | <label for="duration">Траење</label> |
[a073dad] | 19 | <input type="number" |
20 | class="form-control" | |
21 | id="duration" | |
22 | name="duration" | |
[39a45e6] | 23 | placeholder="Траење"> |
[a073dad] | 24 | </div> |
25 | <div class="form-group"> | |
[39a45e6] | 26 | <label for="actors">Актери</label> |
[a073dad] | 27 | <input type="text" |
28 | class="form-control" | |
29 | id="actors" | |
30 | name="actors" | |
[39a45e6] | 31 | placeholder="Актери"> |
[a073dad] | 32 | </div> |
33 | <div class="form-group"> | |
[39a45e6] | 34 | <label for="genre">Жанр</label> |
[a073dad] | 35 | <input type="text" |
36 | class="form-control" | |
37 | id="genre" | |
38 | name="genre" | |
[39a45e6] | 39 | placeholder="Жанр"> |
[a073dad] | 40 | </div> <div class="form-group"> |
[39a45e6] | 41 | <label for="age_category">Возрасна група</label> |
[a073dad] | 42 | <input type="text" |
43 | class="form-control" | |
44 | id="age_category" | |
45 | name="age_category" | |
[39a45e6] | 46 | placeholder="Возрасна група"> |
[a073dad] | 47 | </div> |
48 | <div class="form-group"> | |
[39a45e6] | 49 | <label for="url">Слика</label> |
[a073dad] | 50 | <input type="url" |
51 | class="form-control" | |
52 | id="url" | |
53 | name="url" | |
54 | > | |
55 | </div> | |
56 | <div class="form-group"> | |
[39a45e6] | 57 | <label for="director">Режисер</label> |
[a073dad] | 58 | <input type="text" |
59 | class="form-control" | |
60 | id="director" | |
61 | name="director" | |
[39a45e6] | 62 | placeholder="Режисер"> |
[a073dad] | 63 | </div> |
64 | <div class="form-group"> | |
[39a45e6] | 65 | <label for="start_date">Почетен датум</label> |
[a073dad] | 66 | <input type="date" |
67 | class="form-control" | |
68 | id="start_date" | |
69 | name="start_date" | |
70 | > | |
71 | </div> | |
72 | <div class="form-group"> | |
[39a45e6] | 73 | <label for="end_date">Краен датум</label> |
[a073dad] | 74 | <input type="date" |
75 | class="form-control" | |
76 | id="end_date" | |
77 | name="end_date" | |
78 | > | |
79 | </div> | |
80 | ||
[39a45e6] | 81 | <button style="background-color: #ff5019" id="submit" type="submit" class="btn btn-primary">Додади</button> |
[a073dad] | 82 | </form> |
83 | </div> | |
84 | </div> | |
[39a45e6] | 85 | <button style="background-color: #ff5019" class="btn btn-primary"><a style="color: white" href="/addFilmToCinema">Додади филм во кинотека</a></button> |
86 | ||
[a073dad] | 87 | </div> |
88 | ||
89 | </th:block> |
Note:
See TracBrowser
for help on using the repository browser.