Ignore:
Timestamp:
01/06/23 19:17:05 (23 months ago)
Author:
andrejtodorovski <82031894+andrejtodorovski@…>
Branches:
main
Children:
cab5859
Parents:
d4b888e
Message:

Added full functionality for changing delivery status,
added bootstrap for some pages

File:
1 edited

Legend:

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

    rd4b888e r9dcbf44  
    99</header>
    1010<main>
    11     <h1>Сите производи</h1>
     11    <h1 class="mt-3 mb-3">Сите производи</h1>
    1212    <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">
    1414            <option  th:each="car : ${cars}"
    1515                     th:text="${car.getCartype()}"
     
    1717            </option>
    1818        </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">
    2020            <option  th:each="cat : ${categories}"
    2121                     th:text="${cat.getCname()}"
     
    2323            </option>
    2424        </select>
    25         <button type="submit">Филтрирај</button>
     25        <button class="btn btn-lg btn-block btn-primary w-25 d-inline" type="submit">Филтрирај</button>
    2626    </form>
    27     <table>
    28         <thead>
     27    <table class="table table-bordered mt-4">
     28        <thead class="thead-dark">
    2929        <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>
    3333        </tr>
    3434        </thead>
     
    3939            <td>
    4040                <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>
    4242                </form>
    4343            </td>
Note: See TracChangeset for help on using the changeset viewer.