-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprofiles.html
More file actions
548 lines (448 loc) · 23.1 KB
/
Copy pathprofiles.html
File metadata and controls
548 lines (448 loc) · 23.1 KB
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
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
<!--
Project: BD Job Autofill
Module: Profiles Page
Purpose: Full-page UI for creating, editing, and deleting saved profiles
(e.g. self, sister) used as autofill data sources, including
Teletalk-specific fields.
Author: Lead Engineer
Version: 1.4.0
Dependencies: profiles.css, profiles.js
Last Updated: 2026-07-06
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Manage Profiles — BD Job Autofill</title>
<link rel="stylesheet" href="profiles.css" />
</head>
<body>
<main class="page" role="main">
<header class="page__header">
<h1 class="page__title">Manage Profiles</h1>
<button id="new-profile-btn" class="button button--primary" type="button">New Profile</button>
</header>
<section class="page__layout">
<aside class="profile-list" aria-label="Saved profiles">
<ul id="profile-list" class="profile-list__items"></ul>
<p id="profile-list-empty" class="profile-list__empty" hidden>No profiles yet. Create one to get started.</p>
<div class="import-panel" aria-label="Import profile data">
<p class="import-panel__title">Start from existing data</p>
<label class="field import-panel__field">
<span class="field__label">Copy from a saved profile</span>
<select id="copy-from-profile-select">
<option value="">Select a profile…</option>
</select>
</label>
<button type="button" id="copy-from-profile-btn" class="button button--secondary">Copy as New Profile</button>
<label class="field import-panel__field">
<span class="field__label">Or upload a profile JSON file</span>
<input type="file" id="import-json-input" accept="application/json,.json" />
</label>
<button type="button" id="import-json-btn" class="button button--secondary" disabled>Import JSON as New Profile</button>
<p id="import-status" class="form-status" role="status" aria-live="polite"></p>
<button type="button" id="export-json-btn" class="button button--secondary import-panel__export" hidden>Download Selected as JSON</button>
<!-- Sample Profile section -->
<hr style="border-top: 1px solid var(--color-border); margin: var(--spacing-md) 0;" />
<p class="import-panel__title">Sample Profile</p>
<div style="display: flex; gap: var(--spacing-sm); flex-wrap: wrap;">
<button type="button" id="load-sample-btn" class="button button--secondary">Load Sample Profile</button>
<button type="button" id="show-sample-json-btn" class="button button--secondary">Show Sample JSON</button>
</div>
<pre id="sample-json-display" style="display:none; background: #f8fafc; padding: var(--spacing-md); border-radius: var(--radius); font-size: 12px; max-height: 300px; overflow: auto; margin-top: var(--spacing-sm);"></pre>
<p id="sample-status" class="form-status" role="status" aria-live="polite"></p>
</div>
</aside>
<section class="profile-form-wrapper" aria-label="Profile editor">
<form id="profile-form" class="profile-form" novalidate hidden>
<input type="hidden" id="profile-id" />
<fieldset class="profile-form__fieldset">
<legend>Basic Information</legend>
<label class="field">
<span class="field__label">Profile Label (e.g. "Me", "Sister")</span>
<input type="text" id="field-name" name="name" required autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Full Name (English)</span>
<input type="text" id="field-fullName" name="fullName" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Full Name (বাংলা)</span>
<input type="text" id="field-nameBn" name="nameBn" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Father's Name (English)</span>
<input type="text" id="field-fatherName" name="fatherName" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Father's Name (বাংলা)</span>
<input type="text" id="field-fatherBn" name="fatherBn" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Mother's Name (English)</span>
<input type="text" id="field-motherName" name="motherName" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Mother's Name (বাংলা)</span>
<input type="text" id="field-motherBn" name="motherBn" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Date of Birth</span>
<input type="date" id="field-dateOfBirth" name="dateOfBirth" />
</label>
<label class="field">
<span class="field__label">Gender</span>
<select id="field-gender" name="gender">
<option value="">Select</option>
<option value="Male">Male</option>
<option value="Female">Female</option>
<option value="Other">Other</option>
</select>
</label>
<label class="field">
<span class="field__label">Nationality</span>
<input type="text" id="field-nationality" name="nationality" autocomplete="off" value="Bangladeshi" />
</label>
<label class="field">
<span class="field__label">Religion</span>
<input type="text" id="field-religion" name="religion" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Marital Status</span>
<select id="field-maritalStatus" name="maritalStatus">
<option value="">Select</option>
<option value="Unmarried">Unmarried</option>
<option value="Married">Married</option>
</select>
</label>
<label class="field">
<span class="field__label">Spouse Name (if married)</span>
<input type="text" id="field-spouseName" name="spouseName" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Blood Group</span>
<select id="field-bloodGroup" name="bloodGroup">
<option value="">Select</option>
<option value="A+">A+</option>
<option value="A-">A-</option>
<option value="B+">B+</option>
<option value="B-">B-</option>
<option value="AB+">AB+</option>
<option value="AB-">AB-</option>
<option value="O+">O+</option>
<option value="O-">O-</option>
</select>
</label>
</fieldset>
<fieldset class="profile-form__fieldset">
<legend>Identification</legend>
<label class="field">
<span class="field__label">NID Type</span>
<select id="field-nidType" name="nidType">
<option value="">Select</option>
<option value="NID">NID</option>
<option value="Online NID Application Slip">Online NID Application Slip</option>
<option value="Not Available">Not Available</option>
</select>
</label>
<label class="field">
<span class="field__label">NID Number</span>
<input type="text" id="field-nidNo" name="nidNo" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Birth Registration Number</span>
<input type="text" id="field-birthRegNo" name="birthRegNo" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Passport Number (optional)</span>
<input type="text" id="field-passportNo" name="passportNo" autocomplete="off" />
</label>
</fieldset>
<fieldset class="profile-form__fieldset">
<legend>Contact</legend>
<label class="field">
<span class="field__label">Mobile Number</span>
<input type="tel" id="field-mobile" name="mobile" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Confirm Mobile Number</span>
<input type="tel" id="field-mobileConfirm" name="mobileConfirm" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Email</span>
<input type="email" id="field-email" name="email" autocomplete="off" />
</label>
</fieldset>
<fieldset class="profile-form__fieldset">
<legend>Quota & Department</legend>
<label class="field">
<span class="field__label">Quota</span>
<input type="text" id="field-quota" name="quota" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Quota Details</span>
<input type="text" id="field-quotaDetails" name="quotaDetails" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Departmental Candidate Status</span>
<input type="text" id="field-depStatus" name="depStatus" autocomplete="off" placeholder="e.g. Govt. Employee, Other" />
</label>
</fieldset>
<fieldset class="profile-form__fieldset">
<legend>Present Address</legend>
<label class="field">
<span class="field__label">Care Of</span>
<input type="text" id="field-presentCareOf" name="presentCareOf" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Village / Road / House</span>
<textarea id="field-presentAddress" name="presentAddress" rows="2"></textarea>
</label>
<label class="field">
<span class="field__label">District</span>
<input type="text" id="field-presentDistrict" name="presentDistrict" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Upazila</span>
<input type="text" id="field-presentUpazila" name="presentUpazila" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Post Office</span>
<input type="text" id="field-presentPost" name="presentPost" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Post Code</span>
<input type="text" id="field-presentPostcode" name="presentPostcode" autocomplete="off" />
</label>
</fieldset>
<fieldset class="profile-form__fieldset">
<legend>Permanent Address</legend>
<label class="field field--checkbox">
<input type="checkbox" id="field-sameAsPresent" name="sameAsPresent" />
<span class="field__label">Same as present address</span>
</label>
<label class="field">
<span class="field__label">Care Of</span>
<input type="text" id="field-permanentCareOf" name="permanentCareOf" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Village / Road / House</span>
<textarea id="field-permanentAddress" name="permanentAddress" rows="2"></textarea>
</label>
<label class="field">
<span class="field__label">District</span>
<input type="text" id="field-permanentDistrict" name="permanentDistrict" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Upazila</span>
<input type="text" id="field-permanentUpazila" name="permanentUpazila" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Post Office</span>
<input type="text" id="field-permanentPost" name="permanentPost" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Post Code</span>
<input type="text" id="field-permanentPostcode" name="permanentPostcode" autocomplete="off" />
</label>
</fieldset>
<fieldset class="profile-form__fieldset">
<legend>Father's Occupation</legend>
<label class="field">
<span class="field__label">Occupation</span>
<input type="text" id="field-fatherOccupation" name="fatherOccupation" autocomplete="off" />
</label>
</fieldset>
<fieldset class="profile-form__fieldset">
<legend>SSC / Equivalent</legend>
<label class="field">
<span class="field__label">Exam</span>
<input type="text" id="field-sscExam" name="sscExam" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Roll Number</span>
<input type="text" id="field-sscRoll" name="sscRoll" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Group</span>
<input type="text" id="field-sscGroup" name="sscGroup" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Group (Other, if applicable)</span>
<input type="text" id="field-sscGroupOther" name="sscGroupOther" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Board</span>
<input type="text" id="field-sscBoard" name="sscBoard" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Board (Other, if applicable)</span>
<input type="text" id="field-sscBoardOther" name="sscBoardOther" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Result Type</span>
<select id="field-sscResultType" name="sscResultType">
<option value="">Select</option>
<option value="GPA">GPA</option>
<option value="Division">Division</option>
</select>
</label>
<label class="field">
<span class="field__label">Result (GPA)</span>
<input type="text" id="field-sscResult" name="sscResult" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Passing Year</span>
<input type="text" id="field-sscYear" name="sscYear" autocomplete="off" />
</label>
</fieldset>
<fieldset class="profile-form__fieldset">
<legend>HSC / Equivalent</legend>
<label class="field">
<span class="field__label">Exam</span>
<input type="text" id="field-hscExam" name="hscExam" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Roll Number</span>
<input type="text" id="field-hscRoll" name="hscRoll" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Group</span>
<input type="text" id="field-hscGroup" name="hscGroup" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Group (Other, if applicable)</span>
<input type="text" id="field-hscGroupOther" name="hscGroupOther" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Board</span>
<input type="text" id="field-hscBoard" name="hscBoard" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Board (Other, if applicable)</span>
<input type="text" id="field-hscBoardOther" name="hscBoardOther" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Result Type</span>
<select id="field-hscResultType" name="hscResultType">
<option value="">Select</option>
<option value="GPA">GPA</option>
<option value="Division">Division</option>
</select>
</label>
<label class="field">
<span class="field__label">Result (GPA)</span>
<input type="text" id="field-hscResult" name="hscResult" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Passing Year</span>
<input type="text" id="field-hscYear" name="hscYear" autocomplete="off" />
</label>
</fieldset>
<fieldset class="profile-form__fieldset">
<legend>Graduation / Equivalent Level</legend>
<label class="field">
<span class="field__label">Examination</span>
<input type="text" id="field-graExam" name="graExam" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">University / Institution</span>
<input type="text" id="field-graInstitute" name="graInstitute" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Subject / Degree</span>
<input type="text" id="field-graSubject" name="graSubject" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Result Type</span>
<input type="text" id="field-graResultType" name="graResultType" autocomplete="off" placeholder="e.g., CGPA(out of 4)" />
</label>
<label class="field">
<span class="field__label">Result (GPA/CGPA)</span>
<input type="text" id="field-graResult" name="graResult" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Passing Year</span>
<input type="text" id="field-graYear" name="graYear" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Course Duration</span>
<input type="text" id="field-graDuration" name="graDuration" autocomplete="off" placeholder="e.g., 04" />
</label>
<label class="field">
<span class="field__label">If Applicable (check to mark Graduation as completed on the application form)</span>
<input type="text" id="field-bachelor" name="bachelor" autocomplete="off" placeholder="e.g., Yes, or leave blank if not applicable" />
</label>
</fieldset>
<fieldset class="profile-form__fieldset">
<legend>Masters / Equivalent Level</legend>
<label class="field">
<span class="field__label">Examination</span>
<input type="text" id="field-masExam" name="masExam" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">University / Institution</span>
<input type="text" id="field-masInstitute" name="masInstitute" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Subject / Degree</span>
<input type="text" id="field-masSubject" name="masSubject" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Result Type</span>
<input type="text" id="field-masResultType" name="masResultType" autocomplete="off" placeholder="e.g., CGPA(out of 4)" />
</label>
<label class="field">
<span class="field__label">Result (GPA/CGPA)</span>
<input type="text" id="field-masResult" name="masResult" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Passing Year</span>
<input type="text" id="field-masYear" name="masYear" autocomplete="off" />
</label>
<label class="field">
<span class="field__label">Course Duration</span>
<input type="text" id="field-masDuration" name="masDuration" autocomplete="off" placeholder="e.g., 01" />
</label>
<label class="field">
<span class="field__label">If Applicable (check to mark Masters as completed on the application form)</span>
<input type="text" id="field-master" name="master" autocomplete="off" placeholder="e.g., Yes, or leave blank if not applicable" />
</label>
</fieldset>
<fieldset class="profile-form__fieldset">
<legend>Other Qualifications & Experiences</legend>
<label class="field">
<span class="field__label">
Do you have efficiencies and experience in Word Processing, Email on Computer, operating Fax machine, etc.?
</span>
<select id="field-experienceComputer" name="experienceComputer">
<option value="">Select</option>
<option value="Yes">Yes</option>
<option value="No">No</option>
</select>
</label>
<label class="field">
<span class="field__label">
Do you have minimum computer typing speed of 20 words in English and 20 words in Bangla per minute?
</span>
<select id="field-experienceSatlipi" name="experienceSatlipi">
<option value="">Select</option>
<option value="Yes">Yes</option>
<option value="No">No</option>
</select>
</label>
</fieldset>
<div class="profile-form__actions">
<button type="submit" class="button button--primary">Save Profile</button>
<button type="button" id="delete-profile-btn" class="button button--danger">Delete Profile</button>
</div>
<p id="form-status" class="form-status" role="status" aria-live="polite"></p>
</form>
<p id="form-empty-hint" class="form-empty-hint">Select a profile or create a new one to begin editing.</p>
</section>
</section>
</main>
<script src="profiles.js" type="module"></script>
</body>
</html>