|
| 1 | +pub const MAIL_CONFIRMATION_TEMPLATE: &str = r#" |
| 2 | +<!doctype html> |
| 3 | +<html lang="en"> |
| 4 | + <head> |
| 5 | + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| 6 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 7 | + <title>Confirm your E-Mail</title> |
| 8 | + </head> |
| 9 | + <body style="margin:0; padding:0; background:#ffffff;"> |
| 10 | + <table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%"> |
| 11 | + <tr> |
| 12 | + <td align="center"> |
| 13 | + <table role="presentation" cellpadding="0" cellspacing="0" border="0" width="650" class="container" style="width:650px; max-width:650px;"> |
| 14 | + <tr> |
| 15 | + <td class="px" style="padding:18px 24px; background:#fefbf1;"> |
| 16 | + <img src="{logo_link}" |
| 17 | + alt="Bitcredit" width="120" height="24" |
| 18 | + style="display:block; border:0; outline:none; text-decoration:none; height:auto;"> |
| 19 | + </td> |
| 20 | + </tr> |
| 21 | + </table> |
| 22 | + <table role="presentation" cellpadding="0" cellspacing="0" border="0" width="650" class="container" style="width:650px; max-width:650px; background:#ffffff;"> |
| 23 | + <tr style="background: #fefbf1;"> |
| 24 | + <td class="px" style="padding:15px 24px 8px 24px; font-family:Geist, system-ui, sans-serif; color:#111111;"> |
| 25 | + <h1 style="margin:0; font-size:24px; line-height:36px; font-weight:500;"> |
| 26 | + Please confirm your E-Mail |
| 27 | + </h1> |
| 28 | + </td> |
| 29 | + </tr> |
| 30 | + <tr> |
| 31 | + <td align="center" style="padding:60px 24px 30px 24px;"> |
| 32 | + <a href="{link}" |
| 33 | + style="background:#2b2118; color:#ffffff; text-decoration:none; display:inline-block; |
| 34 | + font-family:Geist, system-ui, sans-serif; font-size:14px; font-weight: 500; |
| 35 | + padding:12px 24px; border-radius:.5rem;"> |
| 36 | + Click here to confirm |
| 37 | + </a> |
| 38 | + </td> |
| 39 | + </tr> |
| 40 | + <tr> |
| 41 | + <td align="center" class="px" style="padding:0px 24px 28px 24px; font-family:Geist, system-ui, sans-serif; font-size:13px; line-height:20px; color:#333333;"> |
| 42 | + The link is valid for 1 day. |
| 43 | + </td> |
| 44 | + </tr> |
| 45 | + </table> |
| 46 | + <table role="presentation" cellpadding="0" cellspacing="0" border="0" width="650" class="container" style="width:650px; max-width:650px;"> |
| 47 | + <tr><td style="height:24px; line-height:24px;"> </td></tr> |
| 48 | + </table> |
| 49 | + </td> |
| 50 | + </tr> |
| 51 | + </table> |
| 52 | + </body> |
| 53 | +</html> |
| 54 | +"#; |
| 55 | + |
| 56 | +#[allow(unused)] |
| 57 | +pub const NOTIFICATION_MAIL_TEMPLATE: &str = r#" |
| 58 | +<!doctype html> |
| 59 | +<html lang="en"> |
| 60 | + <head> |
| 61 | + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| 62 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 63 | + <title>{title}</title> |
| 64 | + </head> |
| 65 | + <body style="margin:0; padding:0; background:#ffffff;"> |
| 66 | + <table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%"> |
| 67 | + <tr> |
| 68 | + <td align="center"> |
| 69 | + <table role="presentation" cellpadding="0" cellspacing="0" border="0" width="650" class="container" style="width:650px; max-width:650px;"> |
| 70 | + <tr> |
| 71 | + <td class="px" style="padding:18px 24px; background:#fefbf1;"> |
| 72 | + <img src="{logo_link}" |
| 73 | + alt="Bitcredit" width="120" height="24" |
| 74 | + style="display:block; border:0; outline:none; text-decoration:none; height:auto;"> |
| 75 | + </td> |
| 76 | + </tr> |
| 77 | + </table> |
| 78 | + <table role="presentation" cellpadding="0" cellspacing="0" border="0" width="650" class="container" style="width:650px; max-width:650px; background:#ffffff;"> |
| 79 | + <tr style="background: #fefbf1;"> |
| 80 | + <td class="px" style="padding:15px 24px 8px 24px; font-family:Geist, system-ui, sans-serif; color:#111111;"> |
| 81 | + <h1 style="margin:0; font-size:24px; line-height:36px; font-weight:500;"> |
| 82 | + {title} |
| 83 | + </h1> |
| 84 | + </td> |
| 85 | + </tr> |
| 86 | + <tr> |
| 87 | + <td align="center" style="padding:60px 24px 36px 24px;"> |
| 88 | + <a href="{link}" |
| 89 | + style="background:#2b2118; color:#ffffff; text-decoration:none; display:inline-block; |
| 90 | + font-family:Geist, system-ui, sans-serif; font-size:14px; font-weight: 500; |
| 91 | + padding:12px 24px; border-radius:.5rem;"> |
| 92 | + Go to eBill |
| 93 | + </a> |
| 94 | + </td> |
| 95 | + </tr> |
| 96 | + <table role="presentation" cellpadding="0" cellspacing="0" border="0" width="650" class="container" style="width:650px; max-width:650px;"> |
| 97 | + <tr><td style="height:44px; line-height:44px;"> </td></tr> |
| 98 | + </table> |
| 99 | + <tr> |
| 100 | + <td align="center" class="px" style="padding:16px 24px 28px 24px; font-family:Geist, system-ui, sans-serif; font-size:13px; line-height:20px; color:#333333;"> |
| 101 | + <a href="{notification_link}" style="color:#333333; text-decoration:none;">Manage notification settings</a> |
| 102 | + |
| 103 | + <a href="{browser_link}" style="color:#333333; text-decoration:none;">View in the browser</a> |
| 104 | + </td> |
| 105 | + </tr> |
| 106 | + </table> |
| 107 | + <table role="presentation" cellpadding="0" cellspacing="0" border="0" width="650" class="container" style="width:650px; max-width:650px;"> |
| 108 | + <tr><td style="height:24px; line-height:24px;"> </td></tr> |
| 109 | + </table> |
| 110 | + </td> |
| 111 | + </tr> |
| 112 | + </table> |
| 113 | + </body> |
| 114 | +</html> |
| 115 | +"#; |
0 commit comments