Last change
on this file since 0fb69cc was 0fb69cc, checked in by DenicaKj <dkorvezir@…>, 22 months ago |
Adding Events To Home Page
|
-
Property mode
set to
100644
|
File size:
3.6 KB
|
Rev | Line | |
---|
[a073dad] | 1 | <th:block xmlns:th="http://www.thymeleaf.org">
|
---|
[302b233] | 2 |
|
---|
[b5ce654] | 3 | <div class="container" style="color: white">
|
---|
| 4 | <h1 class="jumbotron-heading">Add New Film</h1>
|
---|
[a073dad] | 5 | <div class="row">
|
---|
| 6 | <div class="col-md-5">
|
---|
| 7 | <form action="/home/addF" method="POST">
|
---|
| 8 | <div class="form-group">
|
---|
| 9 | <label for="name">Name</label>
|
---|
| 10 | <input type="text"
|
---|
| 11 | class="form-control"
|
---|
| 12 | id="name"
|
---|
| 13 | name="name"
|
---|
| 14 | required
|
---|
| 15 | placeholder="Name">
|
---|
| 16 | </div>
|
---|
| 17 | <div class="form-group">
|
---|
| 18 | <label for="duration">Duration</label>
|
---|
| 19 | <input type="number"
|
---|
| 20 | class="form-control"
|
---|
| 21 | id="duration"
|
---|
| 22 | name="duration"
|
---|
| 23 | placeholder="Duration">
|
---|
| 24 | </div>
|
---|
| 25 | <div class="form-group">
|
---|
| 26 | <label for="actors">Actors</label>
|
---|
| 27 | <input type="text"
|
---|
| 28 | class="form-control"
|
---|
| 29 | id="actors"
|
---|
| 30 | name="actors"
|
---|
| 31 | placeholder="Actors">
|
---|
| 32 | </div>
|
---|
| 33 | <div class="form-group">
|
---|
| 34 | <label for="genre">Genre</label>
|
---|
| 35 | <input type="text"
|
---|
| 36 | class="form-control"
|
---|
| 37 | id="genre"
|
---|
| 38 | name="genre"
|
---|
| 39 | placeholder="Genre">
|
---|
| 40 | </div> <div class="form-group">
|
---|
| 41 | <label for="age_category">Age Category</label>
|
---|
| 42 | <input type="text"
|
---|
| 43 | class="form-control"
|
---|
| 44 | id="age_category"
|
---|
| 45 | name="age_category"
|
---|
| 46 | placeholder="Age Category">
|
---|
| 47 | </div>
|
---|
| 48 | <div class="form-group">
|
---|
| 49 | <label for="url">Url</label>
|
---|
| 50 | <input type="url"
|
---|
| 51 | class="form-control"
|
---|
| 52 | id="url"
|
---|
| 53 | name="url"
|
---|
| 54 | >
|
---|
| 55 | </div>
|
---|
| 56 | <div class="form-group">
|
---|
| 57 | <label for="director">Director</label>
|
---|
| 58 | <input type="text"
|
---|
| 59 | class="form-control"
|
---|
| 60 | id="director"
|
---|
| 61 | name="director"
|
---|
| 62 | placeholder="Director">
|
---|
| 63 | </div>
|
---|
| 64 | <div class="form-group">
|
---|
| 65 | <label for="start_date">Start Date</label>
|
---|
| 66 | <input type="date"
|
---|
| 67 | class="form-control"
|
---|
| 68 | id="start_date"
|
---|
| 69 | name="start_date"
|
---|
| 70 | >
|
---|
| 71 | </div>
|
---|
| 72 | <div class="form-group">
|
---|
| 73 | <label for="end_date">End Date</label>
|
---|
| 74 | <input type="date"
|
---|
| 75 | class="form-control"
|
---|
| 76 | id="end_date"
|
---|
| 77 | name="end_date"
|
---|
| 78 | >
|
---|
| 79 | </div>
|
---|
| 80 |
|
---|
[0fb69cc] | 81 | <button style="background-color: #ff5019" id="submit" type="submit" class="btn btn-primary">Add Film</button>
|
---|
[a073dad] | 82 | </form>
|
---|
| 83 | </div>
|
---|
| 84 | </div>
|
---|
| 85 | </div>
|
---|
| 86 |
|
---|
| 87 | </th:block> |
---|
Note:
See
TracBrowser
for help on using the repository browser.