source: src/main/resources/templates/startInstanca.html@ bde8b13

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

All 3 main use cases implemented.

  1. Starting a commute
  2. Writing a ticket
  3. Starting an instance of a Bus Line
  • Property mode set to 100644
File size: 1.2 KB
RevLine 
[bde8b13]1<div class="container" xmlns:th="http://www.thymeleaf.org">
2 <form class="form-signin mt-xl-5" method="post" action="/instanca-na-linija/start">
3 <h2 class="form-signin-heading">Start instanca na linija</h2>
4
5 <p>
6 <label for="aRegistracija" class="sr-only">Avtobus</label>
7 <select class="form-control" name="aRegistracija" id="aRegistracija">
8 <option class="form-control" th:each="avtobus : ${avtobusi}" th:text="${avtobus.aRegistracija}" th:value="${avtobus.aRegistracija} " ></option>
9 </select>
10 </p>
11
12 <p>
13 <label for="liId" class="sr-only">Password</label>
14 <select id="liId" name="liId" class="form-control">
15 <option th:each="linija : ${linii}" th:value="${linija.liId}" th:text="${linija.liIme} + ' - ' + ${linija.liPravec}"></option>
16 </select>
17 </p>
18
19
20 <div th:if="${param.error}" th:text="${param.error}" class="text-danger"></div>
21
22 <div class="row">
23 <div class="col-md-3">
24 <button id="submit" class="btn btn-lg btn-primary btn-block" type="submit">Start</button>
25 </div>
26 </div>
27 </form>
28</div>
29
Note: See TracBrowser for help on using the repository browser.