Ignore:
Timestamp:
02/18/24 22:01:54 (4 months ago)
Author:
ppaunovski <paunovskipavel@…>
Branches:
master
Children:
4251327
Parents:
bde8b13
Message:

All 3 main use cases implemented.

  1. Starting a commute
  2. Writing a ticket
  3. Starting an instance of a Bus Line
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/resources/templates/register.html

    rbde8b13 re272096  
    11<div xmlns:th="http://www.thymeleaf.org">
    2   <section class="jumbotron text-center">
    3     <div class="container">
    4       <h1 class="jumbotron-heading">WEB PROGRAMMING SHOP</h1>
    5       <h3 class="jumbotron-heading">All products</h3>
    6     </div>
    7   </section>
    82
    93  <div class="container mb-4">
     
    3529      </p>
    3630
     31      <p sec:authorize="hasRole('ROLE_ADMIN')">
     32        <label for="vrabotenType" class="sr-only">Vraboten Type</label>
     33        <select name="vrabotenType" id="vrabotenType">
     34          <option th:each="type : ${types}"
     35                  th:text="${type.name()}"
     36                  th:value="${type}" ></option>
     37        </select>
     38      </p>
     39
     40      <p sec:authorize="hasRole('ROLE_ADMIN')">
     41        <label for="salary" class="sr-only">Salary</label>
     42        <input type="number" id="salary" name="salary">
     43      </p>
     44
     45
    3746
    3847
Note: See TracChangeset for help on using the changeset viewer.