summaryrefslogtreecommitdiff
path: root/lib/mail/templates/data-room-invitation.hbs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mail/templates/data-room-invitation.hbs')
-rw-r--r--lib/mail/templates/data-room-invitation.hbs210
1 files changed, 210 insertions, 0 deletions
diff --git a/lib/mail/templates/data-room-invitation.hbs b/lib/mail/templates/data-room-invitation.hbs
new file mode 100644
index 00000000..023173b1
--- /dev/null
+++ b/lib/mail/templates/data-room-invitation.hbs
@@ -0,0 +1,210 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title>Data Room Access Invitation</title>
+ <style>
+ body {
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
+ line-height: 1.6;
+ color: #333;
+ background-color: #f5f5f5;
+ margin: 0;
+ padding: 0;
+ }
+ .container {
+ max-width: 600px;
+ margin: 40px auto;
+ background-color: #ffffff;
+ border-radius: 8px;
+ overflow: hidden;
+ box-shadow: 0 2px 10px rgba(0,0,0,0.1);
+ }
+ .header {
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
+ color: white;
+ padding: 30px;
+ text-align: center;
+ }
+ .header h1 {
+ margin: 0;
+ font-size: 24px;
+ font-weight: 600;
+ }
+ .content {
+ padding: 40px 30px;
+ }
+ .greeting {
+ font-size: 18px;
+ margin-bottom: 20px;
+ color: #2c3e50;
+ }
+ .info-box {
+ background-color: #f8f9fa;
+ border-left: 4px solid #667eea;
+ padding: 20px;
+ margin: 25px 0;
+ border-radius: 4px;
+ }
+ .info-box h3 {
+ margin-top: 0;
+ color: #667eea;
+ font-size: 16px;
+ }
+ .info-item {
+ margin: 10px 0;
+ display: flex;
+ align-items: center;
+ }
+ .info-label {
+ font-weight: 600;
+ color: #555;
+ min-width: 100px;
+ }
+ .info-value {
+ color: #333;
+ }
+ .button-container {
+ text-align: center;
+ margin: 35px 0;
+ }
+ .button {
+ display: inline-block;
+ padding: 14px 35px;
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
+ color: white;
+ text-decoration: none;
+ border-radius: 6px;
+ font-weight: 600;
+ font-size: 16px;
+ box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
+ transition: transform 0.2s;
+ }
+ .button:hover {
+ transform: translateY(-2px);
+ }
+ .security-notice {
+ background-color: #fff3cd;
+ border: 1px solid #ffc107;
+ border-radius: 4px;
+ padding: 15px;
+ margin: 25px 0;
+ }
+ .security-notice h4 {
+ margin-top: 0;
+ color: #856404;
+ font-size: 14px;
+ }
+ .security-notice ul {
+ margin: 10px 0;
+ padding-left: 20px;
+ color: #856404;
+ font-size: 13px;
+ }
+ .footer {
+ background-color: #f8f9fa;
+ padding: 25px;
+ text-align: center;
+ color: #6c757d;
+ font-size: 13px;
+ border-top: 1px solid #e9ecef;
+ }
+ .footer a {
+ color: #667eea;
+ text-decoration: none;
+ }
+ .divider {
+ height: 1px;
+ background-color: #e9ecef;
+ margin: 25px 0;
+ }
+ </style>
+</head>
+<body>
+ <div class="container">
+ <!-- Header -->
+ <div class="header">
+ <h1>🔐 Data Room Access Granted</h1>
+ </div>
+
+ <!-- Content -->
+ <div class="content">
+ <div class="greeting">
+ Hello {{name}},
+ </div>
+
+ <p>
+ Great news! You've been invited to access a secure Data Room by <strong>{{inviterName}}</strong>.
+ </p>
+
+ <!-- Data Room Information -->
+ <div class="info-box">
+ <h3>📁 Data Room Details</h3>
+ <div class="info-item">
+ <span class="info-label">Room Name:</span>
+ <span class="info-value"><strong>{{dataRoomName}}</strong></span>
+ </div>
+ <div class="info-item">
+ <span class="info-label">Your Role:</span>
+ <span class="info-value">{{role}}</span>
+ </div>
+ <div class="info-item">
+ <span class="info-label">Invited by:</span>
+ <span class="info-value">{{inviterName}}</span>
+ </div>
+ </div>
+
+ <!-- Access Instructions -->
+ <p>
+ As a <strong>{{role}}</strong> member, you now have access to view and manage documents
+ in this secure data room according to your permission level.
+ </p>
+
+ <!-- CTA Button -->
+ <div class="button-container">
+ <a href="{{dataRoomUrl}}" class="button">Access Data Room</a>
+ </div>
+
+ <!-- Security Notice -->
+ <div class="security-notice">
+ <h4>🔒 Security Reminder</h4>
+ <ul>
+ <li>This data room contains confidential information</li>
+ <li>Please do not share your access credentials with others</li>
+ <li>All activities within the data room are logged for security purposes</li>
+ <li>If you're a new user, you may need to <a href="{{loginUrl}}">create an account</a> first</li>
+ </ul>
+ </div>
+
+ <div class="divider"></div>
+
+ <!-- Additional Information -->
+ <p style="color: #6c757d; font-size: 14px;">
+ <strong>Need help?</strong><br>
+ If you have any questions about accessing the data room or your permissions,
+ please contact the person who invited you or your system administrator.
+ </p>
+
+ <p style="color: #6c757d; font-size: 14px;">
+ <strong>First time user?</strong><br>
+ If this is your first time accessing our platform, you'll need to create an account
+ using this email address ({{email}}) to gain access to the data room.
+ </p>
+ </div>
+
+ <!-- Footer -->
+ <div class="footer">
+ <p>
+ This is an automated message from your Data Room Management System.<br>
+ Please do not reply to this email.
+ </p>
+ <p style="margin-top: 15px;">
+ © {{year}} DT Solution. All rights reserved.<br>
+ <a href="{{dataRoomUrl}}">Visit Data Rooms</a> |
+ <a href="{{loginUrl}}">Login to Platform</a>
+ </p>
+ </div>
+ </div>
+</body>
+</html>