From 653ecdc4d02cbbe562dc2a8c7d1101d1c5f613ca Mon Sep 17 00:00:00 2001 From: Pavel Dohnal Date: Wed, 12 Jul 2017 16:54:49 +0100 Subject: [PATCH 1/2] Add extra copy [MAILPOET-954] --- assets/css/src/settings.styl | 22 ++++++++++++---------- views/settings/mta.html | 22 ++++++++++++++++------ views/settings/premium.html | 8 ++++---- 3 files changed, 32 insertions(+), 20 deletions(-) diff --git a/assets/css/src/settings.styl b/assets/css/src/settings.styl index 6034e2be3a..c2f25b958c 100644 --- a/assets/css/src/settings.styl +++ b/assets/css/src/settings.styl @@ -9,13 +9,13 @@ // sending methods .mailpoet_sending_methods margin 25px 0 0 0 - li + > li float left position relative padding 15px 15px 0 15px margin 0 25px 25px 0 width 300px - height 300px + height 600px border 1px solid #dedede background-color #fff h3 @@ -52,14 +52,16 @@ .button-secondary margin 0 -6px -4px 0 - // premium key - .mailpoet_key - &_valid - &::before - content '✔ ' - &_invalid - &::before - content: '✗ ' + ul.sending-method-benefits + list-style-type: none + margin-bottom: 2em + margin-top: 2em + + .mailpoet_success_item::before + content '✔ ' + + .mailpoet_error_item::before + content '✗ ' // responsive @media screen and (max-width: 782px) diff --git a/views/settings/mta.html b/views/settings/mta.html index 657b6d89e7..c0c9224123 100644 --- a/views/settings/mta.html +++ b/views/settings/mta.html @@ -77,20 +77,24 @@ <%= __("Great, you're all set up. Your emails will now be sent quickly and reliably!") %>

-

<%= __("Solve all of your sending problems!") %>
<%= __("Let MailPoet send your emails and get the Premium features for as little as 10 dollars or euros per month.") %> -
-
+

<%= __('Find out more') %> -

+
<%= __('Activated') %> @@ -109,11 +113,17 @@ <% if(settings.mta_group == 'smtp' or settings.mta_group == 'website') %>class="mailpoet_active"<% endif %> >

<%= __('Other') %>

-

+

<%= __('Send with your website or third party') %>
<%= __('Choose to send emails through your website (not recommended) or a third party sender.') %> -

+
    +
  • <%= __('You\'ll probably end up in spam.') %> +
  • <%= __('Sending speed is limited by your web host.') %> +
  • <%= __('Manual configuration of SPF and DKIM required.') %> +
  • <%= __('Bounce handling is available, but only with an extra add-on.') %> +
