Files
mattermost/templates/welcome_body.html

52 lines
3.0 KiB
HTML
Raw Normal View History

2015-06-14 23:53:32 -08:00
{{define "welcome_body"}}
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" style="margin-top: 20px; line-height: 1.7; color: #555;">
<tr>
<td>
<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;">
<tr>
<td style="border: 1px solid #ddd;">
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" style="border-collapse: collapse;">
<tr>
2015-07-28 20:41:24 +05:00
<td style="padding: 20px 20px 10px; text-align:left;">
<img src="{{.Props.SiteURL}}/static/images/logo-email.png" width="130px" style="opacity: 0.5" alt="">
2015-06-14 23:53:32 -08:00
</td>
</tr>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" style="padding: 20px 50px 0; text-align: center; margin: 0 auto">
{{if .Props.VerifyUrl }}
<tr>
<td style="border-bottom: 1px solid #ddd; padding: 0 0 20px;">
<h2 style="font-weight: normal; margin-top: 10px;">{{.Props.Title}}</h2>
<p>{{.Props.Info}}</p>
<p style="margin: 20px 0 15px">
<a href="{{.Props.VerifyUrl}}" style="background: #2389D7; border-radius: 3px; color: #fff; border: none; outline: none; min-width: 200px; padding: 15px 25px; font-size: 14px; font-family: inherit; cursor: pointer; -webkit-appearance: none;text-decoration: none;">{{.Props.Button}}</a>
</p>
</td>
</tr>
{{end}}
2015-06-14 23:53:32 -08:00
<tr>
<td style="border-bottom: 1px solid #ddd; padding: 0 0 20px;">
<h2 style="font-weight: normal; margin-top: 25px; line-height: 1.5;">{{.Props.Info2}}</h2>
2015-09-25 08:19:05 -04:00
<a href="{{.Props.TeamURL}}">{{.Props.TeamURL}}</a>
<p>{{.Props.Info3}}</p>
2015-06-14 23:53:32 -08:00
</td>
</tr>
</table>
</td>
</tr>
<tr>
2015-12-11 11:22:12 -08:00
{{template "email_footer" . }}
2015-06-14 23:53:32 -08:00
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
{{end}}