119 lines
3.7 KiB
HTML
119 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>Team Join Request - LeagueLedger</title>
|
|
<style>
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
line-height: 1.6;
|
|
color: #333;
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
background-color: #f9f9f9;
|
|
}
|
|
.container {
|
|
background-color: #ffffff;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
overflow: hidden;
|
|
}
|
|
.header {
|
|
background-color: #2D7738;
|
|
padding: 20px;
|
|
text-align: center;
|
|
color: white;
|
|
}
|
|
.content {
|
|
padding: 30px;
|
|
background-color: #ffffff;
|
|
}
|
|
.button-container {
|
|
margin: 25px 0;
|
|
text-align: center;
|
|
}
|
|
.button {
|
|
display: inline-block;
|
|
background-color: #2D7738;
|
|
color: white;
|
|
text-decoration: none;
|
|
padding: 10px 20px;
|
|
border-radius: 5px;
|
|
font-weight: 500;
|
|
}
|
|
.button.approve {
|
|
background-color: #2D7738;
|
|
}
|
|
.button.deny {
|
|
background-color: #9e9e9e;
|
|
margin-left: 10px;
|
|
}
|
|
.link-help {
|
|
margin-top: 20px;
|
|
padding: 15px;
|
|
background-color: #f5f5f5;
|
|
border-radius: 5px;
|
|
font-size: 14px;
|
|
}
|
|
.footer {
|
|
padding: 20px;
|
|
text-align: center;
|
|
font-size: 12px;
|
|
color: #777;
|
|
border-top: 1px solid #eaeaea;
|
|
}
|
|
.message-box {
|
|
margin: 15px 0;
|
|
padding: 15px;
|
|
background-color: #f5f5f5;
|
|
border-radius: 5px;
|
|
border-left: 3px solid #2D7738;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<div class="header">
|
|
<h1>Team Join Request</h1>
|
|
</div>
|
|
|
|
<div class="content">
|
|
<p>Hello {{ captain_name }},</p>
|
|
|
|
<p>We hope this email finds you well. <strong>{{ requester_name }}</strong> has requested to join your team <strong>{{ team_name }}</strong> on LeagueLedger.</p>
|
|
|
|
{% if message %}
|
|
<div class="message-box">
|
|
<p><strong>Message from {{ requester_name }}:</strong></p>
|
|
<p><em>"{{ message }}"</em></p>
|
|
</div>
|
|
{% endif %}
|
|
|
|
<p>As the team captain, you can review this request and decide whether to approve or deny it.</p>
|
|
|
|
<div class="button-container">
|
|
<a href="{{ approve_url }}" class="button approve">Approve Request</a>
|
|
<a href="{{ deny_url }}" class="button deny">Decline Request</a>
|
|
</div>
|
|
|
|
<div class="link-help">
|
|
<p>If the buttons above don't work, you can copy and paste one of these links into your browser:</p>
|
|
<p>To approve: <a href="{{ approve_url }}">Accept team member</a></p>
|
|
<p>To decline: <a href="{{ deny_url }}">Decline request</a></p>
|
|
</div>
|
|
|
|
<p>Thank you for being an active team captain in our community!</p>
|
|
|
|
<p>Best regards,<br>The LeagueLedger Team</p>
|
|
</div>
|
|
|
|
<div class="footer">
|
|
<p>© 2025 LeagueLedger. All rights reserved.</p>
|
|
<p>This message was sent regarding team management in your LeagueLedger account.</p>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|