mirror of
https://github.com/DerTyp7/shop-ejs-expressjs.git
synced 2025-10-29 12:32:11 +01:00
a
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
<p><b>Adresse: </b></p>
|
<p><b>Adresse: </b></p>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="order-info">
|
<div id="order-info">
|
||||||
<h3>Ihre Bestellungen</h3>
|
<h3>Ihre Bestellungen</h3>
|
||||||
<table>
|
<table>
|
||||||
@@ -46,7 +46,6 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
@@ -7,14 +7,14 @@
|
|||||||
<%- include('partials/header'); %>
|
<%- include('partials/header'); %>
|
||||||
<style>
|
<style>
|
||||||
html {
|
html {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
}
|
}
|
||||||
body {
|
body {
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
}
|
}
|
||||||
.grid-container {
|
.grid-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -66,7 +66,7 @@
|
|||||||
<div class="grid-container">
|
<div class="grid-container">
|
||||||
<div class="grid-item">
|
<div class="grid-item">
|
||||||
<% let randomNr = Math.floor(Math.random() * products.length); %>
|
<% let randomNr = Math.floor(Math.random() * products.length); %>
|
||||||
<%= products[randomNr].name %>
|
<p><%= products[randomNr].name %></p>
|
||||||
<img src="https://m.media-amazon.com/images/I/815eDw--FQS._AC_SL1500_.jpg" style='height: 100%; width: 100%; object-fit: contain' onclick="window.open('/product/<%- products[randomNr].id%>','_self')">
|
<img src="https://m.media-amazon.com/images/I/815eDw--FQS._AC_SL1500_.jpg" style='height: 100%; width: 100%; object-fit: contain' onclick="window.open('/product/<%- products[randomNr].id%>','_self')">
|
||||||
</div>
|
</div>
|
||||||
<div class="grid-item">
|
<div class="grid-item">
|
||||||
@@ -77,15 +77,13 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="grid-item">
|
<div class="grid-item">
|
||||||
<% let randomNr3 = Math.floor(Math.random() * products.length); %>
|
<% let randomNr3 = Math.floor(Math.random() * products.length); %>
|
||||||
<%= products[randomNr3].name %>
|
<p><%= products[randomNr3].name %></p>
|
||||||
<img src="https://m.media-amazon.com/images/I/815eDw--FQS._AC_SL1500_.jpg" style='height: 100%; width: 100%; object-fit: contain' onclick="window.open('/product/"<%- products[randomNr3].id%>','_self')">
|
<img src="https://m.media-amazon.com/images/I/815eDw--FQS._AC_SL1500_.jpg" style='height: 100%; width: 100%; object-fit: contain' onclick="window.open('/product/"<%- products[randomNr3].id%>','_self')">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="grid-item">
|
<div class="grid-item">
|
||||||
<% let randomNr4 = Math.floor(Math.random() * products.length); %>
|
<% let randomNr4 = Math.floor(Math.random() * products.length); %>
|
||||||
<%= products[randomNr4].name %>
|
<p><%= products[randomNr4].name %></p>
|
||||||
<img src="https://m.media-amazon.com/images/I/815eDw--FQS._AC_SL1500_.jpg" style='height: 100%; width: 100%; object-fit: contain' onclick="window.open('/product/"<%- products[randomNr4].id%>','_self')">
|
<img src="https://m.media-amazon.com/images/I/815eDw--FQS._AC_SL1500_.jpg" style='height: 100%; width: 100%; object-fit: contain' onclick="window.open('/product/"<%- products[randomNr4].id%>','_self')">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="grid-container" style="margin-bottom: 100px;">
|
<div class="grid-container" style="margin-bottom: 100px;">
|
||||||
|
|||||||
Reference in New Issue
Block a user