Changeset 501396e for src/main/resources/templates/recept.html
- Timestamp:
- 02/03/24 15:58:58 (9 months ago)
- Branches:
- master
- Children:
- aea04dd
- Parents:
- 3e572eb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/resources/templates/recept.html
r3e572eb r501396e 7 7 <!-- Add Bootstrap CSS link --> 8 8 <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"> 9 <style> 10 img{ 11 margin: 16px; 12 border-style: groove; 13 } 14 </style> 9 15 </head> 10 16 <body> 11 17 <nav class="navbar navbar-expand-lg navbar-dark bg-dark"> 12 <a class="navbar-brand" href="#">18 <a class="navbar-brand" th:href="@{/}"> 13 19 CookBook 14 20 </a> … … 19 25 <ul class="navbar-nav ml-auto"> 20 26 <li class="nav-item active"> 21 <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>27 <a class="nav-link" th:href="@{/}">Home <span class="sr-only">(current)</span></a> 22 28 </li> 23 29 <li class="nav-item"> … … 31 37 </nav> 32 38 33 <h1 th:text="${recept.recIme}"></h1>34 35 <h4 th:text="${recept.srednaOcena}"></h4>36 37 <div th:text="${recept.postapka}"></div>38 39 39 40 40 <div>KOMENTARI TO DO</div> 41 <div class="container mt-4"> 42 <h1 th:text="${recept.recIme}"></h1> 43 44 <h4 th:text="${recept.srednaOcena}"></h4> 45 46 <div class="row"> 47 <div class="col-12"> 48 <h6>Pictures</h6> 49 </div> 50 <div class="col-12"> 51 <img th:each="slika : ${sliki}" th:src="${slika.pic}" class="img-fluid" alt="Recipe Image" width="200px" height="200px"> 52 </div> 53 </div> 54 55 <div> 56 <h5>Состојки</h5> 57 <div th:if="${sostojki.size() == 0}">Состојките не се додадени!</div> 58 <ul> 59 <li th:each="sostojka : ${sostojki}" th:text="${sostojka.sNaziv}"></li> 60 </ul> 61 </div> 62 63 64 <div> 65 <h5>Постапка</h5> 66 <p class="mt-4" th:text="${recept.postapka}"></p> 67 </div> 68 69 70 <div class="mt-4">KOMENTARI TO DO</div> 71 </div> 41 72 42 73 <!-- Add Bootstrap JS and Popper.js scripts (required for Bootstrap components) -->
Note:
See TracChangeset
for help on using the changeset viewer.