160 lines
3.7 KiB
HTML
160 lines
3.7 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>New Feedback Received - Village Share</title>
|
|
<style>
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
margin: 0;
|
|
padding: 20px;
|
|
background-color: #f5f5f5;
|
|
}
|
|
.container {
|
|
max-width: 700px;
|
|
margin: 0 auto;
|
|
background-color: white;
|
|
padding: 30px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
}
|
|
.header {
|
|
text-align: center;
|
|
border-bottom: 2px solid #e9ecef;
|
|
padding-bottom: 20px;
|
|
margin-bottom: 30px;
|
|
}
|
|
.logo {
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
color: #333;
|
|
}
|
|
.alert-box {
|
|
background-color: #fff3cd;
|
|
border: 1px solid #ffc107;
|
|
border-radius: 4px;
|
|
padding: 15px;
|
|
margin-bottom: 20px;
|
|
}
|
|
.alert-box p {
|
|
margin: 5px 0;
|
|
color: #856404;
|
|
}
|
|
.content {
|
|
line-height: 1.6;
|
|
color: #555;
|
|
}
|
|
.info-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin: 20px 0;
|
|
}
|
|
.info-table th {
|
|
background-color: #f8f9fa;
|
|
padding: 12px;
|
|
text-align: left;
|
|
border: 1px solid #dee2e6;
|
|
font-weight: bold;
|
|
color: #495057;
|
|
width: 30%;
|
|
}
|
|
.info-table td {
|
|
padding: 12px;
|
|
border: 1px solid #dee2e6;
|
|
color: #212529;
|
|
word-break: break-word;
|
|
}
|
|
.feedback-box {
|
|
background-color: #e7f3ff;
|
|
border-left: 4px solid #007bff;
|
|
padding: 20px;
|
|
margin: 20px 0;
|
|
font-size: 14px;
|
|
line-height: 1.6;
|
|
color: #004085;
|
|
}
|
|
.feedback-box h3 {
|
|
margin-top: 0;
|
|
color: #004085;
|
|
}
|
|
.footer {
|
|
margin-top: 30px;
|
|
padding-top: 20px;
|
|
border-top: 1px solid #e9ecef;
|
|
text-align: center;
|
|
font-size: 12px;
|
|
color: #6c757d;
|
|
}
|
|
h2 {
|
|
color: #333;
|
|
margin-top: 0;
|
|
}
|
|
.timestamp {
|
|
color: #6c757d;
|
|
font-size: 12px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<div class="header">
|
|
<div class="logo">Village Share Admin</div>
|
|
</div>
|
|
<div class="content">
|
|
<div class="alert-box">
|
|
<p><strong>New Feedback Received</strong></p>
|
|
<p class="timestamp">Submitted at: {{submittedAt}}</p>
|
|
</div>
|
|
|
|
<h2>User Information</h2>
|
|
<table class="info-table">
|
|
<tr>
|
|
<th>Name</th>
|
|
<td>{{userName}}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Email</th>
|
|
<td>{{userEmail}}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>User ID</th>
|
|
<td style="font-family: monospace; font-size: 12px;">{{userId}}</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div class="feedback-box">
|
|
<h3>Feedback Content</h3>
|
|
<p>{{feedbackText}}</p>
|
|
</div>
|
|
|
|
<h2>Technical Context</h2>
|
|
<table class="info-table">
|
|
<tr>
|
|
<th>Feedback ID</th>
|
|
<td style="font-family: monospace; font-size: 12px;">{{feedbackId}}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Page URL</th>
|
|
<td>{{url}}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>User Agent</th>
|
|
<td style="font-size: 12px;">{{userAgent}}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Submitted At</th>
|
|
<td>{{submittedAt}}</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<p><strong>Action Required:</strong> Please review this feedback and take appropriate action. If a response is needed, contact the user directly at <strong>{{userEmail}}</strong>.</p>
|
|
</div>
|
|
<div class="footer">
|
|
<p>This is an automated notification from Village Share Feedback System</p>
|
|
<p>© {{year}} Village Share. All rights reserved.</p>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|