/
desktop-base.html
61 lines (52 loc) · 2.36 KB
/
desktop-base.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
{# 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-resp.html" %}
{% block page_title_prefix %}{% endblock %}
{% block page_title %}{% endblock %}
{% block body_id %}firefox-desktop{% endblock %}
{% block body_class %}firefox-desktop{% endblock %}
{% block extrahead %}
<script src="{{ static('js/libs/modernizr.custom.cssanimations.js') }}"></script>
{% endblock %}
{% block site_header %}
<header id="masthead">
<div class="container">
<a href="{{ url('mozorg.home') }}" id="tabzilla" data-infobar="{{ settings.TABZILLA_INFOBAR_OPTIONS }}">Mozilla</a>
<div id="masthead-logo-nav">
{% block site_header_logo %}
<a id="site-header-logo" href="{{ url('firefox.desktop.index') }}">{{ high_res_img('img/firefox/desktop/firefox-header.png', {'alt': 'Firefox', 'width': '132', 'height': '49'}) }}</a>
{% endblock %}
{% block site_header_nav %}
<nav id="nav-main" role="navigation">
<span class="toggle" role="button" aria-controls="nav-main-menu" aria-expanded="false" tabindex="0">{{_('Menu')}}</span>
<ul id="nav-main-menu">
<li class="first"><a id="nav-main-trust" href="{{ url('firefox.desktop.trust') }}">{{ _('Trusted') }}</a></li>
<li><a id="nav-main-customize" href="{{ url('firefox.desktop.customize') }}">{{ _('Flexible') }}</a></li>
<li class="last"><a id="nav-main-fast" href="{{ url('firefox.desktop.fast') }}">{{ _('Fast') }}</a></li>
</ul>
</nav>
{% endblock %}
{% block site_header_download_button %}
<a href="{{ url('firefox.new') }}" class="button button-green" id="masthead-download-firefox">{{ _('Download') }}</a>
{% endblock %}
</div>
</div>
</header>
{% endblock %}
{% block content %}{% endblock %}
{% block email_form %}
<div id="subscribe-download-wrapper" class="ga-section" data-ga-label="Get Firefox news">
<div class="container">
<div id="subscribe-wrapper">
{{ email_newsletter_form(title=_('Get Firefox news')) }}
</div>
<div id="download-wrapper">
{{ download_firefox() }}
</div>
</div>
</div>
{% endblock %}
{% block js %}
{% javascript 'firefox_desktop_common' %}
{% endblock %}