2024-02-28 21:31:43 +01:00
|
|
|
<!doctype html>
|
|
|
|
<html>
|
|
|
|
<head>
|
2024-03-04 14:46:45 +01:00
|
|
|
<title>{{ title }}</title>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2024-03-04 13:45:58 +01:00
|
|
|
<!-- CSS Reset -->
|
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
|
|
|
|
|
|
|
|
<!-- Milligram CSS -->
|
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/milligram/1.4.1/milligram.css">
|
|
|
|
|
2024-03-04 10:33:39 +01:00
|
|
|
<style>
|
|
|
|
|
2024-03-04 14:46:45 +01:00
|
|
|
th {
|
|
|
|
text-align: left;
|
|
|
|
margin: 0px;
|
|
|
|
padding: 5px 0px 5px 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
}
|
|
|
|
|
2024-03-04 15:24:13 +01:00
|
|
|
#data {
|
|
|
|
width: 100%;
|
|
|
|
border-collapse: collapse;
|
|
|
|
}
|
|
|
|
|
|
|
|
#data th:nth-child(3),
|
|
|
|
#data td:nth-child(3) {
|
|
|
|
max-width: 300px; /* Adjust as needed */
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
2024-03-04 14:46:45 +01:00
|
|
|
.center-table {
|
|
|
|
}
|
|
|
|
|
2024-03-04 13:45:58 +01:00
|
|
|
td {
|
|
|
|
padding: 0px 0px 0px 0px;
|
|
|
|
margin-left: 10px;
|
|
|
|
height: 50px;
|
2024-03-04 14:46:45 +01:00
|
|
|
min-width: 55px;
|
|
|
|
display: table-cell;
|
|
|
|
white-space: nowrap; /* Prevent text wrapping */
|
|
|
|
overflow: hidden; /* Hide overflow content */
|
|
|
|
text-overflow: ellipsis; /* Display ellipsis for overflow content */
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.hidden-mobile {
|
|
|
|
display: table-cell;
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-container {
|
|
|
|
overflow-x: auto; /* Enable horizontal scrolling */
|
2024-03-04 13:45:58 +01:00
|
|
|
}
|
2024-03-04 10:33:39 +01:00
|
|
|
|
2024-03-04 14:46:45 +01:00
|
|
|
.table-wrapper {
|
|
|
|
overflow-x: auto; /* Enable horizontal scrolling */
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (min-width: 600px) {
|
|
|
|
|
|
|
|
.hidden-desktop {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
@media only screen and (max-width: 600px) {
|
|
|
|
table {
|
|
|
|
width: 100%; /* Expand table to full width on mobile */
|
|
|
|
table-layout: fixed;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.fixed-width {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
td:first-child {
|
|
|
|
position: sticky;
|
|
|
|
left: 0;
|
|
|
|
z-index: 1;
|
|
|
|
background-color: #fff; /* Make the first column background white */
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.hidden-mobile {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2024-03-04 13:45:58 +01:00
|
|
|
.centered-cell {
|
|
|
|
text-align: center; /* Center the content horizontally within the cell */
|
|
|
|
}
|
2024-03-04 10:33:39 +01:00
|
|
|
|
2024-03-04 13:45:58 +01:00
|
|
|
.inputContainer {
|
|
|
|
display: inline-block; /* Display as an inline block */
|
|
|
|
vertical-align: middle; /* Center vertically within the cell */
|
|
|
|
width: 120px;
|
|
|
|
}
|
2024-03-04 10:33:39 +01:00
|
|
|
|
2024-03-04 13:45:58 +01:00
|
|
|
.inputContainer form {
|
|
|
|
margin: 5% auto 5% auto;
|
|
|
|
}
|
2024-03-04 10:33:39 +01:00
|
|
|
|
2024-03-04 13:45:58 +01:00
|
|
|
.inputField {
|
|
|
|
display: flex;
|
|
|
|
align-items: center; /* Align items vertically */
|
|
|
|
width: 100%; /* Ensure inputField fills out inputContainer */
|
|
|
|
height: 100%; /* Ensure inputField fills out inputContainer */
|
|
|
|
}
|
|
|
|
.inputField input {
|
|
|
|
flex: 1;
|
|
|
|
width: 70%;
|
|
|
|
padding: 0px;
|
|
|
|
margin: auto 2.5px auto 2.5px;
|
|
|
|
}
|
|
|
|
.inputField button {
|
|
|
|
width: 30%;
|
|
|
|
padding: 0px;
|
|
|
|
margin: 0 2.5px 0 2.5px;
|
|
|
|
}
|
2024-03-04 10:33:39 +01:00
|
|
|
|
2024-03-04 13:45:58 +01:00
|
|
|
.square-button {
|
|
|
|
background-color: white;
|
|
|
|
}
|
2024-03-04 10:33:39 +01:00
|
|
|
|
|
|
|
|
2024-03-04 13:45:58 +01:00
|
|
|
td img{
|
|
|
|
display: block;
|
|
|
|
margin-left: auto;
|
2024-03-04 14:46:45 +01:00
|
|
|
margin-right: 5px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Modal Styles */
|
|
|
|
#lightbox-modal {
|
|
|
|
display: none;
|
|
|
|
position: fixed;
|
|
|
|
z-index: 1000;
|
|
|
|
padding-top: 50px;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background-color: rgba(0,0,0,0.5);
|
|
|
|
}
|
2024-03-04 15:24:13 +01:00
|
|
|
.lightbox-wrapper {
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lightbox-content {
|
|
|
|
max-width: 90%;
|
|
|
|
max-height: 90%;
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
}
|
|
|
|
|
|
|
|
#lightbox-text {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 20px; /* Adjust as needed */
|
|
|
|
left: 50%;
|
|
|
|
transform: translateX(-50%);
|
|
|
|
padding: 10px;
|
|
|
|
background-color: rgba(0, 0, 0, 0.5); /* Adjust background color and opacity */
|
|
|
|
color: white;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2024-03-04 14:46:45 +01:00
|
|
|
|
|
|
|
#lightbox-modal .close {
|
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
|
|
|
right: 25px;
|
|
|
|
font-size: 50px;
|
|
|
|
color: white;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2024-03-04 13:45:58 +01:00
|
|
|
|
2024-03-04 14:46:45 +01:00
|
|
|
#lightbox-modal img {
|
|
|
|
display: block;
|
|
|
|
margin: 0 auto;
|
|
|
|
max-width: 90%;
|
|
|
|
max-height: 90%;
|
2024-03-04 13:45:58 +01:00
|
|
|
}
|
|
|
|
|
2024-03-04 15:24:13 +01:00
|
|
|
|
2024-03-04 10:33:39 +01:00
|
|
|
</style>
|
2024-03-04 13:45:58 +01:00
|
|
|
|
2024-02-28 21:31:43 +01:00
|
|
|
</head>
|
|
|
|
<body>
|
2024-03-04 15:24:13 +01:00
|
|
|
<button style="background-color: white;color: black;border: 1px dotted black;width: 98%;margin: 1%;" onclick="goToPage('/')">Home</button>
|
2024-02-28 21:31:43 +01:00
|
|
|
<div class="container">
|
2024-03-04 15:24:13 +01:00
|
|
|
<h2 style="margin: 20px 0px 0px 0px;">{{ title }}</h2>
|
2024-02-28 21:31:43 +01:00
|
|
|
<hr>
|
|
|
|
{% block content %}{% endblock %}
|
|
|
|
</div>
|
|
|
|
{% block scripts %}{% endblock %}
|
|
|
|
</body>
|
|
|
|
</html>
|