Initial project structure with sails.js
This commit is contained in:
9
views/emails/email-reset-password.ejs
Normal file
9
views/emails/email-reset-password.ejs
Normal file
@@ -0,0 +1,9 @@
|
||||
<% /* Note: This is injected into `views/layouts/layout-email.ejs` */ %>
|
||||
<p style="margin-bottom: 25px;">Dear <%= fullName %>,</p>
|
||||
<p style="margin-bottom: 25px;">Someone requested a password reset for your account. If this was not you, please disregard this email. Otherwise, simply click the button below:</p>
|
||||
<div style="margin-bottom: 25px; text-align: center;">
|
||||
<a style="background-color: #00ACC4; display: inline-block; font-size: 1.1em; color: #fff; padding: 10px 35px 10px; font-weight: 500; text-decoration: none; border-radius: 7px;" href="<%= url.resolve(sails.config.custom.baseUrl,'/password/new')+'?token='+encodeURIComponent(token) %>">Update password</a>
|
||||
</div>
|
||||
<p style="margin-bottom: 25px;">If you have any trouble, try pasting this link in your browser: <a style="color: #00ACC4; word-wrap: break-word;" href="<%= url.resolve(sails.config.custom.baseUrl,'/password/new')+'?token='+encodeURIComponent(token) %>"><%= url.resolve(sails.config.custom.baseUrl,'/password/new')+'?token='+encodeURIComponent(token) %></a></p>
|
||||
<p style="margin-bottom: 5px;">Sincerely,</p>
|
||||
<p style="margin-top: 0px;">The NEW_APP_NAME Team</p>
|
9
views/emails/email-verify-account.ejs
Normal file
9
views/emails/email-verify-account.ejs
Normal file
@@ -0,0 +1,9 @@
|
||||
<% /* Note: This is injected into `views/layouts/layout-email.ejs` */ %>
|
||||
<p style="margin-bottom: 25px;">Welcome, <%= fullName %>!</p>
|
||||
<p style="margin-bottom: 25px;">You're almost ready to get started. Just click the button below to confirm the email address for your account:</p>
|
||||
<div style="margin-bottom: 25px; text-align: center;">
|
||||
<a style="background-color: #00ACC4; display: inline-block; font-size: 1.1em; color: #fff; padding: 10px 35px 10px; font-weight: 500; text-decoration: none; border-radius: 7px;" href="<%= url.resolve(sails.config.custom.baseUrl,'/email/confirm')+'?token='+encodeURIComponent(token) %>">Confirm email</a>
|
||||
</div>
|
||||
<p style="margin-bottom: 25px;">If you have any trouble, try pasting this link in your browser: <a style="color: #00ACC4; word-wrap: break-word;" href="<%= url.resolve(sails.config.custom.baseUrl,'/email/confirm')+'?token='+encodeURIComponent(token) %>"><%= url.resolve(sails.config.custom.baseUrl,'/email/confirm')+'?token='+encodeURIComponent(token) %></a></p>
|
||||
<p style="margin-bottom: 5px;">Sincerely,</p>
|
||||
<p style="margin-top: 0px;">The NEW_APP_NAME Team</p>
|
9
views/emails/email-verify-new-email.ejs
Normal file
9
views/emails/email-verify-new-email.ejs
Normal file
@@ -0,0 +1,9 @@
|
||||
<% /* Note: This is injected into `views/layouts/layout-email.ejs` */ %>
|
||||
<p style="margin-bottom: 25px;">Dear <%= fullName %>,</p>
|
||||
<p style="margin-bottom: 25px;">You recently requested an update to the email address for your account. To verify your new email, please click the button below:</p>
|
||||
<div style="margin-bottom: 25px; text-align: center;">
|
||||
<a style="background-color: #28AFB0; display: inline-block; font-size: 1.1em; color: #fff; padding: 10px 35px 10px; font-weight: 500; text-decoration: none; border-radius: 7px;" href="<%= url.resolve(sails.config.custom.baseUrl,'/email/confirm')+'?token='+encodeURIComponent(token) %>">Confirm email</a>
|
||||
</div>
|
||||
<p style="margin-bottom: 25px;">If you have any trouble, try pasting this link in your browser: <a style="color: #28AFB0; word-wrap: break-word;" href="<%= url.resolve(sails.config.custom.baseUrl,'/email/confirm')+'?token='+encodeURIComponent(token) %>"><%= url.resolve(sails.config.custom.baseUrl,'/email/confirm')+'?token='+encodeURIComponent(token) %></a></p>
|
||||
<p style="margin-bottom: 5px;">Sincerely,</p>
|
||||
<p style="margin-top: 0px;">The NEW_APP_NAME Team</p>
|
16
views/emails/internal/email-contact-form.ejs
Normal file
16
views/emails/internal/email-contact-form.ejs
Normal file
@@ -0,0 +1,16 @@
|
||||
<% /* Note: Unlike other emails, this is NOT intended for use with a layout! */ %>
|
||||
<div style="background-color: #FAFAFA; width: 100%; font-family: 'Arial', 'Helvetica Neue', 'Helvetica', sans-serif; box-sizing: border-box; padding-bottom: 25px; margin: 0;">
|
||||
<div style="background: transparent; padding-top: 30px; padding-bottom: 20px; text-align: center;">
|
||||
<img style="display: inline-block; height: 30px; width: auto; margin-left: auto; margin-right: auto;" alt="Sails" src="https://sailsjs.com/images/logos/sails-logo_ltBg_ltBlue.png"/>
|
||||
</div>
|
||||
<div style="background-color: #fff; color: #000; font-size: 1em; border-top: 2px solid #00ACC4; border-bottom: 1px solid #E6E6E6; box-sizing: border-box; padding: 25px; width: 100%; max-width: 600px; margin-left: auto; margin-right: auto;">
|
||||
|
||||
<p style="margin-bottom: 25px;">Dear admin,</p>
|
||||
<p style="margin-bottom: 25px;">We have received the following message through the contact form:</p>
|
||||
<p><strong>From:</strong> <%= contactName %> <<%= contactEmail %>></p>
|
||||
<p><strong>Topic:</strong> <%= topic %></p>
|
||||
<p style="margin-bottom: 35px;"><strong>Message:</strong> <%= message %></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user