genofire/hs_monolith
genofire
/
hs_monolith
Archived
1
0
Fork 0
This repository has been archived on 2020-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
hs_monolith/changes_to_monolith/product.html

56 lines
1.9 KiB
HTML

<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="fragments/skeleton :: head">
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="../static/css/bootstrap.min.css" rel="stylesheet" />
<link href="../static/css/mosh.css" rel="stylesheet" />
</head>
<body>
<div th:replace="fragments/skeleton :: navigation">
<div class="container">
<nav>Navigation</nav>
</div>
</div>
<div class="container product">
<div class="row info">
<div class="col-md-4">
<img class="featurette-image img-responsive center-block"
src="../static/images/rach-new_packaging-cc_by_2_0.jpg"
th:src="@{/images/rach-new_packaging-cc_by_2_0.jpg}"
alt="Generic placeholder image" />
<div>
<small class="text-muted" th:inline="text">
[[#{general.sampleImage}]]: Rach. <span
class="text-emphasized">New Packaging.</span> CC BY 2.0
</small>
</div>
</div>
<div class="col-md-8">
<h2 th:text="${product.name}">Product Name</h2>
<p class="text-info text-uppercase" th:text="${product.price}">0,00 Euro</p>
<<!-- Traffic light food labeling system -->
<img class="icon" src="/api/good/availablity/{{item.id}}"/>
<p class="lead" th:text="${product.description}">Description.</p>
<div th:replace="fragments/reviews :: reviews"></div>
</div>
</div>
<footer th:replace="fragments/skeleton :: footer">
<p>&copy; 2017</p>
</footer>
</div>
<script src="../static/js/jquery-3.1.1.min.js"
th:src="@{/js/jquery-3.1.1.min.js}"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="../static/js/bootstrap.min.js"
th:src="@{/js/bootstrap.min.js}"></script>
</body>
</html>