Changeset 7d43957 for src/main/resources
- Timestamp:
- 01/05/23 01:31:58 (23 months ago)
- Branches:
- main
- Children:
- 676144b
- Parents:
- ab952ab
- Location:
- src/main/resources/templates
- Files:
-
- 2 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/resources/templates/fragments/header.html
rab952ab r7d43957 1 <header xmlns:sec="http://www.w3.org/1999/xhtml" >1 <header xmlns:sec="http://www.w3.org/1999/xhtml" > 2 2 <nav class="navbar navbar-expand-md navbar-dark bg-dark"> 3 3 <div class="container"> … … 16 16 <a class="nav-link active" href="/services">Сервиси</a> 17 17 </li> 18 <th:block sec:authorize="hasAuthority('ROLE_CLIENT')"> 19 <li class="nav-item m-auto"> 20 <a class="nav-link active" href="/currentOrder">Моја нарачка</a> 21 </li> 22 </th:block> 18 23 </ul> 19 24 -
src/main/resources/templates/master-template.html
rab952ab r7d43957 1 1 <!DOCTYPE html> 2 <html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"> 2 <html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/extras/spring-security" 3 > 3 4 <head> 4 5 <meta charset="UTF-8"/> -
src/main/resources/templates/partinfo.html
rab952ab r7d43957 4 4 <p th:text="${part.getManufacturer().getName()}"></p> 5 5 <p><span th:text="${amount}"></span><span> денари</span></p> 6 <form th:action="@{'/part/delivery/{id}' (id=${part.getId()}) }">6 <form method="post" th:action="@{'/part/addToOrder/{id}' (id=${part.getId()}) }"> 7 7 <label> 8 <input type="number" required min="1" placeholder="Количина"/>8 <input type="number" name="quantity" required min="1" placeholder="Количина"/> 9 9 </label> 10 <button type="submit">Купи</button>10 <button class="btn btn-primary btn-block btn-lg" type="submit">Додај во нарачка</button> 11 11 </form> 12 12 </div> -
src/main/resources/templates/products.html
rab952ab r7d43957 1 <div> 1 <div xmlns:sec="http://www.thymeleaf.org/extras/spring-security" 2 > 2 3 <header> 4 <th:block sec:authorize="hasAuthority('ROLE_CLIENT')"> 3 5 <a th:href="${'/orders'}">Мои нарачки</a> 4 6 <a th:href="${'/repairs'}">Мои поправки</a> 5 7 <a th:href="${'/reviews'}">Мои критики</a> 8 </th:block> 6 9 </header> 7 10 <main> -
src/main/resources/templates/register.html
rab952ab r7d43957 28 28 <input type="password" id="rpassword" name="rpassword" class="form-control" placeholder="*********" required=""/> 29 29 </p> 30 <p> 31 <label for="role" class="sr-only"> 32 Одбери улога 33 </label><select class="form-control" id="role" name="role" required> 34 <option value="client">CLIENT</option> 35 <option value="warehouseman">WAREHOUSEMAN</option> 36 <option value="deliveryman">DELIVERYMAN</option> 37 </select> 38 </p> 30 39 </form> 31 40 <button class="btn btn-lg btn-primary btn-block" type="submit">Регистрирај се</button> -
src/main/resources/templates/repairsForUser.html
rab952ab r7d43957 6 6 <th>Датум на нарачка</th> 7 7 <th>Нарачан дел</th> 8 <th>Број на шасија</th>8 <th>Број на нарачка</th> 9 9 <th>Име на сервис</th> 10 10 </tr> … … 14 14 <td th:text="${repair.getOrderdate}"></td> 15 15 <td th:text="${repair.getPartname()}"></td> 16 <td th:text="${repair.get Vin()}"></td>16 <td th:text="${repair.getOrderid()}"></td> 17 17 <td th:text="${repair.getRsname()}"></td> 18 18 </tr>
Note:
See TracChangeset
for help on using the changeset viewer.