-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathforms-output-style-minified.pug
432 lines (396 loc) · 19.3 KB
/
forms-output-style-minified.pug
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
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
extend __LAYOUT-TEMPLATE.pug
block vars
- var pageTitle = "Forms"
block content
h1!= pageTitle
.grid-container
.grid-x.grid-padding-x
.small-12.cell
form(data-abide novalidate)
.alert.callout.small(data-abide-error, style="display: none;")
p
i.report-problem-triangle
| There are some errors in your form.
.grid-x.grid-padding-x.align-center.expanded
.small-12.cell
label
| Number Required
input(type="text", placeholder="1234", aria-describedby="exampleHelpText", required, pattern="number")
span.form-error
| Yo, you had better fill this out, it's required.
p#exampleHelpText.help-text Here's how you use this input field!
.small-12.cell
label
| Nothing Required!
input(type="text", placeholder="Use me, or don't", aria-describedby="exampleHelpTex", data-abide-ignore="")
p#exampleHelpTex.help-text This input is ignored by Abide using `data-abide-ignore`
.small-12.cell
label
| Password Required
input#password(type="password", placeholder="yeti4preZ", aria-describedby="exampleHelpText", required)
span.form-error
| I'm required!
p#exampleHelpText.help-text Enter a password please.
.small-12.cell
label
| Re-enter Password
input(type="password", placeholder="yeti4preZ", aria-describedby="exampleHelpText2", required, pattern="alpha_numeric", data-equalto="password")
span.form-error
| Hey, passwords are supposed to match!
p#exampleHelpText2.help-text
| This field is using the `data-equalto="password"` attribute, causing it to match the password field above.
.grid-x.grid-padding-x.align-center.expanded
.medium-4.cell
label
| URL Pattern
input(type="text", placeholder="http://foundation.zurb.com", pattern="url")
.medium-4.cell
label
| Standard Dropdown
select#select(data-placeholder="Select", required)
option(value="volvo") Volvo
option(value="saab") Saab
option(value="mercedes") Mercedes
option(value="audi") Audi
.medium-4.cell
label
| Select2 Dropdown
select#select.select2(data-placeholder="Select", required)
option(value="volvo") Volvo
option(value="saab") Saab
option(value="mercedes") Mercedes
option(value="audi") Audi
.grid-x.grid-padding-x.align-center.expanded.medium-up-3
.cell.cell-block
h6.small-m0 Radios that are required
label(for="validationRadio01")
input#validationRadio01.radio(type="radio", name="pokemon", value="Red")
| Red
label(for="validationRadio02")
input#validationRadio02.radio(type="radio", name="pokemon", value="Blue", required)
| Blue
label(for="validationRadio03")
input#validationRadio03.radio(type="radio", name="pokemon", value="Yellow")
| Yellow
.cell.cell-block
h6.small-m0 Radios that are not required
label(for="validationRadio04")
input#validationRadio04.radio(type="radio", name="pockets", value="Red")
| Red
label(for="validationRadio05")
input#validationRadio05.radio(type="radio", name="pockets", value="Blue")
| Blue
label(for="validationRadio06")
input#validationRadio06.radio(type="radio", name="pockets", value="Yellow")
| Yellow
.cell.cell-block
h6.small-m0 Checkboxes that are not required
label(for="validationRadio07")
input#validationRadio07.checkbox(type="checkbox")
| Checkbox 1
label(for="validationRadio08")
input#validationRadio08.checkbox(type="checkbox")
| Checkbox 2
label(for="validationRadio09")
input#validationRadio09.checkbox(type="checkbox")
| Checkbox 3
.cell.cell-block
h6 Switch, default
.switch.tiny
input#exampleSwitch01.switch-input(type="checkbox", name="exampleSwitch01")
label.switch-paddle(for="exampleSwitch01")
span.show-for-sr Switch
.switch.small
input#exampleSwitch02.switch-input(type="checkbox", name="exampleSwitch02")
label.switch-paddle(for="exampleSwitch02")
span.show-for-sr Switch
.switch
input#exampleSwitch03.switch-input(type="checkbox", name="exampleSwitch03")
label.switch-paddle(for="exampleSwitch03")
span.show-for-sr Switch
.switch.large
input#exampleSwitch04.switch-input(type="checkbox", name="exampleSwitch04")
label.switch-paddle(for="exampleSwitch04")
span.show-for-sr Switch
.cell.cell-block
h6 Switch, round
.flex-container.align-middle
.switch.rounded.tiny.small-mr-half
input#exampleSwitch05.switch-input(type="checkbox", name="exampleSwitch05")
label.switch-paddle(for="exampleSwitch05")
span.show-for-sr Switch
p Switch
.flex-container.align-middle
.switch.rounded.small.small-mr-half
input#exampleSwitch06.switch-input(type="checkbox", name="exampleSwitch06")
label.switch-paddle(for="exampleSwitch06")
span.show-for-sr Switch
p Switch
.flex-container.align-middle
.switch.rounded.small-mr-half
input#exampleSwitch07.switch-input(type="checkbox", name="exampleSwitch07")
label.switch-paddle(for="exampleSwitch07")
span.show-for-sr Switch
p Switch
.flex-container.align-middle
.switch.rounded.large.small-mr-half
input#exampleSwitch08.switch-input(type="checkbox", name="exampleSwitch08")
label.switch-paddle(for="exampleSwitch08")
span.show-for-sr Switch
p Switch
.grid-x.grid-padding-x.align-center.expanded.small-pt4
button.button.large.small-px4(type="submit", value="Submit") Submit
.grid-x.grid-padding-x.align-center.expanded
button.button.small(type="reset", value="Reset") Reset
hr
.grid-container
.grid-x.grid-padding-x
.cell
h3 Float Label Form, Dark Background
//- =============================================================================================
//-
//- ██████ ██████ ███ ██ ████████ █████ ██████ ████████ ███████ ██████ ██████ ███ ███
//- ██ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ████
//- ██ ██ ██ ██ ██ ██ ██ ███████ ██ ██ █████ ██ ██ ██████ ██ ████ ██
//- ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
//- ██████ ██████ ██ ████ ██ ██ ██ ██████ ██ ██ ██████ ██ ██ ██ ██
//-
//- =============================================================================================
.small-py3(data-interchange="[images/form_bg.jpg, small], [images/form_bg.jpg, medium], [images/form_bg.jpg, large]" style="background-size: cover; background-repeat: none; background-attachment: fixed;")
.grid-container
form(data-abide novalidate).white
.grid-x.grid-padding-x
.cell.text-white.text-center
h3.text-white CONTINUE THE CONVERSATION
p Cognizant Community Event Office Cognizant Community Event OfficeCognizant Community Event Office:
a.text-white(href="javascript:void(0)") [email protected]
.grid-x.grid-padding-x.cell
.alert.callout.small(data-abide-error, style="display: none;")
p
i.report-problem-triangle
| There are some errors in your form.
.grid-x.grid-padding-x.small-up-1.medium-up-2
.cell.small-pb1
label.has-float-label
input(type="text" placeholder="John Smith" required)
span Full Name
span.form-error
| Field error
.cell.small-pb1
label.has-float-label
input(type="email" placeholder="[email protected]" required)
span Email
span.form-error
| Field error
.cell.small-pb1
label.has-float-label
input(type="text" placeholder="Your Company")
span Organziation
.cell.small-pb1
label.has-float-label
input(type="tel" placeholder="1-800-123-4567" pattern="number" required)
span Contact Number
span.form-error
| Field error
.cell.small-pb1
label.has-float-label
select(type="text" placeholder="Where are you located?" required)
option Location 01
option Location 02
option Location 03
option Location 04
span Region
span.form-error
| Field error
.cell.small-pb1
label.has-float-label
select(type="text" placeholder="How can we help you?" required)
option Inquiry Type 01
option Inquiry Type 02
option Inquiry Type 03
option Inquiry Type 04
span Inquiry Type
span.form-error
| Field error
.cell.small-pb1
label.has-float-label
select(type="text" placeholder="How can we help you?" required)
option Sub-Inquiry Type 01
option Sub-Inquiry Type 02
option Sub-Inquiry Type 03
option Sub-Inquiry Type 04
span Sub-Inquiry Type
span.form-error
| Field error
.grid-x.grid-padding-x
.cell.text-white
label.has-float-label
textarea(rows="3", cols="15" placeholder="Your message…" required)
span Message
span.form-error
| Field error
.text-center
button.button.arrow(type="submit" value="Submit") SUBMIT
hr
.grid-x.grid-padding-x
.cell
h3 Float Label Form, Light Background
//- =============================================================================================
//-
//- ██████ ██████ ███ ██ ████████ █████ ██████ ████████ ███████ ██████ ██████ ███ ███
//- ██ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ████
//- ██ ██ ██ ██ ██ ██ ██ ███████ ██ ██ █████ ██ ██ ██████ ██ ████ ██
//- ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
//- ██████ ██████ ██ ████ ██ ██ ██ ██████ ██ ██ ██████ ██ ██ ██ ██
//-
//- =============================================================================================
.grid-container
form(data-abide novalidate).small-py3
.grid-x.grid-padding-x
.cell.text-center
h3 CONTINUE THE CONVERSATION
p Cognizant Community Event Office Cognizant Community Event OfficeCognizant Community Event Office:
a(href="javascript:void(0)") [email protected]
.grid-x.grid-padding-x.cell
.alert.callout.small(data-abide-error, style="display: none;")
p
i.report-problem-triangle
| There are some errors in your form.
.grid-x.grid-padding-x.small-up-1.medium-up-2
.cell.small-pb1
label.has-float-label
input(type="text" placeholder="John Smith" required)
span Full Name
span.form-error
| Field error
.cell.small-pb1
label.has-float-label
input(type="email" placeholder="[email protected]" required)
span Email
span.form-error
| Field error
.cell.small-pb1
label.has-float-label
input(type="text" placeholder="Abc Company")
span Organziation
.cell.small-pb1
label.has-float-label
input(type="text" placeholder="Abc Title")
span Title
.cell.small-pb1
label.has-float-label
input(type="text" placeholder="Abc Department")
span Department
.cell.small-pb1
label.has-float-label
input(type="tel" placeholder="8888 8888" pattern="dashes_only" required)
span Contact Number
span.form-error
| Field error
.cell.small-pb1
label.has-float-label
select(type="text" placeholder="Where are you located?" required)
option Location 01
option Location 02
option Location 03
option Location 04
span Region
span.form-error
| Field error
.cell.small-pb1
label.has-float-label
select(type="text" placeholder="How can we help you?" required)
option Inquiry Type 01
option Inquiry Type 02
option Inquiry Type 03
option Inquiry Type 04
span Inquiry Type
span.form-error
| Field error
.cell.small-pb1
label.has-float-label
select(type="text" placeholder="How can we help you?")
option Sub-Inquiry Type 01
option Sub-Inquiry Type 02
option Sub-Inquiry Type 03
option Sub-Inquiry Type 04
span Sub-Inquiry Type
.grid-x.grid-padding-x
.cell
label.has-float-label
textarea(rows="3", cols="15" placeholder="How can we help you?" required)
span How can we help you?
span.form-error
| Field error
.text-center
button.button.arrow(type="submit" value="Submit") SUBMIT
hr
.grid-container
.grid-x.grid-padding-x
.cell
h3 2 column Float Label Form, Light Background
//- =============================================================================================
//-
//- ██████ ██████ ███ ██ ████████ █████ ██████ ████████ ███████ ██████ ██████ ███ ███
//- ██ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ████
//- ██ ██ ██ ██ ██ ██ ██ ███████ ██ ██ █████ ██ ██ ██████ ██ ████ ██
//- ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
//- ██████ ██████ ██ ████ ██ ██ ██ ██████ ██ ██ ██████ ██ ██ ██ ██
//-
//- =============================================================================================
.small-py3
.grid-container
.grid-x.grid-padding-x
.cell.text-center
h3 CONTACT COGNIZANT
.grid-container
.grid-x.grid-padding-x
.small-12.medium-6.cell
h5.text-blue SEND A MESSAGE
form(data-abide novalidate)
.alert.callout.small(data-abide-error, style="display: none;")
p
i.report-problem-triangle
| There are some errors in your form.
label.has-float-label
input(type="text" placeholder="John Smith" required)
span Name
span.form-error
| Field error
label.has-float-label
input(type="email" placeholder="[email protected]" required)
span Email
span.form-error
| Field error
label.has-float-label
input(type="text" placeholder="Abc Company")
span Organziation
label.has-float-label
input(type="text" placeholder="Abc Title")
span Title
label.has-float-label
input(type="text" placeholder="Abc Department")
span Department
label.has-float-label
input(type="tel" placeholder="8888 8888" pattern="dashes_only" required)
span Contact Number
span.form-error
| Field error
label.has-float-label
select(type="text" placeholder="Where are you located?" required)
option Select a country
option Location 02
option Location 03
option Location 04
span.form-error
| Field error
label.has-float-label
textarea(rows="3", cols="15" placeholder="How can we help you?" required)
span How can we help you?
span.form-error
| Field error
.text-center
button.button.arrow(type="submit" value="Submit") SUBMIT
.small-12.medium-6.cell
h5.text-blue CONTACT COGNIZANT CAREERS
p If you are interested in an opportunity with Cognizant, please visit our #[a(href="#") Careers] page or visit the Cognizant Careers #[a(href="#") FAQs].