github.com/vnforks/kid/v5@v5.22.1-0.20200408055009-b89d99c65676/templates/post_body_full.html (about)

     1  {{define "post_body_full"}}
     2  
     3  <table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" style="margin-top: 20px; line-height: 1.7; color: #555;">
     4      <tr>
     5          <td>
     6              <table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" style="max-width: 660px; font-family: Helvetica, Arial, sans-serif; font-size: 14px; background: #FFF;">
     7                  <tr>
     8                      <td style="border: 1px solid #ddd;">
     9                          <table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" style="border-collapse: collapse;">
    10                              <tr>
    11                                  <td style="padding: 20px 20px 10px; text-align:left;">
    12                                      <img src="{{.Props.SiteURL}}/static/images/logo-email.png" width="130px" style="opacity: 0.5" alt="">
    13                                  </td>
    14                              </tr>
    15                              <tr>
    16                                  <td>
    17                                      <table border="0" cellpadding="0" cellspacing="0" style="padding: 20px 50px 0; text-align: center; margin: 0 auto">
    18                                          <tr>
    19                                              <td style="border-bottom: 1px solid #ddd; padding: 0 0 20px;">
    20                                                  <h2 style="font-weight: normal; margin-top: 10px;">{{.Props.BodyText}}</h2>
    21                                                  <p>{{.Props.Info1}}<br>{{.Props.Info2}}<br><pre style="text-align:left;font-family: 'Lato', sans-serif; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">{{.Props.PostMessage}}</pre></p>
    22                                                  <p style="margin: 20px 0 15px">
    23                                                      <a href="{{.Props.BranchLink}}" style="background: #2389D7; display: inline-block; border-radius: 3px; color: #fff; border: none; outline: none; min-width: 170px; padding: 15px 25px; font-size: 14px; font-family: inherit; cursor: pointer; -webkit-appearance: none;text-decoration: none;">{{.Props.Button}}</a>
    24                                                  </p>
    25                                              </td>
    26                                          </tr>
    27                                          <tr>
    28                                              {{template "email_info" . }}
    29                                          </tr>
    30                                      </table>
    31                                  </td>
    32                              </tr>
    33                              <tr>
    34                                  {{template "email_footer" . }}
    35                              </tr>
    36                          </table>
    37                      </td>
    38                  </tr>
    39              </table>
    40          </td>
    41      </tr>
    42  </table>
    43  
    44  {{end}}
    45