diff options
Diffstat (limited to 'api/templates')
25 files changed, 0 insertions, 567 deletions
diff --git a/api/templates/email_change_body.html b/api/templates/email_change_body.html deleted file mode 100644 index 41b1bcd7d..000000000 --- a/api/templates/email_change_body.html +++ /dev/null @@ -1,41 +0,0 @@ -{{define "email_change_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> - <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=""> - </td> - </tr> - <tr> - <td> - <table border="0" cellpadding="0" cellspacing="0" style="padding: 20px 50px 0; text-align: center; margin: 0 auto"> - <tr> - <td style="border-bottom: 1px solid #ddd; padding: 0 0 20px;"> - <h2 style="font-weight: normal; margin-top: 10px;">{{.Props.Title}}</h2> - <p>{{.Html.Info}}</p> - </td> - </tr> - <tr> - {{template "email_info" . }} - </tr> - </table> - </td> - </tr> - <tr> - {{template "email_footer" . }} - </tr> - </table> - </td> - </tr> - </table> - </td> - </tr> -</table> - -{{end}} diff --git a/api/templates/email_change_subject.html b/api/templates/email_change_subject.html deleted file mode 100644 index afabc2191..000000000 --- a/api/templates/email_change_subject.html +++ /dev/null @@ -1 +0,0 @@ -{{define "email_change_subject"}}[{{.ClientCfg.SiteName}}] {{.Props.Subject}}{{end}} diff --git a/api/templates/email_change_verify_body.html b/api/templates/email_change_verify_body.html deleted file mode 100644 index 0d0c0aaba..000000000 --- a/api/templates/email_change_verify_body.html +++ /dev/null @@ -1,44 +0,0 @@ -{{define "email_change_verify_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> - <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=""> - </td> - </tr> - <tr> - <td> - <table border="0" cellpadding="0" cellspacing="0" style="padding: 20px 50px 0; text-align: center; margin: 0 auto"> - <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.VerifyButton}}</a> - </p> - </td> - </tr> - <tr> - {{template "email_info" . }} - </tr> - </table> - </td> - </tr> - <tr> - {{template "email_footer" . }} - </tr> - </table> - </td> - </tr> - </table> - </td> - </tr> -</table> - -{{end}} diff --git a/api/templates/email_change_verify_subject.html b/api/templates/email_change_verify_subject.html deleted file mode 100644 index 4fc4f4846..000000000 --- a/api/templates/email_change_verify_subject.html +++ /dev/null @@ -1 +0,0 @@ -{{define "email_change_verify_subject"}}[{{.ClientCfg.SiteName}}] {{.Props.Subject}}{{end}} diff --git a/api/templates/email_footer.html b/api/templates/email_footer.html deleted file mode 100644 index 6dc7fa483..000000000 --- a/api/templates/email_footer.html +++ /dev/null @@ -1,13 +0,0 @@ -{{define "email_footer"}} - -<td style="text-align: center;color: #AAA; font-size: 11px; padding-bottom: 10px;"> - <p style="margin: 25px 0;"> - <img width="65" src="{{.Props.SiteURL}}/static/images/circles.png" alt=""> - </p> - <p style="padding: 0 50px;"> - (c) 2015 Mattermost, Inc. 855 El Camino Real, 13A-168, Palo Alto, CA, 94301.<br> - {{.Props.Footer}} - </p> -</td> - -{{end}} diff --git a/api/templates/email_info.html b/api/templates/email_info.html deleted file mode 100644 index 0a34f18a0..000000000 --- a/api/templates/email_info.html +++ /dev/null @@ -1,7 +0,0 @@ -{{define "email_info"}} - -<td style="color: #999; padding-top: 20px; line-height: 25px; font-size: 13px;"> - {{.Html.EmailInfo}} -</td> - -{{end}} diff --git a/api/templates/error.html b/api/templates/error.html deleted file mode 100644 index 2f588aead..000000000 --- a/api/templates/error.html +++ /dev/null @@ -1,37 +0,0 @@ -<html> -<head> - <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> - <title><span class='fa fa-chevron-left'></span>Back - Error</title> - - <link rel="stylesheet" href="/static/css/bootstrap-3.3.5.min.css"> - <link rel="stylesheet" href="/static/css/jasny-bootstrap.min.css" rel="stylesheet"> - - <script src="/static/js/react-with-addons-0.13.3.min.js"></script> - <script src="/static/js/jquery-1.11.1.min.js"></script> - <script src="/static/js/bootstrap-3.3.5.min.js"></script> - <script src="/static/js/react-bootstrap-0.25.1.min.js"></script> - - <link id="favicon" rel="icon" href="/static/images/favicon/favicon-16x16.png" type="image/x-icon"> - <link rel="shortcut icon" href="/static/images/favicon/favicon-16x16.png" type="image/x-icon"> - <link href='/static/css/google-fonts.css' rel='stylesheet' type='text/css'> - <link rel="stylesheet" href="/static/css/styles.css"> - - -</head> -<body class="white error"> - <div class="container-fluid"> - <div class="error__container"> - <div class="error__icon"><i class="fa fa-exclamation-triangle"></i></div> - <h2>{{.Props.Title}}</h2> - <p>{{ .Props.Message }}</p> - <a href="{{.Props.SiteURL}}">{{.Props.Link}}</a> - </div> - </div> -</body> -<script> - var details = "{{ .Details }}"; - if (details.length > 0) { - console.log("error details: " + details); - } -</script> -</html> diff --git a/api/templates/find_teams_body.html b/api/templates/find_teams_body.html deleted file mode 100644 index 1324091aa..000000000 --- a/api/templates/find_teams_body.html +++ /dev/null @@ -1,52 +0,0 @@ -{{define "find_teams_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> - <td style="padding: 20px 20px 10px; text-align:left;"> - <img src="{{.ClientCfg.SiteURL}}/static/images/logo-email.png" width="130px" style="opacity: 0.5" alt=""> - </td> - </tr> - <tr> - <td> - <table border="0" cellpadding="0" cellspacing="0" style="padding: 20px 50px 0; text-align: center; margin: 0 auto"> - <tr> - <td style="border-bottom: 1px solid #ddd; padding: 0 0 20px;"> - <h2 style="font-weight: normal; margin-top: 10px;">{{.Props.Title}}</h2> - <p>{{ if .Extra }} - {{.Props.Found}}<br> - {{range $index, $element := .Extra}} - <a href="{{ $element }}" style="text-decoration: none; color:#2389D7;">{{ $index }}</a><br> - {{ end }} - {{ else }} - {{.Props.NotFound}} - {{ end }} - </p> - </td> - </tr> - <tr> - {{template "email_info" . }} - </tr> - </table> - </td> - </tr> - <tr> - {{template "email_footer" . }} - </tr> - </table> - </td> - </tr> - </table> - </td> - </tr> -</table> - -{{end}} - - - diff --git a/api/templates/find_teams_subject.html b/api/templates/find_teams_subject.html deleted file mode 100644 index ebc339562..000000000 --- a/api/templates/find_teams_subject.html +++ /dev/null @@ -1 +0,0 @@ -{{define "find_teams_subject"}}{{.Props.Subject}}{{end}} diff --git a/api/templates/invite_body.html b/api/templates/invite_body.html deleted file mode 100644 index 2b6bde6d3..000000000 --- a/api/templates/invite_body.html +++ /dev/null @@ -1,46 +0,0 @@ -{{define "invite_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> - <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=""> - </td> - </tr> - <tr> - <td> - <table border="0" cellpadding="0" cellspacing="0" style="padding: 20px 50px 0; text-align: center; margin: 0 auto"> - <tr> - <td style="border-bottom: 1px solid #ddd; padding: 0 0 20px;"> - <h2 style="font-weight: normal; margin-top: 10px;">{{.Props.Title}}</h2> - <p>{{.Html.Info}}</p> - <p style="margin: 30px 0 15px"> - <a href="{{.Props.Link}}" 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> - <br/> - <p>{{.Html.ExtraInfo}}</p> - </td> - </tr> - <tr> - {{template "email_info" . }} - </tr> - </table> - </td> - </tr> - <tr> - {{template "email_footer" . }} - </tr> - </table> - </td> - </tr> - </table> - </td> - </tr> -</table> - -{{end}} diff --git a/api/templates/invite_subject.html b/api/templates/invite_subject.html deleted file mode 100644 index 504915d50..000000000 --- a/api/templates/invite_subject.html +++ /dev/null @@ -1 +0,0 @@ -{{define "invite_subject"}}{{.Props.Subject}}{{end}} diff --git a/api/templates/password_change_body.html b/api/templates/password_change_body.html deleted file mode 100644 index 2c4ba10ca..000000000 --- a/api/templates/password_change_body.html +++ /dev/null @@ -1,43 +0,0 @@ -{{define "password_change_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> - <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=""> - </td> - </tr> - <tr> - <td> - <table border="0" cellpadding="0" cellspacing="0" style="padding: 20px 50px 0; text-align: center; margin: 0 auto"> - <tr> - <td style="border-bottom: 1px solid #ddd; padding: 0 0 20px;"> - <h2 style="font-weight: normal; margin-top: 10px;">{{.Props.Title}}</h2> - <p>{{.Html.Info}}</p> - </td> - </tr> - <tr> - {{template "email_info" . }} - </tr> - </table> - </td> - </tr> - <tr> - {{template "email_footer" . }} - </tr> - </table> - </td> - </tr> - </table> - </td> - </tr> -</table> - -{{end}} - - diff --git a/api/templates/password_change_subject.html b/api/templates/password_change_subject.html deleted file mode 100644 index 897f1210d..000000000 --- a/api/templates/password_change_subject.html +++ /dev/null @@ -1 +0,0 @@ -{{define "password_change_subject"}}{{.Props.Subject}}{{end}} diff --git a/api/templates/post_body.html b/api/templates/post_body.html deleted file mode 100644 index 54f34d1dd..000000000 --- a/api/templates/post_body.html +++ /dev/null @@ -1,45 +0,0 @@ -{{define "post_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> - <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=""> - </td> - </tr> - <tr> - <td> - <table border="0" cellpadding="0" cellspacing="0" style="padding: 20px 50px 0; text-align: center; margin: 0 auto"> - <tr> - <td style="border-bottom: 1px solid #ddd; padding: 0 0 20px;"> - <h2 style="font-weight: normal; margin-top: 10px;">{{.Props.BodyText}}</h2> - <p>{{.Html.Info}}<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> - <p style="margin: 20px 0 15px"> - <a href="{{.Props.TeamLink}}" 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> - </p> - </td> - </tr> - <tr> - {{template "email_info" . }} - </tr> - </table> - </td> - </tr> - <tr> - {{template "email_footer" . }} - </tr> - </table> - </td> - </tr> - </table> - </td> - </tr> -</table> - -{{end}} - diff --git a/api/templates/post_subject.html b/api/templates/post_subject.html deleted file mode 100644 index 60daaa432..000000000 --- a/api/templates/post_subject.html +++ /dev/null @@ -1 +0,0 @@ -{{define "post_subject"}}[{{.ClientCfg.SiteName}}] {{.Props.Subject}}{{end}} diff --git a/api/templates/reset_body.html b/api/templates/reset_body.html deleted file mode 100644 index 69cd44957..000000000 --- a/api/templates/reset_body.html +++ /dev/null @@ -1,46 +0,0 @@ -{{define "reset_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> - <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=""> - </td> - </tr> - <tr> - <td> - <table border="0" cellpadding="0" cellspacing="0" style="padding: 20px 50px 0; text-align: center; margin: 0 auto"> - <tr> - <td style="border-bottom: 1px solid #ddd; padding: 0 0 20px;"> - <h2 style="font-weight: normal; margin-top: 10px;">{{.Props.Title}}</h2> - <p>{{.Html.Info}}</p> - <p style="margin: 20px 0 15px"> - <a href="{{.Props.ResetUrl}}" 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> - <tr> - {{template "email_info" . }} - </tr> - </table> - </td> - </tr> - <tr> - {{template "email_footer" . }} - </tr> - </table> - </td> - </tr> - </table> - </td> - </tr> -</table> - -{{end}} - - diff --git a/api/templates/reset_subject.html b/api/templates/reset_subject.html deleted file mode 100644 index a2852d332..000000000 --- a/api/templates/reset_subject.html +++ /dev/null @@ -1 +0,0 @@ -{{define "reset_subject"}}{{.Props.Subject}}{{end}} diff --git a/api/templates/signin_change_body.html b/api/templates/signin_change_body.html deleted file mode 100644 index af8577f0f..000000000 --- a/api/templates/signin_change_body.html +++ /dev/null @@ -1,43 +0,0 @@ -{{define "signin_change_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> - <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=""> - </td> - </tr> - <tr> - <td> - <table border="0" cellpadding="0" cellspacing="0" style="padding: 20px 50px 0; text-align: center; margin: 0 auto"> - <tr> - <td style="border-bottom: 1px solid #ddd; padding: 0 0 20px;"> - <h2 style="font-weight: normal; margin-top: 10px;">{{.Props.Title}}</h2> - <p>{{.Html.Info}}</p> - </td> - </tr> - <tr> - {{template "email_info" . }} - </tr> - </table> - </td> - </tr> - <tr> - {{template "email_footer" . }} - </tr> - </table> - </td> - </tr> - </table> - </td> - </tr> -</table> - -{{end}} - - diff --git a/api/templates/signin_change_subject.html b/api/templates/signin_change_subject.html deleted file mode 100644 index 606dc4df3..000000000 --- a/api/templates/signin_change_subject.html +++ /dev/null @@ -1 +0,0 @@ -{{define "signin_change_subject"}}{{.Props.Subject}}{{end}} diff --git a/api/templates/signup_team_body.html b/api/templates/signup_team_body.html deleted file mode 100644 index 683a9891e..000000000 --- a/api/templates/signup_team_body.html +++ /dev/null @@ -1,44 +0,0 @@ -{{define "signup_team_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> - <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=""> - </td> - </tr> - <tr> - <td> - <table border="0" cellpadding="0" cellspacing="0" style="padding: 20px 50px 0; text-align: center; margin: 0 auto"> - <tr> - <td style="border-bottom: 1px solid #ddd; padding: 0 0 20px;"> - <h2 style="font-weight: normal; margin-top: 10px;">{{.Props.Title}}</h2> - <p style="margin: 20px 0 25px"> - <a href="{{.Props.Link}}" 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> - {{.Html.Info}}<br></p> - </td> - </tr> - <tr> - {{template "email_info" . }} - </tr> - </table> - </td> - </tr> - <tr> - {{template "email_footer" . }} - </tr> - </table> - </td> - </tr> - </table> - </td> - </tr> -</table> - -{{end}} diff --git a/api/templates/signup_team_subject.html b/api/templates/signup_team_subject.html deleted file mode 100644 index 413a5c8c1..000000000 --- a/api/templates/signup_team_subject.html +++ /dev/null @@ -1 +0,0 @@ -{{define "signup_team_subject"}}{{.Props.Subject}}{{end}}
\ No newline at end of file diff --git a/api/templates/verify_body.html b/api/templates/verify_body.html deleted file mode 100644 index 2b0d25f94..000000000 --- a/api/templates/verify_body.html +++ /dev/null @@ -1,44 +0,0 @@ -{{define "verify_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> - <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=""> - </td> - </tr> - <tr> - <td> - <table border="0" cellpadding="0" cellspacing="0" style="padding: 20px 50px 0; text-align: center; margin: 0 auto"> - <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> - <tr> - {{template "email_info" . }} - </tr> - </table> - </td> - </tr> - <tr> - {{template "email_footer" . }} - </tr> - </table> - </td> - </tr> - </table> - </td> - </tr> -</table> - -{{end}} diff --git a/api/templates/verify_subject.html b/api/templates/verify_subject.html deleted file mode 100644 index ad7fc2aaa..000000000 --- a/api/templates/verify_subject.html +++ /dev/null @@ -1 +0,0 @@ -{{define "verify_subject"}}{{.Props.Subject}}{{end}} diff --git a/api/templates/welcome_body.html b/api/templates/welcome_body.html deleted file mode 100644 index b5ca9beb3..000000000 --- a/api/templates/welcome_body.html +++ /dev/null @@ -1,51 +0,0 @@ -{{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> - <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=""> - </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}} - <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> - <a href="{{.Props.TeamURL}}">{{.Props.TeamURL}}</a> - <p>{{.Props.Info3}}</p> - </td> - </tr> - </table> - </td> - </tr> - <tr> - {{template "email_footer" . }} - </tr> - </table> - </td> - </tr> - </table> - </td> - </tr> -</table> - -{{end}} - diff --git a/api/templates/welcome_subject.html b/api/templates/welcome_subject.html deleted file mode 100644 index 95189b900..000000000 --- a/api/templates/welcome_subject.html +++ /dev/null @@ -1 +0,0 @@ -{{define "welcome_subject"}}{{.Props.Subject}}{{end}} |