web/views/pages/product.ejs

50 lines
1.9 KiB
Text
Raw Normal View History

2021-11-02 06:20:20 +01:00
<!DOCTYPE html>
<html lang="en">
2021-11-09 06:16:38 +01:00
<%- include('../layouts/header.ejs', {title: 'Product', state: 'product'}); %>
2021-11-02 06:20:20 +01:00
<body style="background-color: #1b1c1e;">
2021-11-09 06:16:38 +01:00
<%- include('../layouts/navbar.ejs', {types: 'v3', title: 'Product'}); %>
2021-11-02 06:20:20 +01:00
<div class="card" style="background-color: #212226;">
<div class="product">
2021-11-16 00:44:42 +01:00
<img alt="placeholder image" class="img-fluid lazyload" src="/img/<%= data[0].IMAGE %>"
2021-11-02 06:20:20 +01:00
style="width: 400px; height: auto;" />
<div class="description">
<div style="margin-left: 20px;">
2021-11-16 00:44:42 +01:00
<h1 class="titledes"><%= data[0].TITLE %></h1>
2021-11-02 06:20:20 +01:00
</div>
<div>
<p class="card-body">
2021-11-16 00:44:42 +01:00
<%= data[0].DESCRIPTION %>
2021-11-14 06:00:22 +01:00
2021-11-02 06:20:20 +01:00
</p>
</div>
2021-11-14 06:00:22 +01:00
<div style="margin-left: 20px; word-break: normal;">
2021-11-16 00:44:42 +01:00
<p>Price : <%= data[0].PRICE %></p>
<p>Stock : <%= data[0].STOCK %></p>
2021-11-14 06:00:22 +01:00
</div>
2021-11-02 06:20:20 +01:00
<div class="sizeSepatu">
<form>
<div>
<h4>Sizes</h4>
<input name="size" type="radio"> 43 &emsp;
<input name="size" type="radio" checked> 44 &emsp;
<input name="size" type="radio"> 45 &emsp;
</div>
<br>
<div style="display: flex; color: black;">
<button class="button button-bag" id="myBtn" type="submit"><a href="successadd" class="none">Add to Bag</a></button>
</div>
</form>
</div>
<br>
<br>
</div>
</div>
</div>
2021-11-10 06:04:14 +01:00
<%- include('../layouts/footer.ejs', {state: 'product'}); %>
2021-11-02 06:20:20 +01:00
</body>
2021-11-09 06:30:19 +01:00
</html>