Scontrini-Web-Client/templates/ordered.html

39 lines
523 B
HTML
Raw Normal View History

2023-11-07 20:08:40 +01:00
<!DOCTYPE html>
<html>
<head>
<title>Scontrini</title>
<link rel="stylesheet" href="">
</head>
<body>
<h1>ORDINE</h1>
<h3>Il tuo ordine è stato stampato</h3>
<table id="pizzas">
<tr>
<td>
Nome
</td>
<td>
Quantità
</td>
</tr>
{{ range .Pizzas }}
<tr>
<td>
{{ .Name }}
</td>
<td>
{{ .Quantity }}
</td>
</tr>
{{ end }}
</table>
<p id="total_price">Prezzo totale: {{ .TotalPrice }}</p>
<button><a href="/">Stampa qualcosa</a></button>
</body>
</html>