github.com/masterhung0112/hk_server/v5@v5.0.0-20220302090640-ec71aef15e1c/templates/verify_body.html (about) 1 {{define "verify_body"}} 2 3 <!-- FILE: verify_body.mjml --> 4 <!doctype html> 5 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"> 6 7 <head> 8 <title> 9 </title> 10 <!--[if !mso]><!--> 11 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 12 <!--<![endif]--> 13 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 14 <meta name="viewport" content="width=device-width, initial-scale=1"> 15 <style type="text/css"> 16 #outlook a { 17 padding: 0; 18 } 19 20 body { 21 margin: 0; 22 padding: 0; 23 -webkit-text-size-adjust: 100%; 24 -ms-text-size-adjust: 100%; 25 } 26 27 table, 28 td { 29 border-collapse: collapse; 30 mso-table-lspace: 0pt; 31 mso-table-rspace: 0pt; 32 } 33 34 img { 35 border: 0; 36 height: auto; 37 line-height: 100%; 38 outline: none; 39 text-decoration: none; 40 -ms-interpolation-mode: bicubic; 41 } 42 43 p { 44 display: block; 45 margin: 13px 0; 46 } 47 </style> 48 <!--[if mso]> 49 <xml> 50 <o:OfficeDocumentSettings> 51 <o:AllowPNG/> 52 <o:PixelsPerInch>96</o:PixelsPerInch> 53 </o:OfficeDocumentSettings> 54 </xml> 55 <![endif]--> 56 <!--[if lte mso 11]> 57 <style type="text/css"> 58 .mj-outlook-group-fix { width:100% !important; } 59 </style> 60 <![endif]--> 61 <!--[if !mso]><!--> 62 <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,500,700" rel="stylesheet" type="text/css"> 63 <style type="text/css"> 64 @import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,500,700); 65 </style> 66 <!--<![endif]--> 67 <style type="text/css"> 68 @media only screen and (min-width:480px) { 69 .mj-column-per-100 { 70 width: 100% !important; 71 max-width: 100%; 72 } 73 } 74 </style> 75 <style media="screen and (min-width:480px)"> 76 .moz-text-html .mj-column-per-100 { 77 width: 100% !important; 78 max-width: 100%; 79 } 80 </style> 81 <style type="text/css"> 82 @media only screen and (max-width:480px) { 83 table.mj-full-width-mobile { 84 width: 100% !important; 85 } 86 87 td.mj-full-width-mobile { 88 width: auto !important; 89 } 90 } 91 </style> 92 <style type="text/css"> 93 @import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,500,600,700); 94 95 .emailBody { 96 background: #F3F3F3 !important; 97 } 98 99 .emailBody a { 100 text-decoration: none !important; 101 color: #166DE0 !important; 102 } 103 104 .title div { 105 font-weight: 600 !important; 106 font-size: 28px !important; 107 line-height: 36px !important; 108 letter-spacing: -0.01em !important; 109 color: #3D3C40 !important; 110 } 111 112 .subTitle div { 113 font-size: 16px !important; 114 line-height: 24px !important; 115 color: rgba(61, 60, 64, 0.64) !important; 116 } 117 118 .button a { 119 background-color: #166DE0 !important; 120 font-weight: 600 !important; 121 font-size: 16px !important; 122 line-height: 18px !important; 123 color: #FFFFFF !important; 124 padding: 15px 24px !important; 125 } 126 127 .messageButton a { 128 background-color: #FFFFFF !important; 129 border: 1px solid #FFFFFF !important; 130 box-sizing: border-box !important; 131 color: #166DE0 !important; 132 padding: 12px 20px !important; 133 font-weight: 600 !important; 134 font-size: 14px !important; 135 line-height: 14px !important; 136 } 137 138 .info div { 139 font-size: 14px !important; 140 line-height: 20px !important; 141 color: #3D3C40 !important; 142 padding: 40px 0px !important; 143 } 144 145 .footerTitle div { 146 font-weight: 600 !important; 147 font-size: 16px !important; 148 line-height: 24px !important; 149 color: #3D3C40 !important; 150 padding: 0px 0px 4px 0px !important; 151 } 152 153 .footerInfo div { 154 font-size: 14px !important; 155 line-height: 20px !important; 156 color: #3D3C40 !important; 157 padding: 0px 48px 0px 48px !important; 158 } 159 160 .footerInfo a { 161 color: #166DE0 !important; 162 } 163 164 .appDownloadButton a { 165 background-color: #FFFFFF !important; 166 border: 1px solid #166DE0 !important; 167 box-sizing: border-box !important; 168 color: #166DE0 !important; 169 padding: 13px 20px !important; 170 font-weight: 600 !important; 171 font-size: 14px !important; 172 line-height: 14px !important; 173 } 174 175 .emailFooter div { 176 font-size: 12px !important; 177 line-height: 16px !important; 178 color: rgba(61, 60, 64, 0.56) !important; 179 padding: 8px 24px 8px 24px !important; 180 } 181 182 .postCard { 183 padding: 0px 24px 40px 24px !important; 184 } 185 186 .messageCard { 187 background: #FFFFFF !important; 188 border: 1px solid rgba(61, 60, 64, 0.08) !important; 189 box-sizing: border-box !important; 190 box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.12) !important; 191 border-radius: 4px !important; 192 padding: 32px !important; 193 } 194 195 .messageAvatar img { 196 width: 32px !important; 197 height: 32px !important; 198 padding: 0px !important; 199 border-radius: 32px !important; 200 } 201 202 .messageAvatarCol { 203 width: 32px !important; 204 } 205 206 .postNameAndTime { 207 padding: 0px 0px 4px 0px !important; 208 display: flex; 209 } 210 211 .senderName { 212 font-family: Open Sans, sans-serif; 213 text-align: left !important; 214 font-weight: 600 !important; 215 font-size: 14px !important; 216 line-height: 20px !important; 217 color: #3D3C40 !important; 218 } 219 220 .time { 221 font-family: Open Sans, sans-serif; 222 font-size: 12px; 223 line-height: 16px; 224 color: rgba(61, 60, 64, 0.56); 225 padding: 2px 6px; 226 align-items: center; 227 float: left; 228 } 229 230 .channelBg { 231 background: rgba(61, 60, 64, 0.08); 232 border-radius: 4px; 233 display: flex; 234 } 235 236 .channelLogo { 237 width: 10px; 238 height: 10px; 239 padding: 5px 4px 5px 6px; 240 float: left; 241 } 242 243 .channelName { 244 font-family: Open Sans, sans-serif; 245 font-weight: 600; 246 font-size: 10px; 247 line-height: 16px; 248 letter-spacing: 0.01em; 249 text-transform: uppercase; 250 color: rgba(61, 60, 64, 0.64); 251 padding: 2px 6px 2px 0px; 252 } 253 254 .senderMessage div { 255 text-align: left !important; 256 font-size: 14px !important; 257 line-height: 20px !important; 258 color: #3D3C40 !important; 259 padding: 0px !important; 260 } 261 262 .senderInfoCol { 263 width: 394px !important; 264 padding: 0px 0px 0px 12px !important; 265 } 266 267 @media all and (min-width: 541px) { 268 .emailBody { 269 padding: 32px !important; 270 } 271 } 272 273 @media all and (max-width: 540px) and (min-width: 401px) { 274 .emailBody { 275 padding: 16px !important; 276 } 277 278 .messageCard { 279 padding: 16px !important; 280 } 281 282 .senderInfoCol { 283 width: 80% !important; 284 padding: 0px 0px 0px 12px !important; 285 } 286 } 287 288 @media all and (max-width: 400px) { 289 .emailBody { 290 padding: 0px !important; 291 } 292 293 .footerInfo div { 294 padding: 0px !important; 295 } 296 297 .messageCard { 298 padding: 16px !important; 299 } 300 301 .postCard { 302 padding: 0px 0px 40px 0px !important; 303 } 304 305 .senderInfoCol { 306 width: 80% !important; 307 padding: 0px 0px 0px 12px !important; 308 } 309 } 310 </style> 311 </head> 312 313 <body style="word-spacing:normal;"> 314 <div class="emailBody" style=""> 315 <!--[if mso | IE]><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]--> 316 <div style="background:#FFFFFF;background-color:#FFFFFF;margin:0px auto;border-radius:8px;max-width:600px;"> 317 <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#FFFFFF;background-color:#FFFFFF;width:100%;border-radius:8px;"> 318 <tbody> 319 <tr> 320 <td style="direction:ltr;font-size:0px;padding:24px;text-align:center;"> 321 <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" width="600px" ><table align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:552px;" width="552" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]--> 322 <div style="margin:0px auto;max-width:552px;"> 323 <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;"> 324 <tbody> 325 <tr> 326 <td style="direction:ltr;font-size:0px;padding:0px 0px 40px 0px;text-align:center;"> 327 <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:552px;" ><![endif]--> 328 <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> 329 <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"> 330 <tbody> 331 <tr> 332 <td align="center" style="font-size:0px;padding:0px;word-break:break-word;"> 333 <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:collapse;border-spacing:0px;"> 334 <tbody> 335 <tr> 336 <td style="width:132px;"> 337 <img alt="" height="21" src="{{.Props.SiteURL}}/static/images/logo_email_blue.png" style="border:0;display:block;outline:none;text-decoration:none;height:21.76px;width:100%;font-size:13px;" width="132" /> 338 </td> 339 </tr> 340 </tbody> 341 </table> 342 </td> 343 </tr> 344 </tbody> 345 </table> 346 </div> 347 <!--[if mso | IE]></td></tr></table><![endif]--> 348 </td> 349 </tr> 350 </tbody> 351 </table> 352 </div> 353 <!--[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:552px;" width="552" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]--> 354 <div style="margin:0px auto;max-width:552px;"> 355 <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;"> 356 <tbody> 357 <tr> 358 <td style="direction:ltr;font-size:0px;padding:0px 24px 40px 24px;text-align:center;"> 359 <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:504px;" ><![endif]--> 360 <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> 361 <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"> 362 <tbody> 363 <tr> 364 <td align="center" class="title" style="font-size:0px;padding:0px;word-break:break-word;"> 365 <div style="font-family:Open Sans, sans-serif;font-size:13px;line-height:1;text-align:center;color:#000000;">{{.Props.Title}}</div> 366 </td> 367 </tr> 368 <tr> 369 <td align="center" class="subTitle" style="font-size:0px;padding:16px 24px 0px 24px;word-break:break-word;"> 370 <div style="font-family:Open Sans, sans-serif;font-size:13px;line-height:1;text-align:center;color:#000000;">{{.Props.SubTitle1}}<a href="{{.Props.SiteURL}}">{{.Props.ServerURL}}</a></div> 371 </td> 372 </tr> 373 {{if .Props.ButtonURL}} 374 <tr> 375 <td align="center" class="subTitle" style="font-size:0px;padding:0px 24px 16px 24px;word-break:break-word;"> 376 <div style="font-family:Open Sans, sans-serif;font-size:13px;line-height:1;text-align:center;color:#000000;">{{.Props.SubTitle2}}</div> 377 </td> 378 </tr> 379 <tr> 380 <td align="center" vertical-align="middle" class="button" style="font-size:0px;padding:0px;word-break:break-word;"> 381 <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:separate;line-height:100%;"> 382 <tr> 383 <td align="center" bgcolor="#FFFFFF" role="presentation" style="border:none;border-radius:4px;cursor:auto;mso-padding-alt:10px 25px;background:#FFFFFF;" valign="middle"> 384 <a href="{{.Props.ButtonURL}}" style="display:inline-block;background:#FFFFFF;color:#ffffff;font-family:Open Sans, sans-serif;font-size:13px;font-weight:normal;line-height:120%;margin:0;text-decoration:none;text-transform:none;padding:10px 25px;mso-padding-alt:0px;border-radius:4px;" target="_blank"> 385 {{.Props.Button}} 386 </a> 387 </td> 388 </tr> 389 </table> 390 </td> 391 </tr> 392 {{end}} 393 </tbody> 394 </table> 395 </div> 396 <!--[if mso | IE]></td></tr></table><![endif]--> 397 </td> 398 </tr> 399 </tbody> 400 </table> 401 </div> 402 <!--[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:552px;" width="552" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]--> 403 <div style="margin:0px auto;max-width:552px;"> 404 <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;"> 405 <tbody> 406 <tr> 407 <td style="direction:ltr;font-size:0px;padding:0px;text-align:center;"> 408 <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:552px;" ><![endif]--> 409 <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> 410 <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"> 411 <tbody> 412 <tr> 413 <td align="center" style="font-size:0px;padding:0px;word-break:break-word;"> 414 <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:collapse;border-spacing:0px;"> 415 <tbody> 416 <tr> 417 <td style="width:320px;"> 418 <img alt="" height="auto" src="{{.Props.SiteURL}}/static/images/welcome_illustration.png" style="border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px;" width="320" /> 419 </td> 420 </tr> 421 </tbody> 422 </table> 423 </td> 424 </tr> 425 </tbody> 426 </table> 427 </div> 428 <!--[if mso | IE]></td></tr></table><![endif]--> 429 </td> 430 </tr> 431 </tbody> 432 </table> 433 </div> 434 <!--[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:552px;" width="552" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]--> 435 <div style="margin:0px auto;max-width:552px;"> 436 <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;"> 437 <tbody> 438 <tr> 439 <td style="direction:ltr;font-size:0px;padding:0px;text-align:center;"> 440 <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:552px;" ><![endif]--> 441 <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> 442 <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"> 443 <tbody> 444 <tr> 445 <td align="center" class="info" style="font-size:0px;padding:0px;word-break:break-word;"> 446 <div style="font-family:Open Sans, sans-serif;font-size:13px;line-height:1;text-align:center;color:#000000;">{{.Props.Info}}<br>{{.Props.Info1}}</div> 447 </td> 448 </tr> 449 </tbody> 450 </table> 451 </div> 452 <!--[if mso | IE]></td></tr></table><![endif]--> 453 </td> 454 </tr> 455 </tbody> 456 </table> 457 </div> 458 <!--[if mso | IE]></td></tr></table></td></tr><![endif]--> 459 {{if .Props.SupportEmail}} 460 <!--[if mso | IE]><tr><td class="" width="600px" ><table align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:552px;" width="552" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]--> 461 <div style="margin:0px auto;max-width:552px;"> 462 <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;"> 463 <tbody> 464 <tr> 465 <td style="direction:ltr;font-size:0px;padding:16px 0px 40px 0px;text-align:center;"> 466 <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:552px;" ><![endif]--> 467 <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> 468 <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"> 469 <tbody> 470 <tr> 471 <td align="center" class="footerTitle" style="font-size:0px;padding:0px;word-break:break-word;"> 472 <div style="font-family:Open Sans, sans-serif;font-size:13px;line-height:1;text-align:center;color:#000000;">{{.Props.QuestionTitle}}</div> 473 </td> 474 </tr> 475 <tr> 476 <td align="center" class="footerInfo" style="font-size:0px;padding:0px;word-break:break-word;"> 477 <div style="font-family:Open Sans, sans-serif;font-size:13px;line-height:1;text-align:center;color:#000000;">{{.Props.QuestionInfo}} 478 <a href="mailto:{{.Props.SupportEmail}}"> {{.Props.SupportEmail}}</a> 479 </div> 480 </td> 481 </tr> 482 </tbody> 483 </table> 484 </div> 485 <!--[if mso | IE]></td></tr></table><![endif]--> 486 </td> 487 </tr> 488 </tbody> 489 </table> 490 </div> 491 <!--[if mso | IE]></td></tr></table></td></tr><![endif]--> 492 {{end}} 493 <!--[if mso | IE]><tr><td class="" width="600px" ><table align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:552px;" width="552" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]--> 494 <div style="margin:0px auto;max-width:552px;"> 495 <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;"> 496 <tbody> 497 <tr> 498 <td style="direction:ltr;font-size:0px;padding:0px;text-align:center;"> 499 <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:552px;" ><![endif]--> 500 <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> 501 <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"> 502 <tbody> 503 <tr> 504 <td align="center" class="emailFooter" style="font-size:0px;padding:0px;word-break:break-word;"> 505 <div style="font-family:Open Sans, sans-serif;font-size:13px;line-height:1;text-align:center;color:#000000;">{{.Props.Organization}} 506 {{.Props.FooterV2}} 507 </div> 508 </td> 509 </tr> 510 </tbody> 511 </table> 512 </div> 513 <!--[if mso | IE]></td></tr></table><![endif]--> 514 </td> 515 </tr> 516 </tbody> 517 </table> 518 </div> 519 <!--[if mso | IE]></td></tr></table></td></tr></table><![endif]--> 520 </td> 521 </tr> 522 </tbody> 523 </table> 524 </div> 525 <!--[if mso | IE]></td></tr></table><![endif]--> 526 </div> 527 </body> 528 529 </html> 530 531 {{end}}