-
Notifications
You must be signed in to change notification settings - Fork 0
/
mail.j2
104 lines (87 loc) · 2.09 KB
/
mail.j2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<html>
<style type="text/css">
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 300;
src: local('Open Sans Light'), local('OpenSans-Light'), url(http://fonts.gstatic.com/s/opensans/v13/DXI1ORHCpsQm3Vp6mXoaTa-j2U0lmluP9RWlSytm3ho.woff2) format('woff2');
unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;
}
.body {
width: 90%;
margin: auto;
font-family: 'Open Sans', 'Helvetica', sans-serif;
font-size: 14pt;
color: #075D72;
}
a:link { color: #B40057; text-decoration: underline}
a:visited { color: #542A95; text-decoration: none}
a:hover { color: #B40057; background-color:#C4FFF9; text-decoration: underline }
table {
font-family: arial, sans-serif;
border-collapse: collapse;
width: 100%;
}
td, th {
border: 1px solid #dddddd;
text-align: left;
padding: 8px;
}
tr:nth-child(even) {
background-color: #dddddd;
}
.head {
margin-top: 30px;
background-color:#BF0A30;
color: #fff;
text-align: center;
width: 100%;
border: 1px solid #ddd;
}
</style>
<body>
<div class="body">
<div class="head">SSL Sertifika Durumu</div>
<table>
<tr>
<th>Sertifika</th>
<th>Kalan Süre</th>
</tr>
{% for key,value in CERT_DAYS.items() %}
<tr>
<td>{{key}}</td>
<td>{{value}}</td>
</tr>
{% endfor %}
</table>
<div class="head">Domain Durumu</div>
<table>
<tr>
<th>Domain</th>
<th>Kalan Süre</th>
<th>Whois Server</th>
</tr>
{% for key,value in DOMAIN_DAYS.items() %}
<tr>
<td>{{key}}</td>
<td>{{value[0]}}</td>
<td>{{value[1]}}</td>
</tr>
{% endfor %}
</table>
<div class="head">Sorgulanamayanlar</div>
<table>
<tr>
<th>Tip</th>
<th>Değer</th>
</tr>
{% for k,v in ERRORS.items() %}
<tr>
<td>{{ k }}</td>
<td>{{ v|join(' ') }}</td>
</tr>
{% endfor %}
</table>
</div>
</body>
</html>