-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeteo.html
232 lines (171 loc) · 14.7 KB
/
meteo.html
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
f"""<html>
<tbody><tr><td>
<div>
<div style="background-color:#ffffff">
<div class="m_951682899310027360layout m_951682899310027360one-col" style="Margin:0 auto;max-width:600px;min-width:320px;width:320px;width:calc(28000% - 167400px);word-wrap:break-word;word-break:break-word">
<div class="m_951682899310027360layout__inner" style="border-collapse:collapse;display:table;width:100%">
<div class="m_951682899310027360column" style="max-width:600px;min-width:320px;width:320px;width:calc(28000% - 167400px);text-align:left;color:#363f48;font-size:16px;line-height:24px;font-family:Karla,Calibri,Geneva,sans-serif">
<div style="font-size:12px;font-style:normal;font-weight:normal;line-height:19px" align="center">
<img style="border:0;display:block;height:auto;width:100%;max-width:600px" alt="" width="600" src="https://chezpolo.eu/mail_meteo/banner.png" class="CToWUd a6T" tabindex="0"><div class="a6S" dir="ltr" style="opacity: 0.01; left: 552px; top: 170px;"><div id=":uh" class="T-I J-J5-Ji aQv T-I-ax7 L3 a5q" role="button" tabindex="0" aria-label="Télécharger la pièce jointe " data-tooltip-class="a1V" data-tooltip="Télécharger"><div class="aSK J-J5-Ji aYr"></div></div></div>
</div>
<div style="Margin-left:20px;Margin-right:20px;Margin-top:20px">
<div>
<h1 class="m_951682899310027360size-32" style="Margin-top:0;Margin-bottom:0;font-style:normal;font-weight:normal;color:#363f48;font-size:28px;line-height:36px;font-family:Montserrat,DejaVu Sans,Verdana,sans-serif" lang="x-size-32"><strong>Bilan météo de la journée du :</strong></h1><p class="m_951682899310027360size-26" style="Margin-top:20px;Margin-bottom:0;font-size:22px;line-height:31px;text-align:center" lang="x-size-26"><strong>{date.today().strftime('%A %d %B')}</strong></p><p style="Margin-top:20px;Margin-bottom:0"> </p>
</div>
</div>
</div>
</div>
</div>
</div>
<div style="background-color:#004e64">
<div class="m_951682899310027360layout" style="Margin:0 auto;max-width:600px;min-width:320px;width:320px;width:calc(28000% - 167400px);word-wrap:break-word;word-break:break-word">
<div class="m_951682899310027360layout__inner" style="border-collapse:collapse;display:table;width:100%">
<div class="m_951682899310027360column m_951682899310027360narrow" style="text-align:left;color:#363f48;font-size:16px;line-height:24px;font-family:Karla,Calibri,Geneva,sans-serif;Float:left;max-width:320px;min-width:200px;width:320px;width:calc(72200px - 12000%)">
<div style="Margin-left:20px;Margin-right:20px">
<div style="line-height:40px;font-size:1px"> </div>
</div>
<div style="Margin-left:20px;Margin-right:20px">
<div style="font-size:12px;font-style:normal;font-weight:normal;line-height:19px" align="left">
<img style="border:0;display:block;height:auto;width:100%;max-width:400px" alt="" width="160" src="https://chezpolo.eu/mail_meteo/station.png" class="CToWUd a6T" tabindex="0"><div class="a6S" dir="ltr" style="opacity: 0.01; left: 132px; top: 528px;"><div id=":ui" class="T-I J-J5-Ji aQv T-I-ax7 L3 a5q" title="Télécharger" role="button" tabindex="0" aria-label="Télécharger la pièce jointe " data-tooltip-class="a1V"><div class="aSK J-J5-Ji aYr"></div></div></div>
</div>
</div>
</div>
<div class="m_951682899310027360column m_951682899310027360wide" style="text-align:left;color:#363f48;font-size:16px;line-height:24px;font-family:Karla,Calibri,Geneva,sans-serif;Float:left;max-width:400px;min-width:320px;width:320px;width:calc(8000% - 47600px)">
<div style="Margin-left:20px;Margin-right:20px">
<div style="line-height:40px;font-size:1px"> </div>
</div>
<div style="Margin-left:20px;Margin-right:20px">
<div>
<h2 style="Margin-top:0;Margin-bottom:0;font-style:normal;font-weight:normal;color:#363f48;font-size:20px;line-height:28px;font-family:Montserrat,DejaVu Sans,Verdana,sans-serif"><span style="color:#ffffff"><strong>Détail de la journée</strong></span></h2><p style="Margin-top:16px;Margin-bottom:20px">
<span style="color:#ffffff">• Température maxi : <strong>{bilan.t_max}</strong>°C à {bilan.ht_max}<br>
• Température mini : <strong>{bilan.t_min}</strong>°C à {bilan.ht_min}<br>
• Hygrométrie maxi/mini : <strong>{bilan.hygro_max}</strong>%/<strong>{bilan.hygro_min}</strong>%<br>
• Vitesse vent maxi : <strong>{bilan.v_max}</strong> km/h à {bilan.hv_max}<br>
• Direction du vent : <strong>{bilan.v_dir}</strong><br>
• Cumul pluviométrie : <strong>{bilan.pluie_c} </strong>mm</span><br>
</p>
</div>
</div>
<div style="Margin-left:20px;Margin-right:20px">
<div style="line-height:40px;font-size:1px"> </div>
</div>
</div>
</div>
</div>
</div>
<div style="background-color:#5dd9c1">
<div class="m_951682899310027360layout m_951682899310027360two-col" style="Margin:0 auto;max-width:600px;min-width:320px;width:320px;width:calc(28000% - 167400px);word-wrap:break-word;word-break:break-word">
<div class="m_951682899310027360layout__inner" style="border-collapse:collapse;display:table;width:100%">
<div style="font-size:12px;font-style:normal;font-weight:normal;line-height:19px" align="center">
<img class="m_951682899310027360gnd-corner-image m_951682899310027360gnd-corner-image-center m_951682899310027360gnd-corner-image-top m_951682899310027360gnd-corner-image-bottom CToWUd a6T" style="border:0;display:block;height:auto;width:100%" alt="" width="300" src="{cid}" tabindex="0"><div class="a6S" dir="ltr" style="opacity: 0.01; left: 252px; top: 920px;"><div id=":uj" class="T-I J-J5-Ji aQv T-I-ax7 L3 a5q" title="Télécharger" role="button" tabindex="0" aria-label="Télécharger la pièce jointe " data-tooltip-class="a1V"><div class="aSK J-J5-Ji aYr"></div></div></div>
</div>
</div>
</div>
</div>
<div style="background-color:#91f9e5">
<div class="m_951682899310027360layout" style="Margin:0 auto;max-width:600px;min-width:320px;width:320px;width:calc(28000% - 167400px);word-wrap:break-word;word-break:break-word">
<div class="m_951682899310027360layout__inner" style="border-collapse:collapse;display:table;width:100%">
<div class="m_951682899310027360column m_951682899310027360narrow" style="text-align:left;color:#363f48;font-size:16px;line-height:24px;font-family:Karla,Calibri,Geneva,sans-serif;Float:left;max-width:320px;min-width:200px;width:320px;width:calc(72200px - 12000%)">
<div style="Margin-left:20px;Margin-right:20px">
<div style="line-height:40px;font-size:1px"> </div>
</div>
<div style="Margin-left:20px;Margin-right:20px">
<div style="font-size:12px;font-style:normal;font-weight:normal;line-height:19px" align="center">
<img style="border:0;display:block;height:auto;width:100%;max-width:400px" alt="" width="160" src="https://chezpolo.eu/mail_meteo/meteociel.png" class="CToWUd a6T" tabindex="0"><div class="a6S" dir="ltr" style="opacity: 0.01; left: 132px; top: 1120px;"><div id=":ul" class="T-I J-J5-Ji aQv T-I-ax7 L3 a5q" title="Télécharger" role="button" tabindex="0" aria-label="Télécharger la pièce jointe " data-tooltip-class="a1V"><div class="aSK J-J5-Ji aYr"></div></div></div>
</div>
</div>
</div>
<div class="m_951682899310027360column m_951682899310027360wide" style="text-align:left;color:#363f48;font-size:16px;line-height:24px;font-family:Karla,Calibri,Geneva,sans-serif;Float:left;max-width:400px;min-width:320px;width:320px;width:calc(8000% - 47600px)">
<div style="Margin-left:20px;Margin-right:20px">
<div style="line-height:40px;font-size:1px"> </div>
</div>
<div style="Margin-left:20px;Margin-right:20px">
<div>
<h2 style="Margin-top:0;Margin-bottom:0;font-style:normal;font-weight:normal;color:#363f48;font-size:20px;line-height:28px;font-family:Montserrat,DejaVu Sans,Verdana,sans-serif"><strong>Prévision pour demain</strong></h2><p style="Margin-top:16px;Margin-bottom:20px">
<span style="color:#363f48">
• Ambiance générale : <strong>{previ.ambiance}</strong><br>
• Température maxi : <strong>{previ.t_max}</strong>°C à {previ.ht_max}<br>
• Température mini : <strong>{previ.t_min}</strong>°C à {previ.ht_min}<br>
• Vitesse vent maxi : <strong>{previ.v_max}</strong> km/h à {previ.hv_max}<br>
• Direction du vent : <strong>{previ.v_dir}</strong><br>
• Cumul pluviométrie : <strong>{previ.pluie_c} </strong>mm</span></p>
</div>
</div>
<div style="Margin-left:20px;Margin-right:20px">
<div style="line-height:40px;font-size:1px"> </div>
</div>
</div>
</div>
</div>
</div>
<div class="m_951682899310027360layout m_951682899310027360one-col m_951682899310027360fixed-width" style="Margin:0 auto;max-width:600px;min-width:320px;width:320px;width:calc(28000% - 167400px);word-wrap:break-word;word-break:break-word">
<div class="m_951682899310027360layout__inner" style="border-collapse:collapse;display:table;width:100%;background-color:#ffffff">
<div class="m_951682899310027360column" style="text-align:left;color:#363f48;font-size:16px;line-height:24px;font-family:Karla,Calibri,Geneva,sans-serif;max-width:600px;min-width:320px;width:320px;width:calc(28000% - 167400px)">
<div style="Margin-left:20px;Margin-right:20px">
<div style="line-height:20px;font-size:1px"> </div>
</div>
</div>
</div>
</div>
<div style="line-height:20px;font-size:20px"> </div>
<div class="m_951682899310027360layout m_951682899310027360two-col m_951682899310027360has-gutter" style="Margin:0 auto;max-width:600px;min-width:320px;width:320px;width:calc(28000% - 167400px);word-wrap:break-word;word-break:break-word">
<div class="m_951682899310027360layout__inner" style="border-collapse:collapse;display:table;width:100%">
<div class="m_951682899310027360column" style="Float:left;max-width:320px;min-width:290px;width:320px;width:calc(18290px - 3000%)">
<table class="m_951682899310027360column__background" style="border-collapse:collapse;table-layout:fixed;background-color:#ffffff" cellpadding="0" cellspacing="0" width="100%" role="presentation">
<tbody><tr>
<td style="text-align:left;color:#363f48;font-size:16px;line-height:24px;font-family:Karla,Calibri,Geneva,sans-serif">
<div style="Margin-left:20px;Margin-right:20px">
<div class="m_951682899310027360btn m_951682899310027360btn--flat m_951682899310027360fullwidth m_951682899310027360btn--large" style="text-align:center">
<u></u><a style="border-radius:4px;display:block;font-size:14px;font-weight:bold;line-height:24px;padding:12px 24px;text-align:center;text-decoration:none!important;color:#ffffff!important;background-color:#363f48;font-family:Karla,Calibri,Geneva,sans-serif" href="https://www.meteociel.fr/previsions-wrf-1h/25600/grigny.htm" target="_blank" >voir les prévision</a><u></u>
</div>
</div>
</td>
</tr>
</tbody></table>
</div>
<div class="m_951682899310027360gutter" style="Float:left;width:20px"> </div>
<div class="m_951682899310027360column" style="Float:left;max-width:320px;min-width:290px;width:320px;width:calc(18290px - 3000%)">
<table class="m_951682899310027360column__background" style="border-collapse:collapse;table-layout:fixed;background-color:#ffffff" cellpadding="0" cellspacing="0" width="100%" role="presentation">
<tbody><tr>
<td style="text-align:left;color:#363f48;font-size:16px;line-height:24px;font-family:Karla,Calibri,Geneva,sans-serif">
<div style="Margin-left:20px;Margin-right:20px">
<div class="m_951682899310027360btn m_951682899310027360btn--flat m_951682899310027360fullwidth m_951682899310027360btn--large" style="text-align:center">
<u></u><a style="border-radius:4px;display:block;font-size:14px;font-weight:bold;line-height:24px;padding:12px 24px;text-align:center;text-decoration:none!important;color:#ffffff!important;background-color:#363f48;font-family:Karla,Calibri,Geneva,sans-serif" href="http://polo0000.raspiweather.com/" target="_blank" >voir les données météo</a><u></u>
</div>
</div>
</td>
</tr>
</tbody></table>
</div>
</div>
</div>
<div style="line-height:20px;font-size:20px"> </div>
<div role="contentinfo">
<div class="m_951682899310027360layout m_951682899310027360email-footer" style="Margin:0 auto;max-width:600px;min-width:320px;width:320px;width:calc(28000% - 167400px);word-wrap:break-word;word-break:break-word">
<div class="m_951682899310027360layout__inner" style="border-collapse:collapse;display:table;width:100%">
<div class="m_951682899310027360column m_951682899310027360wide" style="text-align:left;font-size:12px;line-height:19px;color:#363f48;font-family:Karla,Calibri,Geneva,sans-serif;Float:left;max-width:400px;min-width:320px;width:320px;width:calc(8000% - 47600px)">
<div style="Margin-left:20px;Margin-right:20px;Margin-top:10px;Margin-bottom:10px">
<div style="font-size:12px;line-height:19px">
</div>
<div style="font-size:12px;line-height:19px;Margin-top:18px">
</div>
</div>
</div>
<div class="m_951682899310027360column m_951682899310027360narrow" style="text-align:left;font-size:12px;line-height:19px;color:#363f48;font-family:Karla,Calibri,Geneva,sans-serif;Float:left;max-width:320px;min-width:200px;width:320px;width:calc(72200px - 12000%)">
<div style="Margin-left:20px;Margin-right:20px;Margin-top:10px;Margin-bottom:10px">
</div>
</div>
</div>
</div>
<div class="m_951682899310027360layout m_951682899310027360one-col m_951682899310027360email-footer" style="Margin:0 auto;max-width:600px;min-width:320px;width:320px;width:calc(28000% - 167400px);word-wrap:break-word;word-break:break-word">
<div class="m_951682899310027360layout__inner" style="border-collapse:collapse;display:table;width:100%">
<div class="m_951682899310027360column" style="text-align:left;font-size:12px;line-height:19px;color:#363f48;font-family:Karla,Calibri,Geneva,sans-serif;max-width:600px;min-width:320px;width:320px;width:calc(28000% - 167400px)">
<div style="Margin-left:20px;Margin-right:20px;Margin-top:10px;Margin-bottom:10px">
</div>
</div>
</div>
</div>
</div>
<div style="line-height:40px;font-size:40px"> </div>
</div></td></tr></tbody>
</html>"""