Fix #3124 shield study 3: firefox guide study 1 (#3176)

This commit is contained in:
Christopher Grebs 2016-07-26 21:02:01 +02:00 коммит произвёл GitHub
Родитель 7275ed7dcb
Коммит d84690ebb2
6 изменённых файлов: 129 добавлений и 1 удалений

Просмотреть файл

@ -0,0 +1,61 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- 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/. -->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml hasBrowserHandlers="true">
<head>
<meta charset="utf-8" />
<title>A Smarter Firefox</title>
<link rel="stylesheet" href="{{ STATIC_URL }}css/shield_study_3/main.css" type="text/css" />
</head>
<body>
<div class="container">
<div class="title-container">
<h1 class="title">A Smarter Firefox</h1>
<a href=https://addons.mozilla.org/firefox/downloads/latest/firefox-guide/><button class="button primary large">Start Now</button></a>
<!-- <button class="button primary">Enable A Smarter Firefox</button> -->
</div>
<div class="content"><p>Mozilla wants to know if having a Firefox experience tailored to the way you use the internet makes browsing the web more enjoyable. Participating in this study will help us find out!</p>
<h2 id="what-will-happen-next">What will happen next</h2>
<p><strong>If you agree</strong> to participate:</p>
<ol>
<li>We install <strong>Firefox Guide</strong>, an add-on that will make the Firefox browser more personal to your usage patterns.</li>
<li>Continue using Firefox as you normally would. After a few days, you might see notifications about Firefox features.</li>
<li>After 30 days, the study will end on its own. Your Firefox will go back to normal.</li>
<li>We will ask you to fill out a quick <strong>optional survey</strong> to tell us about your experience. The survey should take less than 5 minutes to complete.</li>
</ol>
<h2 id="leaving-the-study">Leaving the study</h2>
<p>The study will expire on its own in 30 days. You may leave the study early. To do so, follow these steps:</p>
<ol>
<li>Type <code>about:addons</code> into the location bar, and press enter.</li>
<li>Find <code>Firefox Guide Study 1</code> in the <strong>extensions</strong> list pane.</li>
<li>Click the <code>remove</code> button.</li>
<li>If you opt out of the study early we will ask you to fill out a survey. Were interested in hearing about your experience, even if you didnt participate in the entire study.</li>
</ol>
<p>Opting out of a study does not prevent you from participating in future studies.</p>
<h2 id="your-privacy">Your privacy</h2>
<p>Our studies collect a basic set of data, such as your daily usage, information about when you install or uninstall the addon, and your responses to optional follow-up surveys.</p>
<p>In addition, here are the <strong>key things you should know</strong> about what is happening when you participate in this study:</p>
<ul>
<li><strong>We collect basic usage data</strong> about your interaction with the experimental add-on, such as how you interact with the recommendations we make.</li>
<li><strong>We collect data on what Firefox features you use</strong>, to provide a personalized Firefox experience. This includes your installed add-ons, preferences, and keyboard shortcuts.</li>
<li>We also recommend features to you based on popular websites you visit. <strong>Your browsing data remains on your computer</strong> and will not be collected on our servers.</li>
</ul>
<p>Learn more about the <a href="https://github.com/raymak/contextualfeaturerecommender/wiki/CFR-Study:-Firefox-Guide-Study-1">data collected for this study</a>.</p>
<h2 id="you-help-make-firefox-better">You help make Firefox better</h2>
<p>At Mozilla, we pride ourselves on building products for you, the user! Thats 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.</p>
<p>By participating in this study, you will help us make better decisions on your behalf and directly shape the future of Firefox.</p>
<h2 id="who-made-this">Who made this</h2>
<p>Firefox Strategy and Insights team</p>
<ul>
<li>Kamyar Ardekani</li>
<li>Gregg Lind</li>
<li>Matt Grimes</li>
</ul>
</div>
</div>
</body>
</html>

Просмотреть файл

@ -13,7 +13,7 @@ class TestPages(TestCase):
def test_status(self):
pages = ['pages.about', 'pages.credits', 'pages.faq',
'pages.acr_firstrun', 'pages.dev_faq', 'pages.review_guide',
'pages.sunbird']
'pages.sunbird', 'pages.shield_study_3']
for page in pages:
self._check(page, 200)

Просмотреть файл

@ -31,6 +31,10 @@ urlpatterns = patterns(
TemplateView.as_view(template_name='pages/review_guide.html'),
name='pages.review_guide'),
url('^shield_study_3$',
TemplateView.as_view(template_name='pages/shield_study_3.html'),
name='pages.shield_study_3'),
url('^pages/compatibility_firstrun$',
lambda r: perma_redirect(reverse('pages.acr_firstrun'))),
url('^pages/developer_faq$',

Просмотреть файл

@ -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_3/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;
}

Двоичные данные
static/img/shield_study_3/small-firefox-logo.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 6.1 KiB

Двоичные данные
static/img/shield_study_3/small-firefox-logo@2x.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 17 KiB