summaryrefslogtreecommitdiffstats
path: root/extensions/BMO/template/en/default/bug/create/create-intern.html.tmpl
blob: 9c04abc7e18b1a77ece3e149e9ae3ed16d0c440d (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
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
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
[%# 1.0@bugzilla.org %]
[%# 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 Bugzilla Bug Tracking System.
  #
  # The Initial Developer of the Original Code is Mozilla Corporation.
  # Portions created by Mozilla are Copyright (C) 2008 Mozilla
  # Corporation. All Rights Reserved.
  #
  # Contributor(s): Mark Smith <mark@mozilla.com>
  #                 Reed Loden <reed@mozilla.com>
  #%]

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

[% inline_style = BLOCK %]
#heading {
  width:       98%;
  font-size:   2em;
  font-weight: bold;
  margin:      10px;
}
p {
  max-width: 40%;
}
label.required:before {
  content: "* ";
  color: red;
}
.required_star {
  color: red;
}
.row label {
  display: block;
}
.row {
  padding-bottom: 10px;
}
[% END %]

[% inline_javascript = BLOCK %]
$(document).ready(function() {
  $("#calironto").change(function() {
    var v = $(this).val();
    if (v == "" || v == "Yes") {
      $("#other_location").removeAttr("required");
      $("label[for='other_location']").removeClass("required");
      $("#other_location_row").hide();
    }
    else {
      $("#other_location").attr("required", true);
      $("label[for='other_location']").addClass("required");
      $("#other_location_row").show();
    }
  }).change();
  $("#business_need").change(function() {
    var v = $(this).val();
    if (v === "Other") {
      $("#business_need_elaborate").prop("disabled", false).show();
    }
    else {
      $("#business_need_elaborate").prop("disabled", true).hide();
    }
  });
  $("#internForm").on("submit", function() {
    var name = $("#name").val();
    $("#short_desc").val("Intern Request: " + encodeURIComponent(name));
  });
});
[% END %]

[% PROCESS global/header.html.tmpl
   title              = "Mozilla Corporation Intern Requests"
   generate_api_token = 1
   style_urls         = [ 'skins/standard/attachment.css' ]
   javascript_urls    = []
   style              = inline_style
   javascript         = inline_javascript
%]

[% IF !user.in_group("mozilla-employee-confidential")
      && !user.in_group("mozilla-messaging-confidential")
      && !user.in_group("mozilla-foundation-confidential") %]
  <p>Sorry, you do not have access to this page.</p>
  [% RETURN %]
[% END %]

<div id="heading">Intern Requests</div>
<div>
  <p>
    Applications for 2016 Interns are now being accepted. If you would
    like to request an intern for 2016 the application deadline is August
    28, 2015, as recruiting begins September 2015. <em>Please submit a [% terms.bug %] for
    each individual intern you would like even if the descriptions are the same</em>.
    Applying for an intern is not a guarantee that you will be granted an intern
    this time around. All applications will be considered and reviewed by the
    University Team, your Human Resource Business Partner, and ultimately approved
    at the VP level.
  </p>

  <p>
    Interns will be allotted based on the need for level 1 and 2 growth on your
    team, business need, budget, and location support.
  </p>

  <form method="post" action="post_bug.cgi" id="internForm">
    <input type="hidden" id="short_desc" name="short_desc" value="">
    <input type="hidden" name="product" value="Recruiting">
    <input type="hidden" name="component" value="Intern">
    <input type="hidden" name="rep_platform" value="All">
    <input type="hidden" name="op_sys" value="Other">
    <input type="hidden" name="version" value="unspecified">
    <input type="hidden" name="priority" value="--">
    <input type="hidden" name="bug_severity" value="normal">
    <input type="hidden" name="format" value="intern">
    <input type="hidden" name="created-format" value="intern">
    <input type="hidden" name="token" value="[% token FILTER html %]">
    <input type="hidden" id="description" name="description" value="Job Description">
    <input type="hidden" name="contenttypemethod" value="autodetect" />
    [% IF user.in_group('canconfirm') %]
      <input type="hidden" name="bug_status" value="NEW">
    [% END %]

    <div class="row">
      <label class="required" for="hiring_manager_name">Hiring Manager Name</label>
      <input required name="hiring_manager_name" id="hiring_manager_name" size="60" >
    </div>

    <div class="row">
      <label class="required" for="team_name">Team</label>
      <input required name="team_name" id="team_name" size="60" >
    </div>

    <div class="row">
      <label class="required" for="cost_center">Cost Center</label>
      [% PROCESS "bug/create/cost-centers.none.tmpl" %]
      <select required id="cost_center" name="cost_center">
        <option value="">Select..</option>
        [% FOREACH cost_center IN cost_centers %]
          <option value="[% cost_center FILTER html %]">[% cost_center FILTER html %]</option>
        [% END %]
      </select>
    </div>

    <div class="row">
      <label class="required" for="vp_authority">VP Authority</label>
      <select required id="vp_authority" name="vp_authority">
        <option value="">Select..</option>
        [% INCLUDE "bug/create/vp-authority.html.tmpl" %]
      </select>
    </div>

    <div class="row">
      <label class="required" for="product_line">Product Line</label>
      <select required id="product_line" name="product_line">
        <option value="">Select..</option>
        <option value="Firefox">Firefox</option>
        <option value="Firefox OS">Firefox OS</option>
        <option value="Firefox for Android">Firefox for Android</option>
        <option value="Content Services">Content Services</option>
        <option value="Cloud Services">Cloud Services</option>
        <option value="Legal">Legal</option>
        <option value="Engagement">Engagement</option>
        <option value="IT">IT</option>
        <option value="Office of the CTO">Office of The CTO</option>
        <option value="Platform">Platform</option>
        <option value="Product Management">Product Management</option>
        <option value="Marketplace">Marketplace</option>
        <option value="Other">Other</option>
      </select>
    </div>

    <div class="row">
      <label class="required" for="level_1_or_2">
        Do you have a need for a level 1 or level 2 hire (entry level/new grad/JR
        role) to your team in the next year?
      </label>
      [% INCLUDE yesno name = "level_1_or_2" %]
    </div>

    <div class="row">
      <label class="required" for="calironto">
        Are you located in a California or Toronto office?
      </label>
      [% INCLUDE yesno name = "calironto" %]
    </div>

    <div class="row" id="other_location_row">
      <label class="required" for="other_location">
        If not where are you located?
      </label>
      <input required name="other_location" id="other_location" size="60">
    </div>

    <div class="row">
      <label class="required" for="onsite">
        Will you have onsite Mentorship for your intern in 2016?
      </label>
      [% INCLUDE yesno name = "onsite" %]
    </div>
    <div class="row">
      <label for="possible_mentor">
        Possible Mentor?
      </label>
      <input name="possible_mentor" id="possible_mentor" size="60">
    </div>

    <div class="row">
      <label class="required" for="business_need">
        Business Need?
      </label>
      <select required id="business_need" name="business_need">
        <option value="">Select..</option>
        <option value="I have a need for a level 1 or 2 hire in the next year">
          I have a need for a level 1 or 2 hire in the next year</option>
        <option value="I have a short term project-based need that can wait until next Summer">
          I have a short term project-based need that can wait until next Summer</option>
        <option value="Other">Neither of these fit and I can elaborate</option>
      </select>
      <br>
      <textarea required disabled name="business_need_elaborate"
                id="business_need_elaborate" cols="80" rows="10"
                style="display:none;" placeholder="Elaborate on your business need"></textarea>
    </div>

    <div class="row">
      <label class="required" for="potential_project">
        Please describe your potential project
      </label>
      <input required name="potential_project" id="potential_project" size="60">
    </div>

    <div class="row">
      <label class="required" for="duration">
        What is the duration of the internship?
      </label>
      <select required id="duration" name="duration">
        <option value="">Select..</option>
        <option value="3 months">3 months</option>
        <option value="6 months">6 months</option>
        <option value="> 6 months">&gt; 6 months</option>
      </select>
    </div>

    <div class="row">
      <label class="required" for="job_description">
        Job Description
        (<a target="_blank" href="https://mana.mozilla.org/wiki/display/globalstaffing/Intern+Job+Descriptions">more info</a>)
      </label>
      <textarea required name="job_description"
                id="job_description" cols="80"  rows="10"
                placeholder="Please add link to Mana or copy and paste a JD. (if you are looking for multiple types interns please include a job description for each)"
      ></textarea>
    </div>

    <div class="row">
      <label class="required" for="would_hire">
        If my intern does exceptional work I would be willing to use headcount to hire them
      </label>
      [% INCLUDE yesno name = "would_hire" %]
    </div>

    <div class="row">
      <label class="required" for="would_reintern">
        I would like my past intern to return for another internship
      </label>
      [% INCLUDE yesno name = "would_reintern" %]
    </div>

    <div class="row">
      <label for="name">
        Name
      </label>
      <input name="name" id="name" size="60">
    </div>

    <input type="submit" id="commit" value="Submit Request">
    <p>
      [ <span class="required_star">*</span> <span class="required_explanation">
      Required Field</span> ]
    </p>
  </form>

  <p>Thanks for contacting us. You will be notified by email of any progress
    made in resolving your request.</p>
</div>

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

[% BLOCK yesno %]
    <select required id="[% name FILTER html %]" name="[% name FILTER html %]">
      <option value="">Select..</option>
      <option value="Yes">Yes</option>
      <option value="No">No</option>
    </select>
[% END %]