Skip to content

Commit c3fb2bb

Browse files
committed
update base-html
1 parent 96791e7 commit c3fb2bb

File tree

1 file changed

+79
-19
lines changed
  • packages/notifications-library/src/notifications_library/templates

1 file changed

+79
-19
lines changed

packages/notifications-library/src/notifications_library/templates/base.html

Lines changed: 79 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,88 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<title>{% block title %}{% endblock %}</title>
77
<style>
8-
body {
9-
font-family: Arial, sans-serif;
10-
margin: 0;
11-
padding: 20px;
12-
color: #333;
13-
}
14-
.container {
15-
background-color: #f9f9f9;
16-
padding: 20px;
17-
border-radius: 5px;
18-
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
19-
}
20-
a {
21-
color: #007bff;
22-
text-decoration: none;
23-
}
8+
body {
9+
font-family: Arial, sans-serif;
10+
margin: 0;
11+
padding: 0;
12+
background-color: #f4f4f4;
13+
}
14+
.email-container {
15+
max-width: 600px;
16+
margin: 20px auto;
17+
background-color: #ffffff;
18+
padding: 20px;
19+
border-radius: 8px;
20+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
21+
}
22+
.header {
23+
display: flex;
24+
align-items: center;
25+
border-bottom: 2px solid #ddd;
26+
padding-bottom: 10px;
27+
margin-bottom: 20px;
28+
}
29+
.logo {
30+
height: 40px;
31+
}
32+
.content {
33+
color: #333;
34+
font-size: 16px;
35+
line-height: 1.5;
36+
}
37+
a {
38+
color: #007bff;
39+
text-decoration: none;
40+
}
41+
.footer {
42+
margin-top: 20px;
43+
padding-top: 15px;
44+
border-top: 2px solid #ddd;
45+
font-size: 14px;
46+
text-align: center;
47+
color: #666;
48+
}
49+
.footer a {
50+
color: #007bff;
51+
text-decoration: none;
52+
}
53+
.github-logo {
54+
height: 20px;
55+
vertical-align: middle;
56+
}
2457
</style>
2558
</head>
2659
<body>
27-
<div class="container">
28-
{% block content %}
29-
{% endblock %}
60+
<div class="email-container">
61+
<div class="header">
62+
<a href="__product.homepage" target="_blank" rel="noopener noreferrer">
63+
<img
64+
src="https://raw.githubusercontent.com/ITISFoundation/osparc-simcore/refs/heads/master/services/static-webserver/client/source/resource/osparc/osparc-black.svg"
65+
alt="Logo"
66+
class="logo"
67+
>
68+
</a>
69+
</div>
70+
71+
<div class="content">
72+
{% block content %}
73+
{% endblock %}
74+
</div>
75+
76+
<div class="footer">
77+
<p>
78+
Visit the <a href="__product.homepage" target="_blank" rel="noopener noreferrer">Platform</a> |
79+
Need help? <a href="__product.support_link" target="_blank" rel="noopener noreferrer">Support</a> |
80+
Powered by oSPARC
81+
<a href="https://github.com/ITISFoundation/osparc-simcore" target="_blank" rel="noopener noreferrer">
82+
<img
83+
src="https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png"
84+
alt="GitHub"
85+
class="github-logo"
86+
>
87+
</a>
88+
</p>
89+
</div>
3090
</div>
3191
</body>
3292
</html>

0 commit comments

Comments
 (0)