Files
SFA/renewal-mails.html

286 lines
8.3 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Renewal Mails - SFA Tool</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background-color: #f5f5f5;
color: #333;
line-height: 1.6;
padding-top: 60px;
}
.container {
max-width: 1600px;
margin: 0 auto;
padding: 0.5rem 1rem;
}
header {
background-color: #2c3e50;
color: white;
padding: 0.5rem 0;
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.header-content {
display: flex;
justify-content: space-between;
align-items: center;
}
h1 {
font-size: 1.25rem;
font-weight: 500;
}
nav {
display: flex;
gap: 1.5rem;
}
nav a {
color: white;
text-decoration: none;
padding: 0.25rem 0.75rem;
border-radius: 4px;
transition: background-color 0.2s;
font-size: 0.9rem;
}
nav a:hover {
background-color: rgba(255, 255, 255, 0.1);
}
nav a.active {
background-color: rgba(255, 255, 255, 0.2);
font-weight: 500;
}
.content {
background-color: #fff;
padding: 2rem;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
margin-top: 1.5rem;
}
.page-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 2rem;
}
.back-button {
display: inline-flex;
align-items: center;
gap: 0.75rem;
color: #2c3e50;
text-decoration: none;
font-weight: 500;
padding: 0.75rem 1.25rem;
background-color: #f8f9fa;
border-radius: 4px;
border: 1px solid #e9ecef;
transition: all 0.2s ease;
}
.back-button:hover {
color: #2c3e50;
background-color: #e9ecef;
transform: translateX(-4px);
}
.mail-table {
width: 100%;
border-collapse: collapse;
margin-top: 1rem;
table-layout: fixed;
}
.mail-table th {
background: #f8f9fa;
padding: 0.75rem;
text-align: left;
font-weight: 500;
color: #666;
border-bottom: 2px solid #eee;
}
.mail-table th:nth-child(1) { width: 15%; }
.mail-table th:nth-child(2) { width: 35%; }
.mail-table th:nth-child(3) { width: 20%; }
.mail-table th:nth-child(4) { width: 15%; }
.mail-table th:nth-child(5) { width: 10%; }
.mail-table th:nth-child(6) { width: 5%; }
.mail-table td {
padding: 0.75rem;
border-bottom: 1px solid #eee;
vertical-align: middle;
}
.mail-table tr:hover {
background-color: #f8f9fa;
cursor: pointer;
}
.mail-type {
display: flex;
align-items: center;
gap: 0.5rem;
}
.mail-type i {
color: #2c3e50;
}
.mail-status {
padding: 0.25rem 0.5rem;
border-radius: 4px;
font-size: 0.8rem;
display: inline-block;
}
.status-sent {
background: #e8f5e9;
color: #388e3c;
}
.status-draft {
background: #fff3e0;
color: #f57c00;
}
.status-failed {
background: #ffebee;
color: #d32f2f;
}
.action-button {
padding: 0.5rem 1rem;
background-color: #2c3e50;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.9rem;
}
.action-button:hover {
background-color: #34495e;
}
</style>
</head>
<body>
<header>
<div class="container">
<div class="header-content">
<h1>SFA Tool</h1>
<nav>
<a href="index.html">Renewals</a>
<a href="threads.html">Threads</a>
<a href="profile.html">Profile Settings</a>
</nav>
</div>
</div>
</header>
<main class="container">
<div class="page-header">
<a href="javascript:history.back()" class="back-button">
<i class="fas fa-arrow-left"></i>
<div class="back-button-text">
<span>Back to Renewal</span>
<span class="back-button-label">POL-2024-001</span>
</div>
</a>
<button class="action-button">
<i class="fas fa-envelope"></i>
Send New Mail
</button>
</div>
<div class="content">
<table class="mail-table">
<thead>
<tr>
<th>Type</th>
<th>Subject</th>
<th>Recipient</th>
<th>Date</th>
<th>Status</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<tr onclick="window.location.href='mail-detail.html'">
<td>
<div class="mail-type">
<i class="fas fa-envelope"></i>
Initial Notice
</div>
</td>
<td>Policy Renewal Notice - POL-2024-001</td>
<td>john.smith@broker.com</td>
<td>Mar 15, 2024 10:30 AM</td>
<td><span class="mail-status status-sent">Sent</span></td>
<td>
<i class="fas fa-eye action-icon"></i>
</td>
</tr>
<tr onclick="window.location.href='mail-detail.html'">
<td>
<div class="mail-type">
<i class="fas fa-envelope"></i>
Follow-up
</div>
</td>
<td>Reminder: Policy Renewal Due - POL-2024-001</td>
<td>john.smith@broker.com</td>
<td>Mar 22, 2024 02:15 PM</td>
<td><span class="mail-status status-sent">Sent</span></td>
<td>
<i class="fas fa-eye action-icon"></i>
</td>
</tr>
<tr onclick="window.location.href='mail-detail.html'">
<td>
<div class="mail-type">
<i class="fas fa-envelope"></i>
Quote Request
</div>
</td>
<td>Quote Request for Policy Renewal - POL-2024-001</td>
<td>supplier@company.com</td>
<td>Mar 25, 2024 09:45 AM</td>
<td><span class="mail-status status-sent">Sent</span></td>
<td>
<i class="fas fa-eye action-icon"></i>
</td>
</tr>
</tbody>
</table>
</div>
</main>
</body>
</html>