Last change
on this file since dedbf60 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:
1.8 KB
|
Line | |
---|
1 | <div class="container" xmlns:th="http://www.thymeleaf.org">
|
---|
2 | <form class="form-signin mt-xl-5" th:method="${postojka} != null ? 'post' : 'get'" action="/vozenje/start">
|
---|
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" th:each="pos : ${postojki}" th:text="${pos.postojkaByPId.pIme}" th:selected="${postojka!= null && postojka.pnlId == pos.pnlId} ? 'true' : 'false' " th:disabled="${postojka!= null && postojka.pnlId != pos.pnlId} ? 'true' : 'false' " th:value="${pos.pnlId} " ></option>
|
---|
9 | </select>
|
---|
10 | </p>
|
---|
11 |
|
---|
12 | <p th:hidden="${instanci} == null">
|
---|
13 | <label for="instanca" class="sr-only">Password</label>
|
---|
14 | <select id="instanca" name="inlId" class="form-control">
|
---|
15 | <option th:each="instanca : ${instanci}" th:value="${instanca.inlId}" th:text="${instanca.linijaByLiId.liIme} + ' - ' + ${instanca.linijaByLiId.liPravec}"></option>
|
---|
16 | </select>
|
---|
17 | </p>
|
---|
18 |
|
---|
19 | <p th:hidden="${instanci} == null">
|
---|
20 | <label for="bilet" class="sr-only">Password</label>
|
---|
21 | <select id="bilet" name="bId" class="form-control">
|
---|
22 | <option th:each="bilet : ${bileti}" th:value="${bilet.bId}" th:text="${bilet.tipbiletByTbId.tbIme} + ' - ' + ${bilet.bStatus.name()}"></option>
|
---|
23 | </select>
|
---|
24 | </p>
|
---|
25 |
|
---|
26 | <div th:if="${param.error}" th:text="${param.error}" class="text-danger"></div>
|
---|
27 |
|
---|
28 | <div class="row">
|
---|
29 | <div class="col-md-3">
|
---|
30 | <button id="submit" class="btn btn-lg btn-primary btn-block" type="submit">Start</button>
|
---|
31 | </div>
|
---|
32 | </div>
|
---|
33 | </form>
|
---|
34 | </div>
|
---|
35 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.