Update
This commit is contained in:
parent
cbc681ddbc
commit
ebe672b972
7 changed files with 286 additions and 117 deletions
|
|
@ -5,6 +5,25 @@
|
|||
<title>Ferries to France</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous">
|
||||
|
||||
<!--
|
||||
<style>
|
||||
body {
|
||||
background: black;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.table { color: white; }
|
||||
|
||||
a:link {
|
||||
color: rgb(127, 127, 255);
|
||||
}
|
||||
|
||||
</style>
|
||||
-->
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
|
@ -14,12 +33,12 @@
|
|||
|
||||
<p>{{ departure_date }} {{ ticket_tier }}</p>
|
||||
|
||||
<table class="table">
|
||||
<table class="table w-auto">
|
||||
<tr>
|
||||
<th>code</th>
|
||||
<th>description</th>
|
||||
<th>max adults</th>
|
||||
<th>quantity available</th>
|
||||
<th>births</th>
|
||||
<th>quantity<br/>available</th>
|
||||
<th>price</th>
|
||||
</tr>
|
||||
{% for a in accommodations if a.quantityAvailable > 0 %}
|
||||
|
|
@ -27,12 +46,28 @@
|
|||
<td>{{ a.code }}</td>
|
||||
<td>{{ a.description }}</td>
|
||||
<td>{{ a.maxAdults }}</td>
|
||||
<td>{{ a.quantityAvailable }}</td>
|
||||
<td>
|
||||
{% if a.quantityAvailable == 10 %}
|
||||
10+
|
||||
{% else %}
|
||||
{{ a.quantityAvailable }}
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>£{{ a.unitCost.amount }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
<h4>Pet accommodations</h4>
|
||||
|
||||
<p>
|
||||
o.petStayInCar = 'G',<br>
|
||||
o.petLargeKennel = 'B',<br>
|
||||
o.petSmallKennel = 'K',<br>
|
||||
</p>
|
||||
|
||||
<pre>{{ pet_accommodations | tojson }}</pre>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue