mirror of
https://github.com/DerTyp7/shop-ejs-expressjs.git
synced 2025-10-29 12:32:11 +01:00
login fix
This commit is contained in:
@@ -6,41 +6,47 @@
|
||||
</head>
|
||||
<body>
|
||||
<%- include('partials/header'); %>
|
||||
<h1>Ihr Konto</h1>
|
||||
<div id="account-info">
|
||||
<h3>Persönliche Informationen</h3>
|
||||
<p><b>Vorname:</b> <%= firstname %></p>
|
||||
<p><b>Nachname:</b> <%= lastname %></p>
|
||||
<p><b>Benutzername: </b><%= username %></p>
|
||||
<p><b>E-Mail: </b><%= email.substring(0,email.length/3) %><% for(var i = 0; i < email.length - email.length/4; i++){ %>*<% } %>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="order-info">
|
||||
<h3>Ihre Bestellungen</h3>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Bestellnummer</th>
|
||||
<th>Produktname</th>
|
||||
<th>Anzahl</th>
|
||||
<th>Stückpreis</th>
|
||||
<th>Gesamtpreis</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<% for(var i = 0; i < orders.length; i++){ %>
|
||||
<div class="content">
|
||||
<h1 class="text-center">Ihr Konto</h1>
|
||||
<div id="account-info">
|
||||
<h3>Persönliche Informationen</h3><br>
|
||||
<p><b>Vorname:</b> <%= firstname %></p>
|
||||
<p><b>Nachname:</b> <%= lastname %></p>
|
||||
<p><b>Benutzername: </b><%= username %></p>
|
||||
<p><b>E-Mail: </b><%= email.substring(0,email.length/3) %><% for(var i = 0; i < email.length - email.length/4; i++){ %>*<% } %>
|
||||
<p><b>Adresse: </b></p>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="order-info">
|
||||
<h3>Ihre Bestellungen</h3>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><%= orders[i].id %></td>
|
||||
<td><%= orders[i].name %></td>
|
||||
<td><%= orders[i].quantity %></td>
|
||||
<td><%= orders[i].price %></td>
|
||||
<td><%= orders[i].price * orders[i].quantity%> €</td>
|
||||
<th>Bestellnummer</th>
|
||||
<th>Produktname</th>
|
||||
<th>Status</th>
|
||||
<th>Anzahl</th>
|
||||
<th>Stückpreis</th>
|
||||
<th>Gesamtpreis</th>
|
||||
</tr>
|
||||
<% } %>
|
||||
</tbody>
|
||||
</table>
|
||||
</thead>
|
||||
<tbody>
|
||||
<% for(var i = 0; i < orders.length; i++){ %>
|
||||
<tr>
|
||||
<td><%= orders[i].id %></td>
|
||||
<td><%= orders[i].name %></td>
|
||||
<td>In Progress</td>
|
||||
<td><%= orders[i].quantity %></td>
|
||||
<td><%= orders[i].price %></td>
|
||||
<td><%= orders[i].price * orders[i].quantity%> €</td>
|
||||
</tr>
|
||||
<% } %>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -6,8 +6,9 @@
|
||||
</head>
|
||||
<body>
|
||||
<%- include('partials/header'); %>
|
||||
<h1>Ihre Bestellung</h1>
|
||||
<p id="error-text"><%- error %></p>
|
||||
<br>
|
||||
<h1 class="text-center">Ihre Bestellung</h1>
|
||||
<p style="width:100%; display:block;"class="error-text text-center"><%- error %></p>
|
||||
|
||||
<div id="order-info">
|
||||
<p><b>Produktname:</b> <%= product.name %></p>
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
<link rel="stylesheet" href="/css/order.css">
|
||||
</head>
|
||||
<body>
|
||||
<h1 style="color:rgb(6, 170, 6)">Ihre Bestellung wurde in Auftrag gegeben!</h1>
|
||||
<h3>Trackingnummer: <label style="color:rgb(6, 156, 170)"><%= trackingnumber %></label></h3>
|
||||
<a class="text-redirect" href="/">Zurück zur Startseite</a>
|
||||
<h1 style="color:rgb(6, 170, 6)" class="text-center">Ihre Bestellung wurde in Auftrag gegeben!</h1>
|
||||
<h3 class="text-center">Trackingnummer: <label style="color:rgb(6, 156, 170)"><%= trackingnumber %></label></h3>
|
||||
<a class="text-redirect text-center" href="/">Zurück zur Startseite</a>
|
||||
</body>
|
||||
</html>
|
||||
@@ -8,9 +8,9 @@
|
||||
<%- include('partials/header'); %>
|
||||
</header>
|
||||
|
||||
<div class="filtersDIV">
|
||||
<div class="filtersDIV" style="display:none">
|
||||
<br/>
|
||||
<h3 style="text-align: center;"> FILTER COMMING SOON </h3>
|
||||
<h3 style="text-align: center; "> FILTER COMMING SOON </h3>
|
||||
</div>
|
||||
|
||||
<% if (products.length == 0) { %>
|
||||
|
||||
Reference in New Issue
Block a user