-
-
Notifications
You must be signed in to change notification settings - Fork 123
/
job-form.html
239 lines (226 loc) · 8.01 KB
/
job-form.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
---
layout: default
title: Submit a Job
permalink: /job-form/
---
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<h1>Submit a Job</h1>
<p class="lead">If you work on a <a href="#floss" title="Free as in Speech (and maybe Beer)">Free/Libre and Open Source<sup>*</sup></a> project and you need
some design help, let the Open Source Design community know that you are looking
for design contributions or to hire a designer. Your posting will be displayed on our <a
href="/jobs/">jobs page</a>.</p>
<p class="lead"><a href="https://opensourcedesign.net/code-of-conduct/">We have a code of conduct</a>. Please read it before submitting your job.</p>
<form method="POST" action="https://osd-staticman.herokuapp.com/v2/entry/opensourcedesign/jobs/master/jobs">
<input name="options[redirect]" type="hidden" value="https://opensourcedesign.net/jobs/thank-you/">
<input name="fields[status]" type="hidden" value="searching">
<input name="fields[date_posted]" type="hidden">
<input name="fields[layout]" type="hidden" value="jobs">
<input name="options[slug]" type="hidden" id="slug" value="">
<!--div class="form-group">
<label for="role">Role</label>
<p class="help-block">The type of designer you are looking for. You could use one of these: graphic designer, icon designer, interaction designer, information architect, user researcher, content strategist, accessibility expert.</p>
<input type="text" class="form-control" id="role" placeholder="E.g. Graphic designer" required>
</div-->
<fieldset>
<legend>About your project</legend>
<div class="form-group">
<label for="organization">Project name</label>
<input type="text"
class="form-control"
id="organization"
placeholder="Acme Projects"
name="fields[organization]"
required>
</div>
<div class="form-group">
<label for="org_url">Project website</label>
<input type="url"
class="form-control"
id="org_url"
placeholder="https://acmeprojects.org"
name="fields[org_url]"
required>
</div>
</fieldset>
<fieldset>
<legend>About the job</legend>
<div class="form-group">
<label for="title">Post title</label>
<p class="help-block">This will be the main heading in your job's page. Make it specific, but not too long.</p>
<input type="text"
class="form-control"
id="title"
placeholder="Design review of our app"
name="fields[title]"
required>
</div>
<div class="form-group">
<label for="role">Job category</label>
<input type="text"
class="form-control"
id="role"
placeholder="'Logo design & branding', 'Web design', 'Interaction design', 'Usability review & research', …"
name="fields[role]"
required>
</div>
<div class="form-group">
<label>Compensation</label>
<div class="radio">
<label>
<input type="radio"
name="fields[compensation]"
id="gratis"
value="gratis"
checked>
Gratis – we are all volunteers
</label>
</div>
<div class="radio">
<label>
<input type="radio"
name="fields[compensation]"
id="paid"
value="paid">
Paid – yes, we can pay!
</label>
</div>
</div>
<div class="form-group">
<label for="paid_details">
How much can you pay?
<small>(optional)</small>
</label>
<p class="help-block">Give some information about the payment offered. Try to be specific. A fixed amount or a range are good. Avoid things like "competitive": they are not very informative.</p>
<input type="text"
class="form-control"
id="fields[paid_details]"
placeholder="USD 5000 fixed rate"
name="paid_details">
</div>
<div class="form-group">
<label for="description">Job description</label>
<p class="help-block">Start with a one-line introduction to your project, and then explain the design work needed.</p>
<textarea class="form-control"
id="description"
rows="5"
name="fields[description]"
placeholder="Acme Projects is a we need some design review of our mobile app …"
required></textarea>
<small>Markdown is okay</small>
</div>
<div class="form-group">
<label for="deliverables">
Deliverables
<small>(optional)</small>
</label>
<p class="help-block">If appropriate, list the things you expect the designer to deliver.</p>
<textarea class="form-control"
id="deliverables"
rows="3"
name="fields[deliverables]"
placeholder="A logo & a set of icons, or a usability review document"></textarea>
<small>Markdown is okay</small>
</div>
<div class="form-group">
<label for="how_to_apply">Contact person</label>
<p class="help-block">Who to contact to get involved with design. Please include some sort of personal handle who the designer can communicate with to get started out.</p>
<input class="form-control"
id="how_to_apply"
rows="3"
required
placeholder="Jane (lead dev) <[email protected]>"
name="fields[how_to_apply]">
<small>Markdown is okay</small>
</div>
<div class="form-group">
<p class="help-block"></p>
<input class="form-control"
id="github_handle"
rows="3"
placeholder="GitHub @username (optional)"
name="fields[github_handle]"/>
</div>
<div class="form-group">
<label for="links">
Relevant links
<small>(optional)</small>
</label>
<p class="help-block">Things like contribution page, existing design work, project wiki or blog, etc.</p>
<textarea class="form-control"
id="links"
rows="3"
name="fields[how_to_apply]"></textarea>
</div>
<div class="form-group">
<label for="tags">
Tags
<small>(optional)</small>
</label>
<p class="help-block">Keywords relevant to the job. Separate tags with commas.</p>
<textarea class="form-control"
id="tags"
rows="2"
placeholder="logo, branding, graphic design"
name="fields[tags]"></textarea>
</div>
</fieldset>
<button type="submit" href="thankyou.html" class="btn btn-primary btn-lg">Submit your job to Open Source Design</button>
</form>
<div id="floss">
<p class='help-block'>
<sup>*</sup> <em>“Free software”</em> means software that respects users' freedom and community.
Roughly, it means that the users have the freedom to run, copy, distribute, study,
change and improve the software. Thus, “free software” is a matter of liberty, not price.
To understand the concept, you should think of “free” as in “free speech,”
not as in “free beer”. We sometimes call it “libre software,”
borrowing the French or Spanish word for “free” as in freedom,
to show we do not mean the software is gratis.
(<a href="https://www.gnu.org/philosophy/free-sw.en.html" title="What is Free Software at GNU.org">more</a>)
</p>
</div>
</div>
</div>
</div>
<script src="/js/jquery.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script>
function compensation() {
if ( $("#gratis").is(":checked") ) {
$("#paid_details").parent().slideUp();
}
else {
$("#paid_details").parent().slideDown();
}
}
function slug (str) {
str = str.replace(/^\s+|\s+$/g, ''); // trim
str = str.toLowerCase();
// remove accents, swap ñ for n, etc
var from = "ãàáäâẽèéëêìíïîõòóöôùúüûñç·/_,:;";
var to = "aaaaaeeeeeiiiiooooouuuunc------";
for (var i=0, l=from.length ; i<l ; i++) {
str = str.replace(new RegExp(from.charAt(i), 'g'), to.charAt(i));
}
str = str.replace(/[^a-z0-9 -]/g, '') // remove invalid chars
.replace(/\s+/g, '-') // collapse whitespace and replace by -
.replace(/-+/g, '-'); // collapse dashes
return str;
}
$(document).ready(function() {
$('input#title').keyup(function (e) {
$('input#slug').val(slug(e.target.value));
});
compensation();
$("input:radio").click(function(){
compensation();
});
var date = new Date();
var day = ("0" + date.getDate()).slice(-2);
var month = ("0"+(date.getMonth()+1)).slice(-2);
var year = date.getFullYear();
var datestring = year + "-" + month + "-" + day;
$('[name="fields[date_posted]"]').val(datestring);
});
</script>