source: bus-n-go-do-5ta-faza/src/main/resources/templates/endVozenje.html@ baf4cc4

Last change on this file since baf4cc4 was baf4cc4, checked in by ppaunovski <paunovskipavel@…>, 3 months ago

split group project and individual project into two separate folders

  • Property mode set to 100644
File size: 2.6 KB
Line 
1<div class="container" xmlns:th="http://www.thymeleaf.org">
2 <form class="form-signin mt-xl-5" method="post" th:action="@{'/vozenje/{id}/end'(id=${vozenje.vozenjeId})}">
3 <h2 class="form-signin-heading">Start vozenje</h2>
4
5 <p>
6 <label for="pnlId" class="sr-only">Postojka</label>
7 <select class="form-control" name="pnlId" id="pnlId">
8 <option class="form-control"
9 th:text="${vozenje.postojkanalinijaByKacuvaPnlId.postojkaByPId.pIme}"
10 selected
11 disabled
12 th:value="${vozenje.postojkanalinijaByKacuvaPnlId.pnlId} " ></option>
13<!-- th:selected="${postojka!= null && postojka.pnlId == pos.pnlId} ? 'true' : 'false' " -->
14<!-- th:disabled="${postojka!= null && postojka.pnlId != pos.pnlId} ? 'true' : 'false' " -->
15
16 </select>
17 </p>
18
19 <p >
20 <label for="instanca" class="sr-only">Instanca</label>
21 <select id="instanca" name="inlId" class="form-control">
22 <option
23 selected
24 disabled
25 th:value="${vozenje.instancanalinijaByInlId.inlId}"
26 th:text="${vozenje.instancanalinijaByInlId.linijaByLiId.liIme} + ' - ' + ${vozenje.instancanalinijaByInlId.linijaByLiId.liPravec}"></option>
27 </select>
28 </p>
29
30 <p >
31 <label for="bilet" class="sr-only">Bilet</label>
32 <select id="bilet" name="bId" class="form-control">
33 <option
34 selected
35 disabled
36 th:value="${vozenje.biletByBId.bId}"
37 th:text="${vozenje.biletByBId.tipbiletByTbId.tbIme} + ' - ' + ${vozenje.biletByBId.bStatus.name()}"></option>
38 </select>
39 </p>
40
41 <p>
42 <label for="pnlEndId" class="sr-only">Postojka Simnuvanje</label>
43 <select class="form-control" name="pnlEndId" id="pnlEndId">
44 <option class="form-control"
45 th:each="pos : ${pnls}"
46 th:text="${pos.postojkaByPId.pIme}"
47 th:value="${pos.pnlId} " ></option>
48
49
50 </select>
51 </p>
52
53 <div th:if="${param.error}" th:text="${param.error}" class="text-danger"></div>
54
55 <div class="row">
56 <div class="col-md-3">
57 <button id="submit" class="btn btn-lg btn-primary btn-block" type="submit">End</button>
58 </div>
59 </div>
60 </form>
61</div>
62
Note: See TracBrowser for help on using the repository browser.