Skip to content
This repository
Newer
Older
100644 178 lines (142 sloc) 6.834 kb
cfa7bbe7 » Rik
2012-06-29 Turn the copyright notice into a l10n-ready string
1 {% set_lang_files "main" %}
a4be5a72 » craigcook
2012-06-13 Progress on a responsive fluid grid
2 <!doctype html>
5168f209 » icaaq
2012-07-04 Moves the os detection into the head-element and also moves the platf…
3 {# Note the "windows" class, without javascript platform-specific
4 assets default to windows #}
5 <html class="windows no-js" lang="{{ LANG }}" dir="{{ DIR }}">
a4be5a72 » craigcook
2012-06-13 Progress on a responsive fluid grid
6 <head>
7 <meta charset="utf-8">
78e38dc7 » craigcook
2012-06-14 Fluid images, meta viewport
8 <meta name="viewport" content="width=device-width, initial-scale=1">
a4be5a72 » craigcook
2012-06-13 Progress on a responsive fluid grid
9
10 <title>{% block page_title_prefix %}Mozilla — {% endblock %}{% block page_title %}{% endblock %}{% block page_title_suffix %} — mozilla.org{% endblock %}</title>
11
adc92bfc » craigcook
2012-06-22 Fixing botched merge
12 <link href="/tabzilla/media/css/tabzilla.css" rel="stylesheet">
a4be5a72 » craigcook
2012-06-13 Progress on a responsive fluid grid
13
14 <!--[if lte IE 8]>
7f2ff20c » craigcook
2012-06-22 Mobile overview page
15 <script src="{{ MEDIA_URL }}js/libs/html5shiv.js"></script>
a4be5a72 » craigcook
2012-06-13 Progress on a responsive fluid grid
16 <![endif]-->
17
18 {% block site_css %}
19 {{ css('responsive') }}
20 {% endblock %}
21
22 {% block extrahead %}{% endblock %}
23
dd5cc984 » sgarrity
2012-10-03 new favicon (Bug 702538)
24 {% block favicon %}<link rel="shortcut icon" href="{{ MEDIA_URL }}img/favicon.ico">{% endblock %}
a4be5a72 » craigcook
2012-06-13 Progress on a responsive fluid grid
25
26 {{ js('site') }}
5168f209 » icaaq
2012-07-04 Moves the os detection into the head-element and also moves the platf…
27 </head>
28
cc1b7c32 » Rik
2012-08-30 Put latest Firefox data in the HTML to query it from JS
29 <body id="{% block body_id %}{% endblock %}" class="html-{{ DIR }} {% block body_class %}{% endblock %}"{% block body_attrs %}{% endblock %}>
a4be5a72 » craigcook
2012-06-13 Progress on a responsive fluid grid
30 <div id="outer-wrapper">
31 <div id="wrapper">
32
33 {% block site_header %}
34 <header id="masthead">
35 <a href="http://www.mozilla.org/" id="tabzilla">{{ _('Mozilla') }}</a>
36
37 {% block site_header_nav %}
0db078d3 » icaaq
2012-09-27 Removed role="menubar/menuitemmenu" from the templates
38 <nav id="nav-main" role="navigation">
3ffcc867 » gauthierm
2012-06-25 Responsive menu JavaScript.
39 <span class="toggle" role="button" aria-controls="nav-main-menu" tabindex="0">{{_('Menu')}}</span>
0db078d3 » icaaq
2012-09-27 Removed role="menubar/menuitemmenu" from the templates
40 <ul id="nav-main-menu">
41 <li class="first"><a href="{{ url('mozorg.mission') }}">{{_('Mission')}}</a></li>
42 <li><a href="{{ url('mozorg.about') }}">{{_('About')}}</a></li>
43 <li><a href="{{ url('mozorg.products') }}">{{_('Products')}}</a></li>
44 <li class="last"><a href="{{ url('mozorg.contribute') }}">{{_('Get Involved')}}</a></li>
ae7cd33c » craigcook
2012-06-19 Menu progress
45 </ul>
a4be5a72 » craigcook
2012-06-13 Progress on a responsive fluid grid
46 </nav>
47 {% endblock %}
48
49 {% block site_header_logo %}
50 <h2><a href="{{ url('mozorg.home') }}"><img src="/media/img/sandstone/header-mozilla-stone.png" alt="mozilla"></a></h2>
51 {% endblock %}
52
53 {% block breadcrumbs %}{% endblock %}
54
55 </header>
56 {% endblock %}
57
5bca5a50 » craigcook
2012-09-06 About page
58 {% block mosaic %}{% endblock %}
59
a4be5a72 » craigcook
2012-06-13 Progress on a responsive fluid grid
60 {% block content %}{% endblock %}
61
62 {% block email_form %}
cb1cb0bf » pascalchevrel
2012-08-16 Remove newsletter form for non 'en'-locales
63 {% if LANG.startswith('en') %}
ede8656d » Rik
2012-07-25 Bug 775406 - Enable newsletter signup on pages with default email block
64 {% if not request.newsletter_success %}
65 {% if request.newsletter_form.errors %}
a4be5a72 » craigcook
2012-06-13 Progress on a responsive fluid grid
66 <div id="footer-email-errors">
ede8656d » Rik
2012-07-25 Bug 775406 - Enable newsletter signup on pages with default email block
67 {{ request.newsletter_form.non_field_errors()|safe }}
a4be5a72 » craigcook
2012-06-13 Progress on a responsive fluid grid
68
69 <ul class="errorlist">
ede8656d » Rik
2012-07-25 Bug 775406 - Enable newsletter signup on pages with default email block
70 {% if request.newsletter_form.email.errors %}
a4be5a72 » craigcook
2012-06-13 Progress on a responsive fluid grid
71 <li>{{_('Please enter a valid email address')}}</li>
72 {% endif %}
73
fcdc18b7 » Rik
2012-08-01 Bug 775406 - Validate the newsletter id
74 {% if request.newsletter_form.newsletter.errors %}
75 <li>{{ request.newsletter_form.newsletter.errors }}</li>
76 {% endif %}
77
ede8656d » Rik
2012-07-25 Bug 775406 - Enable newsletter signup on pages with default email block
78 {% if request.newsletter_form.privacy.errors %}
a4be5a72 » craigcook
2012-06-13 Progress on a responsive fluid grid
79 <li>{{_('You must agree to the privacy policy')}}</li>
80 {% endif %}
81 </ul>
82 </div>
83 {% endif %}
84
ede8656d » Rik
2012-07-25 Bug 775406 - Enable newsletter signup on pages with default email block
85 <form class="billboard{% if request.newsletter_form.errors %} has-errors{% endif%}"
c1cdc576 » jpetto
2012-08-29 added WebTrends handler to newsletter form in base responsive template
86 id="footer-email-form" action="#footer-email-form" method="post"
87 onsubmit="dcsMultiTrack('DCS.dcsuri','/signmeup.button','WT.ti','Sign%20Me%20Up','WT.dl','26');">
a4be5a72 » craigcook
2012-06-13 Progress on a responsive fluid grid
88 <input type="hidden" name="newsletter-footer" value="Y" />
89 <input type="hidden" name="newsletter"
90 value="{% block email_form_newsletter %}mozilla-and-you{% endblock %}" />
91
92 <h3>{% block email_form_title %}{{_('Get Firefox news')}}{% endblock %}</h3>
93
94 <div class="form-contents">
ede8656d » Rik
2012-07-25 Bug 775406 - Enable newsletter signup on pages with default email block
95 <div class="field field-email {% if request.newsletter_form.email.errors %}field-error{% endif %}">
96 {{ field_with_attrs(request.newsletter_form.email, placeholder=_('YOUR EMAIL HERE'))|safe }}
a4be5a72 » craigcook
2012-06-13 Progress on a responsive fluid grid
97 </div>
98
99 <div id="form-details">
100 <div class="field field-format">
ede8656d » Rik
2012-07-25 Bug 775406 - Enable newsletter signup on pages with default email block
101 {{ request.newsletter_form.fmt|safe }}
a4be5a72 » craigcook
2012-06-13 Progress on a responsive fluid grid
102 </div>
ede8656d » Rik
2012-07-25 Bug 775406 - Enable newsletter signup on pages with default email block
103 <div class="field field-privacy {% if request.newsletter_form.privacy.errors%}field-error{% endif %}">
104 {{ request.newsletter_form.privacy|safe }}
a4be5a72 » craigcook
2012-06-13 Progress on a responsive fluid grid
105 </div>
106 </div>
107 </div>
108
109 <div class="form-submit">
a408f06e » sgarrity
2012-08-27 Forms page for styleguide and update forms styles throughout
110 <input type="submit" id="footer_email_submit" value="Sign me up »" class="button">
a4be5a72 » craigcook
2012-06-13 Progress on a responsive fluid grid
111 <p class="form-details"><small>{{_('We will only send you Mozilla-related information.')}}</small></p>
112 </div>
113
114 </form>
115 {% else %}
116 <div id="footer-email-form" class="thank billboard">
117 <h3>{{_('Thank you for signing up!')}}</h3>
118 </div>
119 {% endif %}
cb1cb0bf » pascalchevrel
2012-08-16 Remove newsletter form for non 'en'-locales
120 {% endif %}
a4be5a72 » craigcook
2012-06-13 Progress on a responsive fluid grid
121 {% endblock %}
122
cb1cb0bf » pascalchevrel
2012-08-16 Remove newsletter form for non 'en'-locales
123 </div><!-- close #wrapper -->
a4be5a72 » craigcook
2012-06-13 Progress on a responsive fluid grid
124
125 {% block site_footer %}
126 <footer id="colophon">
127 <div class="row">
128
f6154cca » craigcook
2012-06-14 More progress
129 <div class="footer-logo">
130 <a href="{{ php_url('/') }}"><img src="{{ media('img/sandstone/footer-mozilla.png') }}" alt="mozilla"></a>
a4be5a72 » craigcook
2012-06-13 Progress on a responsive fluid grid
131 </div>
132
f6154cca » craigcook
2012-06-14 More progress
133 <div class="footer-license">
a4be5a72 » craigcook
2012-06-13 Progress on a responsive fluid grid
134 <p>
ede8656d » Rik
2012-07-25 Bug 775406 - Enable newsletter signup on pages with default email block
135 {% trans url='/foundation/licensing/website-content.html' %}
136 Portions of this content are ©1998–{{ current_year }} by individual
a4be5a72 » craigcook
2012-06-13 Progress on a responsive fluid grid
137 mozilla.org contributors. Content available under
ede8656d » Rik
2012-07-25 Bug 775406 - Enable newsletter signup on pages with default email block
138 a <a href="{{ url }}">Creative Commons license</a>.
139 {% endtrans %}
a4be5a72 » craigcook
2012-06-13 Progress on a responsive fluid grid
140 </p>
141 <p>
142 <a href="{{ url('mozorg.contribute_page') }}">{{_('Contribute to this page')}}</a>
143 </p>
144 </div>
03a49db8 » icaaq
2012-07-02 fixes bug 752869 - remove nav-element from footer
145 <ul class="footer-nav">
146 <li><a href="{{ php_url('/about/contact.html#map-mountain_view') }}">{{_('Contact Us')}}</a></li>
147 <li><a href="{{ php_url('/privacy-policy.html') }}">{{_('Privacy Policy')}}</a></li>
148 <li><a href="{{ php_url('/about/legal.html') }}">{{_('Legal Notices')}}</a></li>
149 <li><a href="{{ php_url('/legal/fraud-report/index.html') }}">{{_('Report Trademark Abuse')}}</a></li>
150 </ul>
a4be5a72 » craigcook
2012-06-13 Progress on a responsive fluid grid
151
152 {% block social %}
03a49db8 » icaaq
2012-07-02 fixes bug 752869 - remove nav-element from footer
153 <ul class="footer-nav">
154 <li><a href="http://twitter.com/firefox">{{_('Twitter')}}</a></li>
155 <li><a href="http://facebook.com/Firefox">{{_('Facebook')}}</a></li>
156 <li><a href="https://affiliates.mozilla.org/">{{_('Firefox Affiliates')}}</a></li>
157 </ul>
a4be5a72 » craigcook
2012-06-13 Progress on a responsive fluid grid
158 {% endblock %}
159
160 </div>
161 </footer>
162 {% endblock %}
163
27a4121f » craigcook
2012-06-18 Fixing tabzilla URLs (relative for moz.org)
164 <script src="/tabzilla/media/js/tabzilla.js"></script>
a4be5a72 » craigcook
2012-06-13 Progress on a responsive fluid grid
165 </div><!-- close #outer-wrapper -->
166
167 {% block site_js %}
168 {{ js('common') }}
169 {% endblock %}
170 {% block js %}{% endblock %}
171
172 {% block webtrends %}
173 {% include "includes/webtrends.html" %}
174 {% endblock %}
5bca5a50 » craigcook
2012-09-06 About page
175
cb1cb0bf » pascalchevrel
2012-08-16 Remove newsletter form for non 'en'-locales
176
a4be5a72 » craigcook
2012-06-13 Progress on a responsive fluid grid
177 </body>
178 </html>
Something went wrong with that request. Please try again.