diff --git a/src/olympia/pages/templates/pages/shield_study_12.html b/src/olympia/pages/templates/pages/shield_study_12.html new file mode 100644 index 0000000000..3d9dfd2ce5 --- /dev/null +++ b/src/olympia/pages/templates/pages/shield_study_12.html @@ -0,0 +1,66 @@ + + + + + + + New Tab Enhancement + + + +
+
+

New Tab Enhancement

+ +
+

Mozilla wants to know if we can make the new tab page more useful for finding and recovering sites you’ve visited in the past. Participating in this study will help us find out!

+

What will happen next

+

If you agree to participate:

+
    +
  1. We will add additional functionality to the new tab page.
  2. +
  3. Continue using Firefox as you normally would. You may not notice any changes immediately.
  4. +
  5. After 14 days, the study will end on its own. Your Firefox will go back to normal.
  6. +
  7. We will ask you to fill out a quick optional survey to tell us about your experience. The survey should take less than 5 minutes to complete.
  8. +
+

Leaving the study

+

The study will expire on its own in 14 days. You may leave the study early. To do so, follow these steps:

+
    +
  1. Type about:addons into the location bar, and press enter.
  2. +
  3. Find New Tab Enhancement Shield Study in the extensions list pane.
  4. +
  5. Click the remove button.
  6. +
  7. If you opt out of the study early we will ask you to fill out a survey. We’re interested in hearing about your experience, even if you didn’t participate in the entire study.
  8. +
+

Opting out of a study does not prevent you from participating in future studies.

+

Your privacy

+

All Shield Studies

+

Every Shield Study collects data about important study events, such as install, uninstall, daily usage, and end of study. Studies also include an optional survey.

+

This data is associated with Firefox Telemetry collection.

+

This Particular Study

+

In addition to the data collected by all Shield Studies and your voluntary answers to the followup survey, here are the key things you should know about what is happening when you participate in this study:

+ +

You can learn more about the data collection for this study on our Data Events document.

+

You help make Firefox better

+

At Mozilla, we pride ourselves on building products for you, the user! That’s why we need your help. You help us by letting us observe how you use new features and by telling us your opinions about them.

+

By participating in this study, you will help us make better decisions on your behalf and directly shape the future of Firefox.

+

Brought to you by

+ +
+
+ + diff --git a/src/olympia/pages/tests.py b/src/olympia/pages/tests.py index 997bfa6787..0d5a20e12f 100644 --- a/src/olympia/pages/tests.py +++ b/src/olympia/pages/tests.py @@ -18,7 +18,7 @@ class TestPages(TestCase): 'pages.shield_study_5', 'pages.shield_study_6', 'pages.shield_study_7', 'pages.shield_study_8', 'pages.shield_study_9', 'pages.shield_study_10', - 'pages.shield_study_11'] + 'pages.shield_study_11', 'pages.shield_study_12'] for page in pages: self._check(page, 200) diff --git a/src/olympia/pages/urls.py b/src/olympia/pages/urls.py index 391df535b0..ae95b873e3 100644 --- a/src/olympia/pages/urls.py +++ b/src/olympia/pages/urls.py @@ -60,6 +60,9 @@ urlpatterns = [ url('^shield_study_11$', TemplateView.as_view(template_name='pages/shield_study_11.html'), name='pages.shield_study_11'), + url('^shield_study_12$', + TemplateView.as_view(template_name='pages/shield_study_12.html'), + name='pages.shield_study_12'), url('^pages/compatibility_firstrun$', lambda r: perma_redirect(reverse('pages.acr_firstrun'))), diff --git a/static/css/shield_study_12/main.css b/static/css/shield_study_12/main.css new file mode 100644 index 0000000000..01347f3dcb --- /dev/null +++ b/static/css/shield_study_12/main.css @@ -0,0 +1,63 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +@import url("chrome://global/skin/in-content/common.css"); + +html { + height: 100%; +} + +body { + align-items: stretch; + display: flex; + justify-content: center; + min-height: 100%; +} + +.container { + margin: 10vh 0; + max-width: 920px; + padding: 0 10px; +} + +.title-container { + align-items: center; + border-bottom: 1px solid var(--in-content-box-border-color); + display: flex; + margin-bottom: .5em; + padding-bottom: 1em; + position: relative; +} + +.title { + flex: 1; + margin-bottom: 0; +} + +.title::before { + background: url('../../img/shield_study_12/small-firefox-logo@2x.png') no-repeat left center; + background-size: 57px 59px; + content: ''; + display: block; + height: 59px; + left: -2.3em; + position: absolute; + top: 0; + width: 57px; +} + +.button { + height: 40px; + margin: 0; + padding: 0 15px; +} + +/* issues/4 */ +code { + background-color: rgba(0,0,0,.1); +} + +pre > code { + display: block; +} diff --git a/static/img/shield_study_12/small-firefox-logo.png b/static/img/shield_study_12/small-firefox-logo.png new file mode 100644 index 0000000000..507c2eb0b3 Binary files /dev/null and b/static/img/shield_study_12/small-firefox-logo.png differ diff --git a/static/img/shield_study_12/small-firefox-logo@2x.png b/static/img/shield_study_12/small-firefox-logo@2x.png new file mode 100644 index 0000000000..1cc58a85fb Binary files /dev/null and b/static/img/shield_study_12/small-firefox-logo@2x.png differ