|
1
|
<!DOCTYPE html> |
|
2
|
<html> |
|
3
|
<head> |
|
4
|
<meta charset="utf-8"> |
|
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|
6
|
<style> |
|
7
|
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #0a0a0a; color: #e5e5e5; padding: 20px; margin: 0; } |
|
8
|
.container { max-width: 600px; margin: 0 auto; } |
|
9
|
.header { padding: 20px 0; border-bottom: 1px solid #1f1f1f; } |
|
10
|
.logo { font-size: 20px; font-weight: 700; color: #ffffff; } |
|
11
|
.logo span { color: #DC394C; } |
|
12
|
.content { padding: 20px 0; } |
|
13
|
.event-badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: 600; } |
|
14
|
.event-checkin { background: #1e3a5f; color: #93c5fd; } |
|
15
|
.event-ticket { background: #3f1f1f; color: #fca5a5; } |
|
16
|
.event-wiki { background: #1f3f1f; color: #86efac; } |
|
17
|
.event-release { background: #3f3f1f; color: #fde68a; } |
|
18
|
.event-forum { background: #2d1f3f; color: #c4b5fd; } |
|
19
|
.project-name { color: #DC394C; text-decoration: none; } |
|
20
|
.message { margin: 16px 0; line-height: 1.6; } |
|
21
|
.button { display: inline-block; padding: 10px 20px; background: #DC394C; color: #ffffff; text-decoration: none; border-radius: 6px; font-weight: 600; } |
|
22
|
.footer { padding: 20px 0; border-top: 1px solid #1f1f1f; font-size: 12px; color: #6b7280; } |
|
23
|
.unsubscribe { color: #9ca3af; text-decoration: underline; } |
|
24
|
</style> |
|
25
|
</head> |
|
26
|
<body> |
|
27
|
<div class="container"> |
|
28
|
<div class="header"> |
|
29
|
<div class="logo">fossil<span>repo</span></div> |
|
30
|
</div> |
|
31
|
<div class="content"> |
|
32
|
<span class="event-badge event-{{ event_type }}" style="display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: 600;{% if event_type == 'checkin' %} background: #1e3a5f; color: #93c5fd;{% elif event_type == 'ticket' %} background: #3f1f1f; color: #fca5a5;{% elif event_type == 'wiki' %} background: #1f3f1f; color: #86efac;{% elif event_type == 'release' %} background: #3f3f1f; color: #fde68a;{% elif event_type == 'forum' %} background: #2d1f3f; color: #c4b5fd;{% else %} background: #2a2a2a; color: #d4d4d4;{% endif %}">{{ event_type }}</span> |
|
33
|
<a href="{{ project_url }}" class="project-name" style="color: #DC394C; text-decoration: none;">{{ project_name }}</a> |
|
34
|
<div class="message" style="margin: 16px 0; line-height: 1.6;">{{ message }}</div> |
|
35
|
{% if action_url %} |
|
36
|
<a href="{{ action_url }}" class="button" style="display: inline-block; padding: 10px 20px; background: #DC394C; color: #ffffff; text-decoration: none; border-radius: 6px; font-weight: 600;">View Details</a> |
|
37
|
{% endif %} |
|
38
|
</div> |
|
39
|
<div class="footer" style="padding: 20px 0; border-top: 1px solid #1f1f1f; font-size: 12px; color: #6b7280;"> |
|
40
|
<p>You're receiving this because you're watching {{ project_name }}.</p> |
|
41
|
<p><a href="{{ unsubscribe_url }}" class="unsubscribe" style="color: #9ca3af; text-decoration: underline;">Unsubscribe</a> or <a href="{{ preferences_url }}" class="unsubscribe" style="color: #9ca3af; text-decoration: underline;">manage notification preferences</a>.</p> |
|
42
|
</div> |
|
43
|
</div> |
|
44
|
</body> |
|
45
|
</html> |
|
46
|
|