/
tour.html
203 lines (184 loc) · 9.5 KB
/
tour.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
{# 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/. #}
{% extends "firefox/base.html" %}
{% set_lang_files "firefox/australis/fx36_tour" %}
{% block extra_meta %}<meta name="robots" content="noindex">{% endblock %}
{#- This will appear as <meta property="og:title"> which can be used for social share -#}
{% block page_og_title %}
{{_('Choose the independent browser')}}
{% endblock %}
{#- This will appear as <meta property="og:description"> which can be used for social share -#}
{% block page_og_desc %}
{{_('Firefox is non-profit, non-corporate, non-compromised. Choosing Firefox isn’t just choosing a browser. It’s a vote for personal freedom.')}}
{% endblock %}
{#- Override <meta property="og:url"> for social share -#}
{% block page_og_url %}{{ url('firefox') }}{% endblock %}
{% block optimizely %}
{% if waffle.switch('firefox-tour-optimizely') %}
{% include 'includes/optimizely.html' %}
{% endif %}
{% endblock %}
{% block body_class %}sky{% endblock %}
{% block page_css %}
{% stylesheet 'firefox_tour' %}
{% endblock %}
{% block string_data %}
data-open="{{ _('Open tour') }}"
data-close="{{ _('Close tour') }}"
data-next="{{ _('Next') }}"
data-start="{{ _('Let’s go') }}"
data-later="{{ _('Not now') }}"
data-title="{{ _('Take a quick tour') }}"
data-text="{{ _('It’s the fastest, most flexible Firefox ever.') }}"
data-later-cta="{{ _('Take the tour to see what’s new') }}"
{# L10n: This is the label that represents tour step one of four #}
data-step1="{{ _('1/4') }}"
{# L10n: This is the label that represents tour step two of four #}
data-step2="{{ _('2/4') }}"
{# L10n: This is the label that represents tour step three of four #}
data-step3="{{ _('3/4') }}"
{# L10n: This is the label that represents tour step four of four #}
data-step4="{{ _('4/4') }}"
{% endblock %}
{% block site_header %}
<header id="masthead">
<div id="tabzilla">
<a href="{{ url('mozorg.home') }}" data-link-type="nav" data-link-name="tabzilla">Mozilla</a>
</div>
{% block site_header_nav %}{% endblock %}
{% block site_header_logo %}{% endblock %}
{% block breadcrumbs %}{% endblock %}
</header>
{% endblock %}
{% block content %}
<article id="tour-page" data-telemetry="australis-tour-firstrun-36-release-nav">
<header role="banner">
<div class="logo"></div>
<div class="stage">
<h1>{{ _('Welcome to Firefox') }}</h1>
<p>{{ _('Committed to you, your privacy and an open Web.') }}</p>
</div>
</header>
<noscript>
<p>{{ _('Please turn on JavaScript to display this page correctly.') }}</p>
</noscript>
<article class="promo">
<div class="promo-copy">
<h2>{{ _('Get to know Hello') }}</h2>
<p>{{ _('Firefox Hello is the easiest way to connect with friends and family for free over video.') }}</p>
<a id="learn-more" href="{{ url('firefox.hello') }}" class="button-flat" data-link-type="button" data-link-name="Learn more">{{ _('Learn more') }}</a>
<p id="powered-by">{{ _('Powered by %s')|format(high_res_img('firefox/hello/tef-logo.png', {'alt': 'Telefonica', 'width': '106', 'height': '29'})) }}</p>
</div>
<div class="promo-media">
{% include 'firefox/includes/hello-animation.html' %}
</div>
</article>
</article>
{{ email_newsletter_form() }}
<div id="ui-tour" tabindex="-1" aria-expanded="false">
<div class="cta">
<button type="button" aria-controls="ui-tour" data-button-name="Start browsing">{{ _('Start browsing') }}</button>
</div>
<div class="tour-tip"></div>
<div class="ui-tour-controls">
<button type="button" class="step prev" aria-controls="tour-steps tour-progress" data-button-name="Previous">{{ _('Previous') }}</button>
<button type="button" class="step next" aria-controls="tour-steps tour-progress" data-button-name="Next">{{ _('Next') }}</button>
<button type="button" class="close" aria-controls="tour-steps tour-progress" data-button-name="Close">{{ _('Close') }}</button>
</div>
<div class="tour-background">
<div class="tour-inner">
<div id="tour-progress" class="progress-step">
<div class="logo"></div>
<span class="step"></span>
<div class="progress" role="progressbar" aria-valuenow="1" aria-valuemin="1" aria-valuemax="4">
<span class="indicator"></span>
</div>
</div>
<ul id="tour-steps" class="ui-tour-list">
<li class="tour-step current app-menu visible" data-step="1" data-tip-next="{{ _('<span>Next:</span> Firefox Hello') }}">
<div class="tour-item">
{# L10n: <br> tag below used for formatting only. #}
<h2 class="tour-highlight step-target" data-target="appMenu" data-effect="wobble">
{{ _('It starts with the new,<br> intuitive menu') }}
</h2>
<ul>
<li>{{ _('The features you use most, all in one place') }}</li>
<li>{{ _('Grouped together for quick, easy access') }}</li>
<li><a href="#" role="button" class="more" data-link-type="button" data-link-name="Connect with anyone over video">{{ _('Connect with anyone over video right from Firefox') }}</a></li>
</ul>
</div>
{{ high_res_img('firefox/australis/diag-menu-bar.jpg', {'alt': _('The features you use most, all in one place'), 'width': '300', 'height': '188'}) }}
</li>
<li class="tour-step" data-step="2" data-tip-prev="{{ _('<span>Previous:</span> Menu') }}" data-tip-next="{{ _('<span>Next:</span> Search') }}">
<div class="tour-item">
<h2 class="tour-show-hello-panel step-target">
{{ _('Get to know Firefox Hello') }}
</h2>
<ul>
<li>{{ _('Connect over video with anyone, anywhere') }}</li>
<li>{{ _('It’s free! No account, sign-in or downloads required') }}</li>
<li><a href="#" role="button" class="more" data-link-type="button" data-link-name="Choose how you want to search">{{ _('Choose how you want to search') }}</a></li>
</ul>
</div>
{{ high_res_img('firefox/australis/hello-1.png', {'alt': _('Connect with anyone over video right from Firefox'), 'width': '240', 'height': '178', 'id': 'hello-img-1'}) }}
</li>
<li class="tour-step" data-step="3" data-tip-prev="{{ _('<span>Previous:</span> Firefox Hello') }}" data-tip-next="{{ _('<span>Next:</span> Bookmarks') }}">
<div class="tour-item">
{# L10n: <br> tag below used for formatting only. #}
<h2 class="tour-highlight step-target" data-target="searchIcon" data-effect="wobble">
{{ _('Introducing a smarter <br>way to search') }}
</h2>
<ul>
<li>{{ _('Search suggestions appear as you type') }}</li>
<li>{{ _('Choose the right site for every search') }}</li>
<li><a href="#" role="button" class="more" data-link-type="button" data-link-name="Use the star to create bookmarks">{{ _('Use the star to create bookmarks') }}</a></li>
</ul>
</div>
{{ high_res_img('firefox/australis/diag-search.jpg', {'alt': _('Search suggestions appear as you type'), 'width': '300', 'height': '188'}) }}
</li>
<li class="tour-step" data-step="4" data-tip-prev="{{ _('<span>Previous:</span> Search') }}">
<div class="tour-item">
{# L10n: <br> tag below used for formatting only. #}
<h2 class="tour-highlight step-target" data-target="bookmarks" data-effect="wobble">
{{ _('Your favorite sites<br> are closer than ever') }}
</h2>
<ul>
<li>{{ _('Add and view bookmarks from the same spot') }}</li>
<li>{{ _('Save sites with a single click') }}</li>
</ul>
</div>
{{ high_res_img('firefox/australis/diag-bookmarks.jpg', {'alt': _('Use the star to create bookmarks'), 'width': '300', 'height': '188'}) }}
</li>
</ul>
<div class="compact-title"></div>
<div class="tour-init" data-target="appMenu" data-icon="{{ static('img/firefox/australis/logo.png') }}" data-icon-high-res="{{ static('img/firefox/australis/logo-high-res.png') }}"></div>
</div>
</div>
</div>
<div id="ui-tour-mask" tabindex="-1">
<div class="mask-inner">
<div class="logo"></div>
<div class="stage">
<h1>{{ _('Welcome to Firefox') }}</h1>
<p>{{ _('Committed to you, your privacy and an open Web.') }}</p>
</div>
</div>
</div>
{% endblock %}
{% block email_form %}{% endblock %}
{% block site_footer %}
<footer role="contentinfo">
<ul>
<li><a href="{{ url('firefox.desktop.index') }}" class="more" data-link-type="footer" data-link-name="Firefox Features">{{ _('Firefox Features') }}</a></li>
<li><a href="https://support.mozilla.org/products/firefox" class="more" data-link-type="footer" data-link-name="Firefox Help">{{ _('Firefox Help') }}</a></li>
</ul>
<ul>
<li><a href="{{ url('legal.index') }}" data-link-type="footer" data-link-name="Legal">{{ _('Legal') }}</a></li>
<li><a href="{{ url('privacy') }}" data-link-type="footer" data-link-name="Privacy">{{ _('Privacy') }}</a></li>
</ul>
</footer>
{% endblock %}
{% block js %}
{% javascript 'firefox_tour' %}
{% endblock %}