Changeset 9dcbf44 for src/main/resources
- Timestamp:
- 01/06/23 19:17:05 (23 months ago)
- Branches:
- main
- Children:
- cab5859
- Parents:
- d4b888e
- Location:
- src/main/resources/templates
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/resources/templates/filteredParts.html
rd4b888e r9dcbf44 1 1 <div> 2 <h1 >Резултат од филтерот</h1>2 <h1 class="mt-3 mb-3">Резултат од филтерот</h1> 3 3 <a th:href="${'/products'}">Врати се на сите производи</a> 4 5 <table> 6 <thead> 4 <h3 th:if="${hasError}" th:text="${error}"></h3> 5 <div th:if="${!hasError}"> 6 <table class="table table-bordered mt-3"> 7 <thead class="thead-dark"> 7 8 <tr> 8 <th >Name</th>9 <th >Manufacturer</th>10 <th >Details</th>9 <th scope="col">Име</th> 10 <th scope="col">Производител</th> 11 <th scope="col">Детали</th> 11 12 </tr> 12 13 </thead> … … 17 18 <td> 18 19 <form th:action="@{'/part/{id}' (id=${f.getPartid()}) }"> 19 <button type="submit">Детали</button>20 <button class="btn btn-primary btn-block btn-lg w-50" type="submit">Детали</button> 20 21 </form> 21 22 </td> … … 23 24 </tbody> 24 25 </table> 25 26 </div> 26 27 </div> -
src/main/resources/templates/myDeliveries.html
rd4b888e r9dcbf44 1 1 <div> 2 2 <h1>Мои достави</h1> 3 <form class="form-signin mt-xl-5" method="get" action="/myNextDeliveries"> 4 <button id="submit" class="btn btn-lg btn-primary btn-block" type="submit">Мои следни нарачки</button> 5 </form> 3 6 <table> 4 7 <thead> -
src/main/resources/templates/partinfo.html
rd4b888e r9dcbf44 1 1 <div> 2 <p th:text="${part.getName()}"></p> 3 <p th:text="${part.getDescription()}"></p> 4 <p th:text="${part.getManufacturer().getName()}"></p> 5 <p><span th:text="${amount}"></span><span> денари</span></p> 2 <table class="table table-bordered mt-4"> 3 <thead class="thead-dark"> 4 <tr> 5 <th scope="col">Име</th> 6 <th scope="col">Опис</th> 7 <th scope="col">Производител</th> 8 <th scope="col">Цена</th> 9 </tr> 10 </thead> 11 <tbody> 12 <tr> 13 <td th:text="${part.getName()}"></td> 14 <td th:text="${part.getDescription()}"></td> 15 <td th:text="${part.getManufacturer().getName()}"></td> 16 <td><span th:text="${amount}"></span><span> денари</span></td> 17 </tr> 18 </tbody> 19 </table> 20 6 21 <form method="post" th:action="@{'/part/addToOrder/{id}' (id=${part.getId()}) }"> 7 22 <label> 8 <input type="number" name="quantity" required min="1" placeholder="Количина"/>23 <input class="form-control d-inline" type="number" name="quantity" required min="1" placeholder="Количина"/> 9 24 </label> 10 <button class="btn btn-primary btn-block btn-lg " type="submit">Додај во нарачка</button>25 <button class="btn btn-primary btn-block btn-lg w-25 d-inline" type="submit">Додај во нарачка</button> 11 26 </form> 12 27 </div> -
src/main/resources/templates/products.html
rd4b888e r9dcbf44 9 9 </header> 10 10 <main> 11 <h1 >Сите производи</h1>11 <h1 class="mt-3 mb-3">Сите производи</h1> 12 12 <form th:action="@{/filtered}"> 13 <label for="cartype"></label><select id="cartype" required name="cartype">13 <label for="cartype"></label><select id="cartype" class="form-control w-25 d-inline mr-3" required name="cartype"> 14 14 <option th:each="car : ${cars}" 15 15 th:text="${car.getCartype()}" … … 17 17 </option> 18 18 </select> 19 <label for="category"></label><select id="category" required name="category">19 <label for="category"></label><select id="category" class="form-control w-25 d-inline mr-3" required name="category"> 20 20 <option th:each="cat : ${categories}" 21 21 th:text="${cat.getCname()}" … … 23 23 </option> 24 24 </select> 25 <button type="submit">Филтрирај</button>25 <button class="btn btn-lg btn-block btn-primary w-25 d-inline" type="submit">Филтрирај</button> 26 26 </form> 27 <table >28 <thead >27 <table class="table table-bordered mt-4"> 28 <thead class="thead-dark"> 29 29 <tr> 30 <th >Name</th>31 <th >Manufacturer</th>32 <th >Details</th>30 <th scope="col">Име</th> 31 <th scope="col">Производител</th> 32 <th scope="col">Детали</th> 33 33 </tr> 34 34 </thead> … … 39 39 <td> 40 40 <form th:action="@{'/part/{id}' (id=${part.getId()}) }"> 41 <button type="submit">Детали</button>41 <button class="btn btn-primary btn-block btn-lg w-50" type="submit">Детали</button> 42 42 </form> 43 43 </td> -
src/main/resources/templates/services.html
rd4b888e r9dcbf44 1 1 <div> 2 2 <main> 3 <h1 >Информации за сервиси</h1>4 <table >5 <thead >3 <h1 class="mt-3 mb-3">Информации за сервиси</h1> 4 <table class="table table-bordered"> 5 <thead class="thead-dark"> 6 6 <tr> 7 <th >Name</th>8 <th >Number of reviews</th>9 <th >Average rating</th>7 <th scope="col">Име на сервис</th> 8 <th scope="col">Број на критики</th> 9 <th scope="col">Просечна оценка</th> 10 10 </tr> 11 11 </thead>
Note:
See TracChangeset
for help on using the changeset viewer.