You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
1.2 KiB
HTML
67 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Vehicles with bookings</title>
|
|
<style>
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
margin: 40px;
|
|
background-color: black;
|
|
color: white;
|
|
font-size: 2em;
|
|
}
|
|
h1 {
|
|
font-size: 2.5em;
|
|
margin-bottom: 20px;
|
|
text-align: center;
|
|
}
|
|
.table-container {
|
|
width: 90%;
|
|
margin: 0 auto;
|
|
}
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin-bottom: 30px;
|
|
}
|
|
th, td {
|
|
text-align: left;
|
|
padding: 12px;
|
|
border: 1px solid #ddd;
|
|
}
|
|
|
|
th {
|
|
font-size: 2em;
|
|
background-color: white;
|
|
color: black;
|
|
}
|
|
td {
|
|
font-size: 2em;
|
|
color: white;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<h1>Vehicles with bookings</h1>
|
|
|
|
{% for obj in objects %}
|
|
<div class="table-container">
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>{{ obj.line }}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>{{ obj.vehicles|upper}}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{% endfor %}
|
|
|
|
</body>
|
|
</html> |