Changeset 8b875e6 for src/main/resources
- Timestamp:
- 05/05/24 01:27:16 (7 months ago)
- Branches:
- master
- Children:
- baf4cc4
- Parents:
- 4d026a5
- Location:
- src/main/resources
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/resources/application.properties
r4d026a5 r8b875e6 1 1 # 2 spring.datasource.url=jdbc:postgresql://localhost:808 9/db_202324z_va_prj_busngo2 spring.datasource.url=jdbc:postgresql://localhost:8081/db_202324z_va_prj_busngo 3 3 spring.datasource.username=db_202324z_va_prj_busngo_owner 4 4 spring.datasource.password=d9f924580e7 … … 11 11 #spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect 12 12 spring.jpa.properties.hibernate.jdbc.non_contextual_creation=true 13 spring.jpa.properties.hibernate.default_schema=project 13 spring.jpa.properties.hibernate.default_schema=project_new 14 14 15 15 spring.jpa.hibernate.ddl-auto=validate -
src/main/resources/templates/fragments/header.html
r4d026a5 r8b875e6 10 10 <div class="collapse navbar-collapse justify-content-end" id="navbarsExampleDefault"> 11 11 <ul class="navbar-nav m-auto"> 12 <li sec: hasRoleclass="nav-item m-auto">12 <li sec:authorize="hasRole('ROLE_PASSENGER')" class="nav-item m-auto"> 13 13 <a class="nav-link active" href="/bilet">Bileti</a> 14 14 </li> 15 <li class="nav-item m-auto">15 <li sec:authorize="hasAnyRole('ROLE_PASSENGER')" class="nav-item m-auto"> 16 16 <a class="nav-link active" href="/vozenje">Vozenja</a> 17 17 </li> 18 <li class="nav-item m-auto">18 <li sec:authorize="hasRole('ROLE_PASSENGER')" class="nav-item m-auto"> 19 19 <a class="nav-link active" href="/kazna">Kazni</a> 20 20 </li> 21 <li class="nav-item m-auto">21 <li sec:authorize="hasAnyRole('ROLE_CONDUCTOR', 'ROLE_DRIVER')" class="nav-item m-auto"> 22 22 <a class="nav-link active" href="/instanca-na-linija">Instanci</a> 23 23 </li> -
src/main/resources/templates/register.html
r4d026a5 r8b875e6 29 29 </p> 30 30 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>31 <!-- <p sec:authorize="hasRole('ROLE_ADMIN')">--> 32 <label for="role" class="sr-only">Role</label> 33 <select name="role" id="role"> 34 <option th:each="role : ${roles}" 35 th:text="${role.name()}" 36 th:value="${role}" ></option> 37 37 </select> 38 </p>38 <!-- </p>--> 39 39 40 40 <p sec:authorize="hasRole('ROLE_ADMIN')">
Note:
See TracChangeset
for help on using the changeset viewer.