mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
123 lines
3.2 KiB
HTML
123 lines
3.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Domna Energy Report</title>
|
|
<style>
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
background-color: #ffffff;
|
|
color: #333;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
.container {
|
|
width: 100%;
|
|
max-width: 1300px;
|
|
margin: 20px auto;
|
|
}
|
|
.header {
|
|
background-color: #1B1F3B;
|
|
color: white;
|
|
padding: 30px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
border-radius: 12px;
|
|
}
|
|
.header h1 {
|
|
margin: 5;
|
|
font-size: 24px;
|
|
}
|
|
.header p {
|
|
margin: 5px 0 0;
|
|
font-size: 16px;
|
|
color: #d1d5db;
|
|
}
|
|
.logo img {
|
|
height: 60px;
|
|
}
|
|
|
|
/* EPC Rating Cards */
|
|
.epc-container {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
margin-top: 30px;
|
|
}
|
|
.epc-card {
|
|
background-color: white;
|
|
border: 2px solid #ccc;
|
|
border-radius: 10px;
|
|
padding: 20px;
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between; /* Pushes SAP to bottom */
|
|
align-items: center;
|
|
text-align: center;
|
|
box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
|
|
position: relative;
|
|
height: 160px;
|
|
}
|
|
.epc-title {
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
color: #666;
|
|
}
|
|
.epc-rating {
|
|
font-size: 50px;
|
|
font-weight: bold;
|
|
}
|
|
.sap-rating {
|
|
font-size: 18px;
|
|
color: #555;
|
|
position: absolute;
|
|
bottom: 10px;
|
|
right: 20px;
|
|
}
|
|
.before .epc-rating {
|
|
color: #1B1F3B; /* Medium Blue */
|
|
}
|
|
.after .epc-rating {
|
|
color: #D4AF37; /* Gold */
|
|
}
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<div class="container">
|
|
<!-- Header Section -->
|
|
<div class="header">
|
|
<div>
|
|
<h1>Domna Energy Report</h1>
|
|
<p>${address}</p> <!-- Address Placeholder -->
|
|
</div>
|
|
<div class="logo">
|
|
<img src="${logo_path}" alt="Domna Logo">
|
|
</div>
|
|
</div>
|
|
|
|
<!-- EPC Rating Cards -->
|
|
<div class="epc-container">
|
|
<div class="epc-card before">
|
|
<div class="epc-title">Current EPC Rating</div>
|
|
<div class="epc-rating">${current_epc}</div>
|
|
<div class="sap-rating">SAP ${current_sap}</div>
|
|
</div>
|
|
|
|
<div class="epc-card after">
|
|
<div class="epc-title">Potential EPC Rating</div>
|
|
<div class="epc-rating">${potential_epc}</div>
|
|
<div class="sap-rating">SAP ${potential_sap}</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|