summaryrefslogtreecommitdiffstats
path: root/extensions/REMO/template/en/default/bug/create/create-mozreps.html.tmpl
blob: c0f382e933e22124d69a7c8bbdb233166a10b728 (plain)
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
[%# The contents of this file are subject to the Mozilla Public
  # License Version 1.1 (the "License"); you may not use this file
  # except in compliance with the License. You may obtain a copy of
  # the License at http://www.mozilla.org/MPL/
  #
  # Software distributed under the License is distributed on an "AS
  # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  # implied. See the License for the specific language governing
  # rights and limitations under the License.
  #
  # The Original Code is the REMO Bugzilla Extension.
  #
  # The Initial Developer of the Original Code is the Mozilla Foundation
  # Portions created by the Initial Developers are Copyright (C) 2011 the
  # Initial Developer. All Rights Reserved.
  #
  # Contributor(s): Byron Jones <glob@mozilla.com>
  #%]

[% PROCESS global/variables.none.tmpl %]

[% PROCESS global/header.html.tmpl
   title              = "Mozilla Reps - Application Form"
   generate_api_token = 1
   style_urls         = [ "extensions/REMO/web/styles/moz_reps.css" ]
   jquery             = []
   javascript_urls    = [ "extensions/REMO/web/js/moz_reps.js", "js/field.js", "js/util.js"]
%]

<noscript>
  <h1>Javascript is required to use this form.</h1>
</noscript>

<h1>Mozilla Reps - Application Form</h1>

<p>
  If you have questions while completing this form, please contact the
  <a href="mailto:reps-council@mozilla.org">Reps Council</a> for assistance.
</p>

<form method="post" action="post_bug.cgi" id="tmRequestForm">
  <input type="hidden" name="product" value="Mozilla Reps">
  <input type="hidden" name="component" value="Mentorship">
  <input type="hidden" name="bug_severity" value="normal">
  <input type="hidden" name="rep_platform" value="All">
  <input type="hidden" name="priority" value="--">
  <input type="hidden" name="op_sys" value="Other">
  <input type="hidden" name="version" value="unspecified">
  <input type="hidden" name="groups" value="mozilla-reps">
  <input type="hidden" name="format" value="[% format FILTER html %]">
  <input type="hidden" name="created-format" value="[% format FILTER html %]">
  <input type="hidden" name="comment" id="comment" value="">
  <input type="hidden" name="short_desc" id="short_desc" value="">
  <input type="hidden" name="groups" id="groups" value="mozilla-reps">
  <input type="hidden" name="groups" id="groups" value="mozilla-reps-admins">
  <input type="hidden" name="token" value="[% token FILTER html %]">

  <table id="reps-form">
    <tr class="odd">
      <th><label class="required" for="first_name">First Name:</label></th>
      <td><input requuired id="first_name" name="first_name" size="40" placeholder="John"></td>
    </tr>

    <tr class="even">
      <th><label class="required" for="last_name">Last Name:</label></th>
      <td><input id="last_name" name="last_name" size="40" placeholder="Doe"></td>
    </tr>

    <tr class="odd">
      <th><label for="underage">Are you under 18 years old?:</label></th>
      <td>
        <input type="checkbox" id="underage" name="underage" value="1"><br>
      </td>
    </tr>

    <tr id="underage_warning" class="odd" style="display: none">
      <td colspan="2">
        Mozilla Reps program is not currently accepting people under 18 years old.
        Sorry for the inconvenience. In the meantime please check with your local Mozilla
        group for other contribution opportunities
      </td>
    </tr>

    <tr class="even">
      <th><label class="required" for="gender">Gender:</label></th>
      <td>
        <select id="gender" name="gender">
          <option value=""></option>
          <option value="Male">Male</option>
          <option value="Female">Female</option>
          <option value="Other">Other</option>
        </select>
      </td>
    </tr>

    <tr class="odd">
      <th><label class="required" for="city">City:</label></th>
      <td><input id="city" name="city" size="40" placeholder="Your city"></td>
    </tr>

    <tr class="even">
      <th><label class="required" for="country">Country:</label></th>
      <td><input id="country" name="country" size="40" placeholder="Your country"></td>
    </tr>

    <tr class="odd">
      <th><label for="community">Local Community you participate in:</label></th>
      <td><input id="community" name="community" size="40" placeholder="Name of your community"></td>
    </tr>

    <tr class="even">
      <th><label for="im">IM (specify service):</label></th>
      <td><input id="im" name="im" size="40"></td>
    </tr>

    <tr class="odd">
      <th><label class="required" for="mozillian">Mozillians.org Account URL:</label></th>
      <td>
        <input type="url" id="mozillian" name="mozillian" size="40" placeholder="https://mozillians.org/u/name">
      </td>
    </tr>

    <tr class="even">
      <th colspan="2">
        <label class="required" for="cc">
          Mozilla contributors who vouch your application:
        </label>
      </th>
    </tr>

    <tr class="even">
      <td colspan="2">
        [% INCLUDE global/userselect.html.tmpl
           id       => "cc"
           name     => "cc"
           value    => cc
           size     => 60
           classes  => ["bz_userfield"]
           multiple => 5
        %]
      </td>
    </tr>

    <tr class="odd">
      <th colspan="2">
        <label class="required" for="involved">
          What are you currently doing at Mozilla?
        </label>
      </th>
    </tr>

    <tr class="odd">
      <td colspan="2">
        <textarea id="involved" name="involved" rows="4" placeholder="Add-ons,  l10n,  SUMO,  QA,  ..."></textarea>
      </td>
    </tr>

    <tr class="even">
      <th>
        <label class="required" for="firstcontribute">
          When did you first start contributing to Mozilla?
        </label>
      </th>
      <td><input id="firstcontribute" name="firstcontribute" size="40"></td>
    </tr>

    <tr class="odd">
      <th><label class="required" for="languages">Languages Spoken:</label></th>
      <td><input id="languages" name="languages" size="40"></td>
    </tr>

    <tr class="even">
      <th><label class="required" for="learn">How did you learn about Mozilla Reps?</label></th>
      <td><input id="learn" name="learn" size="40"></td>
    </tr>

    <tr class="odd">
      <th><label for="first_time">Is this the first time you have applied for Reps?</label></th>
      <td><input type="checkbox" id="first_time" name="first_time" value="1" checked></td>
    </tr>

    <tr id="prior_bug" class="odd" style="display: none">
      <th><label for="dependson">If you have already applied to the program in the past, please reference the [% terms.bug %] number: </label></th>
      <td><input id="dependson" name="dependson" type="text" value=""></td>
    </tr>

    <tr class="even">
      <th colspan="2">
        <label class="required" for="motivation">
          What motivates you most about joining Mozilla Reps?
        </label>
      </th>
    </tr>

    <tr class="even">
      <td colspan="2">
        <textarea id="motivation" name="motivation" rows="4"
                  placeholder="[% INCLUDE motivation_placeholder FILTER html %]"></textarea>
      </td>
    </tr>

    [% BLOCK motivation_placeholder -%]
      Tell us your goals and what you would be able to do as a Rep that you can't do right now
    [%- END %]

    <tr class="odd">
      <th colspan="2">
        <label for="comments">
          Comments:
        </label>
      </th>
    </tr>

    <tr class="odd">
      <td colspan="2"><textarea id="comments" name="comments" rows="4"></textarea></td>
    </tr>

    <tr class="even">
      <th>
        <label class="required" for="privacy">
          I have read the
          <a href="https://www.mozilla.org/privacy/" target="_blank">Mozilla Privacy Policy</a>:
        </label>
      </th>
      <td><input id="privacy" name="privacy" type="checkbox" value="1"></td>
    </tr>

    <tr class="odd">
      <td>&nbsp;</td>
      <td align="right">
        <button id="submit">Submit</button>
      </td>
    </tr>
  </table>
</form>

[% PROCESS global/footer.html.tmpl %]