Changeset b8ef4ab in OpenWorkouts-current for ow/static


Ignore:
Timestamp:
Feb 19, 2019, 6:58:39 PM (5 years ago)
Author:
Borja Lopez <borja@…>
Branches:
current, feature/docs, master
Children:
42d775c
Parents:
07f5190
Message:

(#61) Better templates for "verify your account" emails:

  • Send a multipart text/html email (instead text only)
  • Added some styling to the html version of the email, based on our current login page styles.

Important: as the html version contains html code generated using
request.resource_url() and request.static_url(), when running in
development mode under http://localhost, the links to images
and css files in the rendered email point to localhost, so they
won't work outside the machine running openworkouts.

Location:
ow/static
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • ow/static/css/main.css

    r07f5190 rb8ef4ab  
    14861486  font-size: 0.8125rem;
    14871487}
     1488.verify-account-content {
     1489  background-position: center;
     1490  background-size: cover;
     1491  display: flex;
     1492  justify-content: center;
     1493  align-items: center;
     1494  min-height: calc(100vh - 98px);
     1495  padding: 1em 0;
     1496  color: #e1e1e1;
     1497}
     1498.verify-account-content .info {
     1499  max-width: 580px;
     1500  background-color: rgba(21, 21, 21, 0.6);
     1501  border-radius: 6px;
     1502  padding: 2em 1.5em;
     1503}
     1504.verify-account-content .info div {
     1505  margin-bottom: 1.5em;
     1506}
     1507.verify-account-content a {
     1508  color: #e1e1e1;
     1509  font-size: 13px;
     1510  text-decoration: none;
     1511  margin-right: 0.75em;
     1512}
     1513.verify-account-content a:hover {
     1514  color: white;
     1515}
     1516.verify-account-content .button {
     1517  transition: all 500ms ease-in-out;
     1518  background-color: #EE4056;
     1519  color: white;
     1520  text-transform: uppercase;
     1521}
     1522.verify-account-content .button:hover {
     1523  background-color: #e6152f;
     1524}
  • ow/static/less/main.less

    r07f5190 rb8ef4ab  
    3232@import "pages/login.less";
    3333@import "pages/profile.less";
     34@import "pages/verify_account.less";
Note: See TracChangeset for help on using the changeset viewer.