source: src/main/resources/templates/addEvent.html@ 86e187f

Last change on this file since 86e187f was 0fb69cc, checked in by DenicaKj <dkorvezir@…>, 22 months ago

Adding Events To Home Page

  • Property mode set to 100644
File size: 2.3 KB
Line 
1<th:block xmlns:th="http://www.thymeleaf.org">
2 <div style="color: white" class="container">
3 <h1 class="jumbotron-heading">Add New Event</h1>
4 <div class="row">
5 <div class="col-md-5">
6 <form action="/home/addE" method="POST">
7 <div class="form-group">
8 <label for="theme">Theme</label>
9 <input type="text"
10 class="form-control"
11 id="theme"
12 name="theme"
13 required
14 placeholder="Enter theme">
15 </div>
16 <div class="form-group">
17 <label for="duration">Duration</label>
18 <input type="text"
19 class="form-control"
20 id="duration"
21 name="duration"
22 placeholder="Duration">
23 </div>
24 <div class="form-group">
25 <label for="repeating">Repeating</label>
26 <input type="text"
27 class="form-control"
28 id="repeating"
29 name="repeating"
30 placeholder="repeating">
31 </div>
32 <div class="form-group">
33 <label for="start_date">Start Date</label>
34 <input type="date"
35 class="form-control"
36 id="start_date"
37 name="start_date"
38 >
39 </div>
40 <div class="form-group">
41 <label for="img_url">Image Url</label>
42 <input type="text"
43 class="form-control"
44 id="img_url"
45 name="img_url"
46 placeholder="URL">
47 </div>
48
49 <button style="background-color: #ff5019" id="submit" type="submit" class="btn btn-primary">Add Event</button>
50 </form>
51 </div>
52 </div>
53 </div>
54
55</th:block>
Note: See TracBrowser for help on using the repository browser.