Debian Codegraph @

src/notification/email/templates/metaservice.pm

raw
1 package notification::email::templates::metaservice;
2
3 use strict;
4 use warnings;
5
6 use Exporter qw(import);
7
8 our @EXPORT_OK = qw(get_metaservice_template);
9
10 sub get_metaservice_template {
11 return q{
12 <!doctype html>
13 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml"
14 xmlns:o="urn:schemas-microsoft-com:office:office">
15
16 <head>
17 <title></title><!--[if !mso]><!-- -->
18 <meta http-equiv="X-UA-Compatible" content="IE=edge"><!--<![endif]-->
19 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
20 <meta name="viewport" content="width=device-width,initial-scale=1">
21
22 <TMPL_VAR NAME="dynamicCss">
23 </head>
24
25 <body>
26 <div>
27 <!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" class="notification-box-outlook" style="width:600px;" width="600" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
28 <div class="notification-box" style="Margin:0px auto;max-width:600px;">
29 <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
30 <tbody>
31 <tr>
32 <td style="direction:ltr;font-size:0px;padding:20px 0;text-align:center;vertical-align:top;">
33 <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="header-outlook" width="600px" ><table align="center" border="0" cellpadding="0" cellspacing="0" class="header-outlook" style="width:600px;" width="600" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
34 <div class="header" style="Margin:0px auto;max-width:600px;">
35 <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation"
36 style="width:100%;">
37 <tbody>
38 <tr>
39 <td
40 style="direction:ltr;font-size:0px;padding:5px 0px 5px 0px;text-align:center;vertical-align:top;">
41 <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="width:600px;" ><![endif]-->
42 <div class="mj-column-per-100 outlook-group-fix"
43 style="font-size:0;line-height:0;text-align:left;display:inline-block;width:100%;direction:ltr;">
44 <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td style="vertical-align:top;width:120px;" ><![endif]-->
45 <div class="mj-column-per-20 outlook-group-fix"
46 style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:20%;">
47 <table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
48 <tbody>
49 <tr>
50 <td style="vertical-align:top;padding:0px 0px 0px 0px;">
51 <table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
52 </table>
53 </td>
54 </tr>
55 </tbody>
56 </table>
57 </div><!--[if mso | IE]></td><td style="vertical-align:top;width:360px;" ><![endif]-->
58 <div class="mj-column-per-60 outlook-group-fix font-header"
59 style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:60%;">
60 <table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
61 <tbody>
62 <tr>
63 <td style="vertical-align:top;padding:0px 0px 0px 0px;">
64 <table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
65 <tr>
66 <td align="center" style="font-size:0px;padding:0px 5px;word-break:break-word;">
67 <div
68 style="font-family:CoconPro-BoldCond, Red Hat Display, Open Sans , Verdana , sans-serif;font-size:15px;line-height:1;text-align:center;color:#000000;">
69 <TMPL_VAR NAME="type"></div>
70 </td>
71 </tr>
72 </table>
73 </td>
74 </tr>
75 </tbody>
76 </table>
77 </div><!--[if mso | IE]></td><td style="vertical-align:top;width:120px;" ><![endif]-->
78 <div class="mj-column-per-20 outlook-group-fix font-header"
79 style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:20%;">
80 <table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
81 <tbody>
82 <tr>
83 <td style="vertical-align:top;padding:0px 0px 0px 0px;">
84 <table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
85 <tr>
86 <td align="right" style="font-size:0px;padding:0px 5px;word-break:break-word;">
87 <div style="font-family:CoconPro-BoldCond, Red Hat Display , Open Sans , Verdana , sans-serif;font-size:15px;line-height:1;text-align:right;color:#000000;">
88 <TMPL_VAR NAME="attempts">/<TMPL_VAR NAME="maxAttempts">
89 </div>
90 </td>
91 </tr>
92 </table>
93 </td>
94 </tr>
95 </tbody>
96 </table>
97 </div><!--[if mso | IE]></td></tr></table><![endif]-->
98 </div><!--[if mso | IE]></td></tr></table><![endif]-->
99 </td>
100 </tr>
101 </tbody>
102 </table>
103 </div>
104 <!--[if mso | IE]></td></tr></table></td></tr><tr><td class="info-resources-outlook" width="600px" ><table align="center" border="0" cellpadding="0" cellspacing="0" class="info-resources-outlook" style="width:600px;" width="600" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
105 <div class="info-resources" style="Margin:0px auto;max-width:600px;">
106 <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation"
107 style="width:100%;">
108 <tbody>
109 <tr>
110 <td
111 style="direction:ltr;font-size:0px;padding:5px 0px 5px 0px;text-align:center;vertical-align:top;">
112 <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]-->
113 <div class="mj-column-per-100 outlook-group-fix"
114 style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
115 <table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
116 <tbody>
117 <tr>
118 <td style="vertical-align:top;padding:0px 0px 0px 0px;">
119 <table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
120 <tr>
121 <td align="left" style="font-size:0px;padding:0px 5px;word-break:break-word;">
122 <div
123 style="font-family:CoconPro-BoldCond, Red Hat Display , Open Sans , Verdana , sans-serif;font-size:15px;line-height:1;text-align:left;color:#000000;">
124 <p>Meta Service:</p>
125 <p class="dynamic">
126 <TMPL_VAR NAME="serviceDescription">
127 <span style="font-weight: normal">is</span>
128 <span class="status">
129 <TMPL_VAR NAME="status">
130 </span>
131 <span style="font-weight: normal">for:</span>
132 <span>
133 <TMPL_VAR NAME="duration">
134 </span>
135 </p>
136 </div>
137 </td>
138 </tr>
139 </table>
140 </td>
141 </tr>
142 </tbody>
143 </table>
144 </div><!--[if mso | IE]></td></tr></table><![endif]-->
145 </td>
146 </tr>
147 </tbody>
148 </table>
149 </div>
150 <!--[if mso | IE]></td></tr></table></td></tr><tr><td class="" width="600px" ><table align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
151 <div style="Margin:0px auto;max-width:600px;">
152 <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation"
153 style="width:100%;">
154 <tbody>
155 <tr>
156 <td
157 style="direction:ltr;font-size:0px;padding:5px 0px 5px 0px;text-align:center;vertical-align:top;">
158 <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="width:600px;" ><![endif]-->
159 <div class="mj-column-per-100 outlook-group-fix"
160 style="font-size:0;line-height:0;text-align:left;display:inline-block;width:100%;direction:ltr;">
161 <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td style="vertical-align:top;width:200px;" ><![endif]-->
162 <div class="mj-column-per-33 outlook-group-fix"
163 style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:33%;">
164 <table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
165 <tbody>
166 <tr>
167 <td style="vertical-align:top;padding:0px 0px 0px 0px;">
168 <table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
169 <tr>
170 <td align="left" style="font-size:0px;padding:0px 5px;word-break:break-word;">
171 <div
172 style="font-family:CoconPro-BoldCond, Red Hat Display , Open Sans , Verdana , sans-serif;font-size:15px;line-height:1;text-align:left;color:#000000;">
173 <p>Date:</p>
174 <p class="dynamic">
175 <TMPL_VAR NAME="date">
176 </p>
177 </div>
178 </td>
179 </tr>
180 </table>
181 </td>
182 </tr>
183 </tbody>
184 </table>
185 </div><!--[if mso | IE]></td><td style="vertical-align:top;width:200px;" ><![endif]-->
186 <div class="mj-column-per-33 outlook-group-fix" style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:33%;">
187 <table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
188 <tbody>
189 <tr>
190 <td style="vertical-align:top;padding:0px 0px 0px 0px;">
191 <table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
192 </table>
193 </td>
194 </tr>
195 </tbody>
196 </table>
197 </div><!--[if mso | IE]></td><td style="vertical-align:top;width:200px;" ><![endif]-->
198 <div class="mj-column-per-33 outlook-group-fix"
199 style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:33%;">
200 <table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
201 <tbody>
202 <tr>
203 <td style="vertical-align:top;padding:0px 0px 0px 0px;">
204 <table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
205 <tr>
206 <td align="center" vertical-align="middle" class="button"
207 style="font-size:0px;padding:10px 25px;word-break:break-word;">
208 <table border="0" cellpadding="0" cellspacing="0" role="presentation"
209 style="border-collapse:separate;line-height:100%;">
210 <tr>
211 <td align="center" bgcolor="#008CBA" role="presentation"
212 style="border:none;border-radius:3px;cursor:auto;padding:0px;background:#008CBA;"
213 valign="middle">
214 <a href="<TMPL_VAR NAME='dynamicHref'>"
215 style="background:#008CBA;color:#ffffff;font-family:CoconPro-BoldCond, Red Hat Display, Open Sans , Verdana , sans-serif;font-size:15px;font-weight:normal;line-height:120%;Margin:0;text-decoration:none;text-transform:none;"
216 target="_blank">More Information</a></td>
217 </tr>
218 </table>
219 </td>
220 </tr>
221 </table>
222 </td>
223 </tr>
224 </tbody>
225 </table>
226 </div><!--[if mso | IE]></td></tr></table><![endif]-->
227 </div><!--[if mso | IE]></td></tr></table><![endif]-->
228 </td>
229 </tr>
230 </tbody>
231 </table>
232 </div>
233 <TMPL_IF NAME="includeAuthor">
234 <!--[if mso | IE]></td></tr></table></td></tr><tr><td class="" width="600px" ><table align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
235 <div style="Margin:0px auto;max-width:600px;">
236 <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation"
237 style="width:100%;">
238 <tbody>
239 <tr>
240 <td
241 style="direction:ltr;font-size:0px;padding:5px 0px 5px 0px;text-align:center;vertical-align:top;">
242 <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]-->
243 <div class="mj-column-per-100 outlook-group-fix"
244 style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
245 <table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
246 <tbody>
247 <tr>
248 <td style="vertical-align:top;padding:0px 0px 0px 0px;">
249 <table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
250 <tr>
251 <td align="left" style="font-size:0px;padding:0px 5px;word-break:break-word;">
252 <div style="font-family:CoconPro-BoldCond, Red Hat Display, Open Sans , Verdana , sans-serif;font-size:15px;line-height:1;text-align:left;color:#000000;">
253 <p>
254 <TMPL_VAR NAME="eventType"> by:
255 </p>
256 <p class="dynamic">
257 <TMPL_VAR NAME="author">
258 </p>
259 </div>
260 </td>
261 </tr>
262 </table>
263 </td>
264 </tr>
265 </tbody>
266 </table>
267 </div><!--[if mso | IE]></td></tr></table><![endif]-->
268 </td>
269 </tr>
270 </tbody>
271 </table>
272 </div>
273 </TMPL_IF>
274 <TMPL_IF NAME="includeComment">
275 <!--[if mso | IE]></td></tr></table></td></tr><tr><td class="" width="600px" ><table align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
276 <div style="Margin:0px auto;max-width:600px;">
277 <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation"
278 style="width:100%;">
279 <tbody>
280 <tr>
281 <td
282 style="direction:ltr;font-size:0px;padding:5px 0px 5px 0px;text-align:center;vertical-align:top;">
283 <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]-->
284 <div class="mj-column-per-100 outlook-group-fix"
285 style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
286 <table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
287 <tbody>
288 <tr>
289 <td style="vertical-align:top;padding:0px 0px 0px 0px;">
290 <table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
291 <tr>
292 <td align="left" style="font-size:0px;padding:0px 5px;word-break:break-word;">
293 <div
294 style="font-family:CoconPro-BoldCond, Red Hat Display, Open Sans , Verdana , sans-serif;font-size:15px;line-height:1;text-align:left;color:#000000;">
295 <p>
296 <TMPL_VAR NAME="eventType"> Comment:
297 </p>
298 <p class="dynamic">
299 <TMPL_VAR NAME="comment">
300 </p>
301 </div>
302 </td>
303 </tr>
304 </table>
305 </td>
306 </tr>
307 </tbody>
308 </table>
309 </div><!--[if mso | IE]></td></tr></table><![endif]-->
310 </td>
311 </tr>
312 </tbody>
313 </table>
314 </div>
315 </TMPL_IF>
316 <!--[if mso | IE]></td></tr></table></td></tr><tr><td class="status-info-outlook" width="600px" ><table align="center" border="0" cellpadding="0" cellspacing="0" class="status-info-outlook" style="width:600px;" width="600" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
317 <div class="status-info" style="Margin:0px auto;max-width:600px;">
318 <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation"
319 style="width:100%;">
320 <tbody>
321 <tr>
322 <td
323 style="direction:ltr;font-size:0px;padding:5px 0px 5px 0px;text-align:center;vertical-align:top;">
324 <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]-->
325 <div class="mj-column-per-100 outlook-group-fix"
326 style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
327 <table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
328 <tbody>
329 <tr>
330 <td style="vertical-align:top;padding:0px 0px 0px 0px;">
331 <table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
332 <tr>
333 <td align="left" style="font-size:0px;padding:0px 5px;word-break:break-word;">
334 <div
335 style="font-family:CoconPro-BoldCond, Red Hat Display , Open Sans , Verdana , sans-serif;font-size:15px;line-height:1;text-align:left;color:#000000;">
336 <p>Status information:</p>
337 <p class="dynamic">
338 <TMPL_VAR NAME="output">
339 </p>
340 </div>
341 </td>
342 </tr>
343 </table>
344 </td>
345 </tr>
346 </tbody>
347 </table>
348 </div><!--[if mso | IE]></td></tr></table><![endif]-->
349 </td>
350 </tr>
351 </tbody>
352 </table>
353 </div>
354 <!--[if mso | IE]></td></tr></table></td></tr><tr><td class="" width="600px" ><table align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
355 <div style="Margin:0px auto;max-width:600px;">
356 <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation"
357 style="width:100%;">
358 <tbody>
359 <tr>
360 <td
361 style="direction:ltr;font-size:0px;padding:5px 0px 5px 0px;text-align:center;vertical-align:top;">
362 <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]-->
363 <div class="mj-column-per-100 outlook-group-fix"
364 style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
365 <table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
366 <tbody>
367 <tr>
368 <td style="vertical-align:top;padding:0px 0px 0px 0px;">
369 <table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
370 <tr>
371 <td align="center" class="graph-container"
372 style="font-size:0px;padding:10px 25px;word-break:break-word;">
373 <table border="0" cellpadding="0" cellspacing="0" role="presentation"
374 style="border-collapse:collapse;border-spacing:0px;">
375 <tbody>
376 <tr>
377 <td style="width:550px;">
378 <TMPL_VAR NAME="graphHtml">
379 </td>
380 </tr>
381 </tbody>
382 </table>
383 </td>
384 </tr>
385 </table>
386 </td>
387 </tr>
388 </tbody>
389 </table>
390 </div><!--[if mso | IE]></td></tr></table><![endif]-->
391 </td>
392 </tr>
393 </tbody>
394 </table>
395 </div><!--[if mso | IE]></td></tr></table></td></tr></table><![endif]-->
396 </td>
397 </tr>
398 </tbody>
399 </table>
400 </div><!--[if mso | IE]></td></tr></table><![endif]-->
401 </div>
402 </body>
403
404 </html>
405 };
406 }
407
408 1;