+
<%= __('Activated') %> diff --git a/views/settings/premium.html b/views/settings/premium.html index 9bc9191ab8..df1f756f63 100644 --- a/views/settings/premium.html +++ b/views/settings/premium.html @@ -25,22 +25,22 @@ ><%= __('Verify') %>
<%= __('Your Premium key has been successfully validated.') %>
<%= __('Your Premium key is invalid.') %>
<%= __('Your MailPoet Sending Service key has been successfully validated.') %>
<%= __('Your MailPoet Sending Service key is invalid.') %>
From 3dcff8eb8a81fe6d7f84c41115b0d208318f2478 Mon Sep 17 00:00:00 2001 From: Pavel Dohnal Date: Thu, 13 Jul 2017 09:41:08 +0100 Subject: [PATCH 2/2] Update styles to handle more text [MAILPOET-954] --- assets/css/src/settings.styl | 44 ++++++------ views/settings/mta.html | 131 ++++++++++++++++++----------------- 2 files changed, 91 insertions(+), 84 deletions(-) diff --git a/assets/css/src/settings.styl b/assets/css/src/settings.styl index c2f25b958c..176ff42126 100644 --- a/assets/css/src/settings.styl +++ b/assets/css/src/settings.styl @@ -9,15 +9,25 @@ // sending methods .mailpoet_sending_methods margin 25px 0 0 0 + display flex + flex-direction row + justify-content space-around > li - float left - position relative - padding 15px 15px 0 15px + flex-grow 1 + flex-shrink 1 + display flex + flex-direction column + flex-basis 0 margin 0 25px 25px 0 - width 300px - height 600px border 1px solid #dedede background-color #fff + max-width 500px + .mailpoet_sending_method_description + padding: 25px + flex-grow 1 + flex-shrink 0 + > li:last-child + margin-right 0 h3 text-align center height 54px @@ -25,12 +35,12 @@ .mailpoet_description font-size 14px .mailpoet_status + display flex + flex-direction row + justify-content space-between + align-items center background-color #2f2f2f color #fff - position absolute - bottom 0 - left 0 - right 0 text-overflow ellipsis padding 15px span @@ -43,14 +53,6 @@ visibility visible #mailpoet_mta_activate visibility hidden - .mailpoet_actions - bottom 15px - color #fff - padding 0 - position absolute - right 15px - .button-secondary - margin 0 -6px -4px 0 ul.sending-method-benefits list-style-type: none @@ -69,8 +71,10 @@ width auto .mailpoet_sending_methods - li - float none - width auto + flex-flow: row wrap + justify-content: space-around + > li margin-right 0 + flex-basis auto + diff --git a/views/settings/mta.html b/views/settings/mta.html index c0c9224123..2b6cd93775 100644 --- a/views/settings/mta.html +++ b/views/settings/mta.html @@ -54,86 +54,89 @@ /> -
    +
    • class="mailpoet_active"<% endif %> > -

      - MailPoet -

      +
      +

      + MailPoet +

      -

      - <%= __("You're now sending with MailPoet!") %> -
      - <%= __("Great, you're all set up. Your emails will now be sent quickly and reliably!") %> -

      +

      + <%= __("You're now sending with MailPoet!") %> +
      + <%= __("Great, you're all set up. Your emails will now be sent quickly and reliably!") %> +

      -
      - <%= __("Solve all of your sending problems!") %> -
      - <%= __("Let MailPoet send your emails and get the Premium features for as little as 10 dollars or euros per month.") %> -
        -
      • <%= __('Reach the inbox, not the spam box.') %> -
      • <%= __('Send emails up to 20 times faster than other sending methods.') %> -
      • <%= __('SPF & DKIM signatures are already set up! No configuration required.') %> -
      • <%= __('Automatically remove invalid and bounced addresses (bounce handling) to keep your lists clean.') %> -
      - <%= __('Find out more') %> +
      + <%= __("Solve all of your sending problems!") %> +
      + <%= __("Let MailPoet send your emails and get the Premium features for as little as 10 dollars or euros per month.") %> +
        +
      • <%= __('Reach the inbox, not the spam box.') %> +
      • <%= __('Send emails up to 20 times faster than other sending methods.') %> +
      • <%= __('SPF & DKIM signatures are already set up! No configuration required.') %> +
      • <%= __('Automatically remove invalid and bounced addresses (bounce handling) to keep your lists clean.') %> +
      + <%= __('Find out more') %> +
      -
      <%= __('Activated') %> + +
      + +
      -
      - -
    • class="mailpoet_active"<% endif %> > -

      <%= __('Other') %>

      -
      - <%= __('Send with your website or third party') %> -
      - <%= __('Choose to send emails through your website (not recommended) or a third party sender.') %> -
        -
      • <%= __('You\'ll probably end up in spam.') %> -
      • <%= __('Sending speed is limited by your web host.') %> -
      • <%= __('Manual configuration of SPF and DKIM required.') %> -
      • <%= __('Bounce handling is available, but only with an extra add-on.') %> -
      -
      - -
      - <%= __('Activated') %> -
      - - +
      +

      <%= __('Other') %>

      +
      + <%= __('Send with your website or third party') %> +
      + <%= __('Choose to send emails through your website (not recommended) or a third party sender.') %> +
        +
      • <%= __('You\'ll probably end up in spam.') %> +
      • <%= __('Sending speed is limited by your web host.') %> +
      • <%= __('Manual configuration of SPF and DKIM required.') %> +
      • <%= __('Bounce handling is available, but only with an extra add-on.') %> +
      +
      +
      +
      + <%= __('Activated') %> + +