This repository has been archived by the owner on Oct 28, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 104
/
base.html
281 lines (259 loc) · 9.8 KB
/
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
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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
<!DOCTYPE html>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if lt IE 7]>
<html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en">
<![endif]-->
<!--[if IE 7]>
<html class="no-js lt-ie9 lt-ie8" lang="en">
<![endif]-->
<!--[if IE 8]>
<html class="no-js lt-ie9" lang="en">
<![endif]-->
<!--[if gt IE 8]>
<!-->
<html lang="en">
<!--<![endif]-->
<head>
<meta charset="utf-8" />
<!-- Set the viewport width to device width for mobile -->
<meta name="viewport" content="width=device-width" />
<title>
{% block pagetitle %}Mozilla Reps{% endblock%}
</title>
<link rel="shortcut icon" href="{{ MEDIA_URL }}img/remo/shortcut.ico" />
<!-- Included CSS Files -->
<link rel="stylesheet" href="{{ MEDIA_URL }}css/remo/foundation.css">
<!--[if lt IE 9]>
<link rel="stylesheet" href="{{ MEDIA_URL }}css/remo/ie.css">
<![endif]-->
<!-- IE Fix for HTML5 Tags -->
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js">
</script>
<![endif]-->
{% block headextra %} {% endblock %}
<!-- our css is always last to override stuff -->
<link rel="stylesheet" href="{{ MEDIA_URL }}css/remo/app.css">
</head>
<body>
<!-- container -->
<div class="container">
<!-- Header -->
<header class="row">
<div class="twelve columns">
<!-- Sign In & Mozilla Tab -->
<div class="row">
<!-- Mozilla Tab -->
<div class="two columns phone-one push-three-phone push-ten" id="global-header-tab">
<a href="http://mozilla.org/">
<img src="{{ MEDIA_URL }}img/remo/mozilla-tab.png" alt="mozilla.org">
</a>
</div>
<!-- Sign In & Sign Out -->
<div class="ten columns phone-three pull-one-phone pull-two" id="login-box">
<ul>
<li class="account anonymous nomenu logout">
{% if not user.is_authenticated() %}
<a id="browserid" href="#">Sign In</a>
<form method="POST" action="{{ url('browserid_verify') }}">
{{ csrf() }} {{ browserid_form.as_p() }}
<input type="hidden" name="next" value="{{ request.get_full_path() }}" />
</form>
{% else %}
<a href="{{ url('profiles_view_my_profile') }}">
{{ user.get_full_name()|default('user.userprofile.display_name') }}
</a>
[<a href="{{ url('logout') }}">Sign out</a>]
{% endif %}
</li>
</ul>
</div>
</div>
<!-- Logo & Navigation -->
<div class="row">
<!-- Logo and Wordmark -->
<div class="four columns" id="logo-box">
<div class="row hide-on-phones">
<a href="{{ url('main') }}">
<img src="{{ MEDIA_URL }}img/remo/remo_logo_medium.png"
alt="Mozilla Reps logo">
<h3>mozilla reps</h3>
</a>
</div>
<div class="row show-on-phones">
<h2>mozilla reps mobile</h2>
</div>
</div>
<!-- Navigation -->
<div class="eight columns hide-on-phones" id="navigation-box">
<ul class="nav-bar">
<li>
<a href="{{ url('main') }}" class="main">Main</a>
</li>
<li>
<a href="{{ url('profiles_list_profiles') }}" class="main">People</a>
</li>
<li>
<a href="https://wiki.mozilla.org/ReMo/Events" class="main">Events</a>
</li>
<li>
<a href="#" class="main" data-reveal-id="labs-modal">Labs</a>
</li>
<li>
<a href="http://planet.mozillareps.org" class="main">Planet</a>
</li>
<li>
<a href="https://wiki.mozilla.org/ReMo" class="main">Wiki</a>
</li>
<li class="last">
<a href="#" class="main" data-reveal-id="join-modal">Join</a>
</li>
</ul>
</div>
<!-- Mobile Navigation -->
<div class="eight columns show-on-phones" id="navigation-box-mobile">
<ul class="nav-bar">
<li>
<a href="{{ url('main') }}" class="main">Main</a>
</li>
<li>
<a href="{{ url('profiles_list_profiles') }}" class="main">People</a>
</li>
<li>
<a href="https://wiki.mozilla.org/ReMo/Events" class="main">Events</a>
</li>
</ul>
</div>
</div>
</div>
</header>
<!-- Separator -->
<div class="row">
<hr>
</div>
<!-- Page Content -->
{% if messages %}
<div class="row">
{% for message in messages %}
<div class="alert-box {{ message.tags }}">
{{ message|safe }}
<a href="#" class="close">×</a>
</div>
{% endfor %}
</div>
{% endif %}
{% block content %}
{% endblock %}
<!-- Footer -->
<div id="footer" class="hide-on-phones">
<div class="row">
<hr />
</div>
<div id="footer-contents">
<div id="copyright">
<p id="footer-links">
<a href="http://www.mozilla.org/en-US/privacy-policy.html">Privacy Policy</a>
|
<a href="http://www.mozilla.org/en-US/about/legal.html">Legal Notices</a>
|
<a href="http://www.mozilla.org/en-US/legal/fraud-report/index.html">
Report Trademark Abuse
</a>
</p>
<p>
Except where otherwise
<a href="http://www.mozilla.org/en-US/about/legal.html#site">noted</a>,
content on this site is licensed under the
<br />
<a href="http://creativecommons.org/licenses/by-sa/3.0/">
Creative Commons Attribution Share-Alike License v3.0
</a> or any later version.
</p>
</div>
</div>
</div>
<!-- Join modal start -->
<div id="join-modal" class="reveal-modal">
<p class="lead">So, you wanna join us?</p>
<h2>Cool!</h2>
<p>
The Mozilla Reps program is open to all Mozillians who are 18 years
of age and above. Before you become a Mozilla Rep, you must
complete a short but rigorous application process in order to
demonstrate your interest in and motivation for joining the
program. Are you ready to take on the challenges and rewards
of advancing your leadership to the next level in Mozilla? If
your answer is YES, apply to become a Mozilla Rep today!
</p>
<p>
Not sure if you're ready for Mozilla Reps? There are many
other ways to take the lead in the Mozilla Community. If
you're a student, register for
the <a href="http://studentreps.mozilla.org">Student Reps
program</a> to gain experience leading projects at your
school. And all of our contributor opportunities are available
to you on the <a href="https://mozilla.org/contribute">Get
Involved homepage</a>.
</p>
<p>
The Mozilla Reps application process involves three simple
steps:
</p>
<ul>
<li>
<h4>Step 1</h4>
<p>Fill out and submit the
<a href="https://bugzilla.mozilla.org/form.reps.mentorship">
Mozilla Reps application form
</a>.
A Mozilla Rep mentor will be in touch within 24 hours.</p>
</li>
<li>
<h4>Step 2</h4>
<p>If your application is approved, you'll be invited to be
interviewed by a member of the advisory council over IRC or
IM that same week. The interview lasts about 15 minutes and
you will be asked some simple questions about yourself, your
experience contributing to the Mozilla project and, of
course, your motivation for becoming a MozRep.</p>
</li>
<li>
<h4>Step 3</h4>
<p>
If you're accepted into the Mozilla Reps program, your
mentor will get you started and familiar with the tools at
your disposal to start organizing events, requesting
budgets, swag, etc. And just like that, you could become a
Mozilla Rep!
</p>
</li>
</ul>
<p>Thanks for your interest in making the Web better with Mozilla!</p>
<a class="close-reveal-modal">×</a>
</div>
<!-- Join modal end -->
<!-- Labs Reveal Modal -->
<div id="labs-modal" class="reveal-modal">
<a class="close-reveal-modal">×</a>
<p class="lead">Reps is all about experimenting!</p>
<h2>Labs are coming...</h2>
<p>In this section of our site we will be developing, testing
and showcasing awesome new tools for Mozilla Reps.</p>
<p>Do you have what it takes to experiment and help us shape the
future of Mozilla Reps tools? Drop
by <a href="irc://irc.mozilla.org/remo-dev">#remo-dev</a> or
subscribe
to <a href="https://lists.mozilla.org/listinfo/reps-webdev">our
mailing list</a> to share your ideas and start hacking!</p>
</div>
<!-- Labs Reveal Modal End -->
<!-- Included JS Files -->
<script src="{{ MEDIA_URL }}js/modernizr.foundation.js"></script>
<script src="{{ MEDIA_URL }}js/foundation.js"></script>
<script src="https://browserid.org/include.js" type="text/javascript"></script>
<script src="{{ MEDIA_URL }}js/activate.browserid.js" type="text/javascript"></script>
{% block bottomextra %} {% endblock %}
<!-- Our app.js is always last to override stuff -->
<script src="{{ MEDIA_URL }}js/app.js"></script>
</body>
</html>