Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 11125 | Rev 11128 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 11125 Rev 11127
Línea 10... Línea 10...
10
$allowAdd = $acl->isAllowed($roleName, 'jobs/add') ? 1 : 0;
10
$allowAdd = $acl->isAllowed($roleName, 'jobs/add') ? 1 : 0;
11
$allowDelete = $acl->isAllowed($roleName, 'jobs/delete') ? 1 : 0;
11
$allowDelete = $acl->isAllowed($roleName, 'jobs/delete') ? 1 : 0;
12
$allowEdit = $acl->isAllowed($roleName, 'jobs/edit') ? 1 : 0;
12
$allowEdit = $acl->isAllowed($roleName, 'jobs/edit') ? 1 : 0;
13
$allowUsersWhoApplied = $acl->isAllowed($roleName, 'jobs/users-who-applied') ? 1 : 0;
13
$allowUsersWhoApplied = $acl->isAllowed($roleName, 'jobs/users-who-applied') ? 1 : 0;
Línea -... Línea 14...
-
 
14
 
-
 
15
<<<<<<< .mine=======
Línea -... Línea 16...
-
 
16
$this->inlineScript()->appendFile('https://maps.googleapis.com/maps/api/js?key=' . $google_map_key . '&libraries=places');
-
 
17
 
-
 
18
$this->headLink()->appendStylesheet($this->basePath('plugins/nprogress/nprogress.css'));
-
 
19
$this->inlineScript()->appendFile($this->basePath('plugins/nprogress/nprogress.js'));
-
 
20
 
-
 
21
$this->inlineScript()->appendFile($this->basePath('plugins/ckeditor/ckeditor.js'));
-
 
22
 
-
 
23
 
-
 
24
$this->headLink()->appendStylesheet($this->basePath('plugins/bootstrap-fileinput/css/fileinput.min.css'));
-
 
25
$this->headLink()->appendStylesheet($this->basePath('plugins/bootstrap-fileinput/themes/explorer-fas/theme.css'));
-
 
26
 
-
 
27
$this->inlineScript()->appendFile($this->basePath('plugins/bootstrap-fileinput/js/plugins/piexif.js'));
-
 
28
$this->inlineScript()->appendFile($this->basePath('plugins/bootstrap-fileinput/js/plugins/sortable.js'));
-
 
29
$this->inlineScript()->appendFile($this->basePath('plugins/bootstrap-fileinput/js/fileinput.js'));
-
 
30
$this->inlineScript()->appendFile($this->basePath('plugins/bootstrap-fileinput/js/locales/es.js'));
-
 
31
$this->inlineScript()->appendFile($this->basePath('plugins/bootstrap-fileinput/themes/fas/theme.js'));
-
 
32
$this->inlineScript()->appendFile($this->basePath('plugins/bootstrap-fileinput/themes/explorer-fas/theme.js'));
-
 
33
 
-
 
34
 
-
 
35
$this->inlineScript()->appendFile($this->basePath('plugins/jquery-validation/jquery.validate.js'));
-
 
36
$this->inlineScript()->appendFile($this->basePath('plugins/jquery-validation/additional-methods.js'));
-
 
37
$this->inlineScript()->appendFile($this->basePath('plugins/jquery-validation/localization/messages_es.js'));
-
 
38
 
-
 
39
$this->headLink()->appendStylesheet($this->basePath('plugins/datatables-bs4/css/dataTables.bootstrap4.min.css'));
-
 
40
$this->headLink()->appendStylesheet($this->basePath('plugins/datatables-responsive/css/responsive.bootstrap4.min.css'));
-
 
41
 
-
 
42
$this->inlineScript()->appendFile($this->basePath('plugins/datatables/jquery.dataTables.min.js'));
-
 
43
$this->inlineScript()->appendFile($this->basePath('plugins/datatables-bs4/js/dataTables.bootstrap4.min.js'));
-
 
44
$this->inlineScript()->appendFile($this->basePath('plugins/datatables-responsive/js/dataTables.responsive.min.js'));
-
 
45
$this->inlineScript()->appendFile($this->basePath('plugins/datatables-responsive/js/responsive.bootstrap4.min.js'));
-
 
46
 
-
 
47
 
-
 
48
 
-
 
49
$this->headLink()->appendStylesheet($this->basePath('plugins/select2/css/select2.min.css'));
-
 
50
$this->headLink()->appendStylesheet($this->basePath('plugins/select2-bootstrap4-theme/select2-bootstrap4.min.css'));
-
 
51
$this->inlineScript()->appendFile($this->basePath('plugins/select2/js/select2.min.js'));
-
 
52
 
-
 
53
 
-
 
54
$this->inlineScript()->appendFile($this->basePath('plugins/jquery-input-number/input-number-format.jquery.min.js'));
-
 
55
$this->inlineScript()->appendFile($this->basePath('plugins/bootstrap-confirmation/dist/bootstrap-confirmation.js'));
-
 
56
 
-
 
57
 
-
 
58
$this->headLink()->appendStylesheet($this->basePath('plugins/bootstrap4-toggle/css/bootstrap4-toggle.min.css'));
-
 
59
$this->inlineScript()->appendFile($this->basePath('plugins/bootstrap4-toggle/js/bootstrap4-toggle.min.js'));
-
 
60
>>>>>>> .theirs
-
 
61
<<<<<<< .mine=======$this->inlineScript()->appendFile($this->basePath('plugins/moment/moment-with-locales.min.js'));
-
 
62
$this->headLink()->appendStylesheet($this->basePath('plugins/bootstrap-datetimepicker/css/bootstrap-datetimepicker.css'));
-
 
63
$this->inlineScript()->appendFile($this->basePath('plugins/bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js'));
-
 
64
 
14
 
65
 
-
 
66
$this->headStyle()->captureStart();
-
 
67
echo <<<CSS
-
 
68
 
15
 
69
 
16
$js = <<<JS
70
#gridTableUsersWhoApplied {
-
 
71
    display: flex;
-
 
72
    flex-flow: column;
-
 
73
    width: 100%;
-
 
74
}
-
 
75
 
-
 
76
#gridTableUsersWhoApplied thead {
-
 
77
    flex: 0 0 auto;
17
const linksVars = {
78
}
18
    link_add:"$routeAdd",
79
 
19
    link_table: "$routeDatatable",
80
#gridTableUsersWhoApplied tbody {
20
    allowAdd: "$allowAdd",
81
    flex: 1 1 auto;
-
 
82
    display: block;
-
 
83
    overflow-y: auto;
-
 
84
    overflow-x: hidden;
21
    allowDelete: "$allowDelete",
85
}
-
 
86
 
-
 
87
#gridTableUsersWhoApplied tr {
22
    allowEdit: "$allowEdit",
88
    width: 100%;
23
    allowUsersWhoApplied: "$allowUsersWhoApplied",
89
    display: table;
24
    googleApi: "$google_map_key" 
90
    table-layout: fixed;
-
 
91
}
Línea 25... Línea 92...
25
}
92
CSS;
26
JS;
-
 
27
 
93
$this->headStyle()->captureEnd();
28
$this->inlineScript()->appendScript($js);
94
 
Línea 29... Línea 95...
29
$this->headLink()->appendStylesheet('/react-bundles/jobs/main.css');
95
>>>>>>> .theirsJS;
30
$this->inlineScript()->appendFile('/react-bundles/jobs/jobsBundle.js');
96
$this->inlineScript()->captureEnd();
-
 
97
?>
-
 
98
 
-
 
99
<!-- Content Header (Page header) -->
-
 
100
<div id="divListing">
-
 
101
 
-
 
102
    <section class="content-header">
-
 
103
        <div class="container-fluid">
-
 
104
            <div class="row mb-2">
-
 
105
                <div class="col-sm-12">
-
 
106
                    <h1>LABEL_JOBS</h1>
-
 
107
                </div>
-
 
108
            </div>
-
 
109
        </div><!-- /.container-fluid -->
-
 
110
    </section>
-
 
111
 
-
 
112
    <section class="content">
-
 
113
        <div class="container-fluid">
-
 
114
            <div class="row">
-
 
115
                <div class="col-12">
-
 
116
                    <div class="card">
-
 
117
                        <div class="card-body">
-
 
118
                            <table id="gridTable" class="table   table-hover">
-
 
119
                                <thead>
-
 
120
                                    <tr>
-
 
121
 
-
 
122
                                        <th>LABEL_LAST_DATE_OF_APPLICATION</th>
-
 
123
                                        <th>LABEL_TITLE</th>
-
 
124
                                        <th>LABEL_DETAILS</th>
-
 
125
                                        <th>LABEL_ACTIONS</th>
-
 
126
                                    </tr>
-
 
127
                                </thead>
-
 
128
                                <tbody>
-
 
129
                                </tbody>
-
 
130
                            </table>
-
 
131
                        </div>
-
 
132
                        <div class="card-footer clearfix">
-
 
133
                            <div style="float:right;">
-
 
134
                                <button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH </button>
-
 
135
                                <?php if ($allowAdd) : ?>
-
 
136
                                    <button type="button" class="btn btn-primary btn-add"><i class="fa fa-plus"></i> LABEL_ADD </button>
-
 
137
                                <?php endif; ?>
-
 
138
                            </div>
-
 
139
                        </div>
-
 
140
                    </div>
-
 
141
                </div>
-
 
142
            </div>
-
 
143
        </div>
-
 
144
    </section>
-
 
145
</div>
-
 
146
 
-
 
147
<div id="divEdit" style="display: none">
-
 
148
 
-
 
149
    <section class="content-header">
-
 
150
        <div class="container-fluid">
-
 
151
            <div class="row mb-2">
-
 
152
                <div class="col-sm-12">
-
 
153
                    <h1 class="btn-edit-back"><i class="fa fa-chevron-left" aria-hidden="true"></i> LABEL_EDIT_JOB</h1>
-
 
154
 
-
 
155
                </div>
-
 
156
            </div>
-
 
157
        </div><!-- /.container-fluid -->
-
 
158
    </section>
-
 
159
 
-
 
160
    <section class="content">
-
 
161
        <div class="container-fluid">
-
 
162
 
-
 
163
            <div class="row">
-
 
164
                <div class="col-lg-3">
-
 
165
                </div>
-
 
166
                <div class="col-lg-6">
-
 
167
                    <div class="main-ws-sec">
-
 
168
 
-
 
169
                        <!--user-profile-ov end -->
-
 
170
                        <div class="user-profile-ov">
-
 
171
                            <h3>
-
 
172
                                LABEL_STATUS <a href="#" title="" class="btn-status-edit"> <i class="fa fa-pencil"></i></a>
-
 
173
                            </h3>
-
 
174
                            <p id="overview-status"></p>
-
 
175
                        </div>
-
 
176
 
-
 
177
                        <div class="user-profile-ov">
-
 
178
                            <h3>LABEL_TITLE
-
 
179
                                <a href="#" title="" class="btn-title-edit"><i class="fa fa-pencil"></i></a>
-
 
180
                            </h3>
-
 
181
                            <p id="overview-title"></p>
-
 
182
                        </div>
-
 
183
                        <div class="user-profile-ov">
-
 
184
                            <h3>LABEL_OVERVIEW
-
 
185
                                <a href="#" title="" class="btn-extended-edit"><i class="fa fa-pencil"></i></a>
-
 
186
                            </h3>
-
 
187
                            <p id="overview-description"></p>
-
 
188
                        </div>
-
 
189
                        <!--user-profile-ov end-->
-
 
190
                        <div class="user-profile-ov st2">
-
 
191
                            <h3>LABEL_LAST_DATE_OF_APPLICATION
-
 
192
                                <a href="#" title="" class="btn-last-date-of-application-edit"><i class="fa fa-pencil"></i></a> <a href="#" title="" class="esp-bx-open"></a>
-
 
193
                            </h3>
-
 
194
                            <span id="overview-last-date-of-application"></span>
-
 
195
                        </div>
-
 
196
                        <!--user-profile-ov end-->
-
 
197
                        <div class="user-profile-ov">
-
 
198
                            <h3>LABEL_EMPLOYMENT_TYPE
-
 
199
                                <a href="#" title="" class="btn-employment-type-edit"><i class="fa fa-pencil"></i></a>
-
 
200
                            </h3>
-
 
201
                            <span id="overview-employment-type"></span>
-
 
202
                        </div>
-
 
203
                        <!--user-profile-ov end-->
-
 
204
                        <div class="user-profile-ov">
-
 
205
                            <h3>
-
 
206
                                <a href="#" title="">LABEL_LOCATION</a>
-
 
207
                                <a href="#" title="" class="btn-location-edit"><i class="fa fa-pencil"></i></a>
-
 
208
                            </h3>
-
 
209
                            <span id="overview-location"></span>
-
 
210
                        </div>
-
 
211
                        <!--user-profile-ov end-->
-
 
212
                        <div class="user-profile-ov">
-
 
213
                            <h3>
-
 
214
                                LABEL_EXPERIENCE
-
 
215
                                <a href="#" title="" class="btn-experience-edit"><i class="fa fa-pencil"></i></a>
-
 
216
                            </h3>
-
 
217
                            <span id="overview-experience"> </span>
-
 
218
                        </div>
-
 
219
                        <!--user-profile-ov end-->
-
 
220
                        <div class="user-profile-ov">
-
 
221
                            <h3>
-
 
222
                                LABEL_SALARY
-
 
223
                                <a href="#" title="" class="btn-salary-edit"><i class="fa fa-pencil"></i></a>
-
 
224
                            </h3>
-
 
225
                            <span id="overview-salary"></span>
-
 
226
                        </div>
-
 
227
                        <!--user-profile-ov end-->
-
 
228
                        <div class="user-profile-ov">
-
 
229
                            <h3>
-
 
230
                                LABEL_CATEGORIE
-
 
231
                                <a href="#" title="" class="btn-job-category-edit"><i class="fa fa-pencil"></i></a>
-
 
232
                            </h3>
-
 
233
                            <span id="overview-job-category"></span>
-
 
234
                        </div>
-
 
235
                        <!--user-profile-ov end-->
-
 
236
                        <div class="user-profile-ov">
-
 
237
                            <h3>
-
 
238
                                LABEL_SKILLS <a href="#" title="" class="btn-skills-edit"> <i class="fa fa-pencil"></i></a>
-
 
239
                            </h3>
-
 
240
                            <ul id="list-skills">
-
 
241
 
-
 
242
 
-
 
243
                            </ul>
-
 
244
                        </div>
-
 
245
                        <!--user-profile-ov end -->
-
 
246
                        <div class="user-profile-ov">
-
 
247
                            <h3>
-
 
248
                                LABEL_LANGUAGES <a href="#" title="" class="btn-languages-edit"> <i class="fa fa-pencil"></i></a>
-
 
249
                            </h3>
-
 
250
                            <ul id="list-languages">
-
 
251
 
-
 
252
 
-
 
253
                            </ul>
-
 
254
                        </div>
-
 
255
                        <!--user-profile-ov end -->
-
 
256
                        <div class="user-profile-ov">
-
 
257
                            <h3>
-
 
258
                                LABEL_DEGREES <a href="#" title="" class="btn-degrees-edit"> <i class="fa fa-pencil"></i></a>
-
 
259
                            </h3>
-
 
260
                            <ul id="list-degrees">
-
 
261
 
-
 
262
 
-
 
263
                            </ul>
-
 
264
                        </div>
-
 
265
 
-
 
266
 
-
 
267
 
-
 
268
                    </div>
-
 
269
                </div>
-
 
270
                <div class="col-lg-3">
-
 
271
                </div>
-
 
272
            </div>
-
 
273
        </div>
-
 
274
    </section>
-
 
275
</div>
-
 
276
 
-
 
277
<div class="modal" tabindex="-1" role="dialog" id="add-job-box">
-
 
278
    <div class="modal-dialog" role="document">
-
 
279
        <?php
-
 
280
        $form = $this->formAdd;
-
 
281
        $form->setAttributes([
-
 
282
            'method'    => 'post',
-
 
283
            'name'      => 'form-add',
-
 
284
            'id'        => 'form-add'
-
 
285
        ]);
-
 
286
        $form->prepare();
-
 
287
        echo $this->form()->openTag($form);
-
 
288
 
-
 
289
        $fieldnames = [
-
 
290
            'formatted_address',
-
 
291
            'address1',
-
 
292
            'address2',
-
 
293
            'country',
-
 
294
            'state',
-
 
295
            'city1',
-
 
296
            'city2',
-
 
297
            'postal_code',
-
 
298
            'latitude',
-
 
299
            'longitude',
-
 
300
        ];
-
 
301
 
-
 
302
        foreach ($fieldnames as $fieldname) {
-
 
303
 
-
 
304
            $element = $form->get($fieldname);
-
 
305
            echo $this->formHidden($element);
-
 
306
        }
-
 
307
        ?>
-
 
308
        <div class="modal-content">
-
 
309
            <div class="modal-header">
-
 
310
                <h3 class="modal-title">LABEL_NEW_JOB</h3>
-
 
311
            </div>
-
 
312
            <div class="modal-body">
-
 
313
                <div class="form-group">
-
 
314
                    <?php
-
 
315
                    $element = $form->get('title');
-
 
316
                    $element->setOptions(['label' => 'LABEL_TITLE']);
-
 
317
                    $element->setAttributes(['class' => 'form-control']);
-
 
318
                    echo $this->formLabel($element);
-
 
319
                    echo $this->formText($element);
-
 
320
                    ?>
-
 
321
                </div>
-
 
322
                <div class="form-group">
-
 
323
                    <?php
-
 
324
                    $element = $form->get('employment_type');
-
 
325
                    $element->setAttributes(['class' => 'form-control']);
-
 
326
                    $element->setOptions(['empty_option' => 'LABEL_SELECT_EMPLOYMENT_TYPE', 'label' => 'LABEL_EMPLOYMENT_TYPE']);
-
 
327
                    echo $this->formLabel($element);
-
 
328
                    echo $this->formSelect($element);
-
 
329
                    ?>
-
 
330
                </div>
-
 
331
                <div class="form-group">
-
 
332
                    <?php
-
 
333
                    $element = $form->get('last_date_of_application');
-
 
334
                    $element->setAttributes(['class' => 'form-control']);
-
 
335
                    $element->setOptions(['label' => 'LABEL_LAST_DATE_OF_APPLICATION']);
-
 
336
                    echo $this->formLabel($element);
-
 
337
                    echo $this->formText($element);
-
 
338
                    ?>
-
 
339
                </div>
-
 
340
 
-
 
341
                <div class="form-group">
-
 
342
                    <?php
-
 
343
                    $element = $form->get('job_category_id');
-
 
344
                    $element->setOptions(['empty_option' => 'LABEL_SELECT_JOB_CATEGORY', 'label' => 'LABEL_JOB_CATEGORY']);
-
 
345
                    $element->setAttributes(['class' => 'form-control']);
-
 
346
                    echo $this->formLabel($element);
-
 
347
                    echo $this->formSelect($element);
-
 
348
                    ?>
-
 
349
                </div>
-
 
350
                <div class="form-group">
-
 
351
                    <?php
-
 
352
                    $element = $form->get('location_search');
-
 
353
                    $element->setAttributes(['name' => 'add_location_search',  'id' => 'add_location_search', 'class' => 'form-control']);
-
 
354
                    $element->setOptions(['label' => 'LABEL_LOCATION']);
-
 
355
                    echo $this->formLabel($element);
-
 
356
                    echo $this->formText($element);
-
 
357
                    ?>
-
 
358
                </div>
-
 
359
            </div>
-
 
360
 
-
 
361
            <div class="modal-footer">
-
 
362
                <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
363
                <button type="button" class="btn btn-default btn-add-job-cancel">LABEL_CANCEL</button>
-
 
364
            </div>
-
 
365
            <?php echo $this->form()->closeTag($form); ?>
-
 
366
        </div>
-
 
367
    </div>
-
 
368
</div>
-
 
369
 
-
 
370
 
-
 
371
<!-- The Modal -->
-
 
372
<div class="modal" id="modalUsersWhoApplied">
-
 
373
    <div class="modal-dialog modal-xl">
-
 
374
        <div class="modal-content">
-
 
375
 
-
 
376
            <!-- Modal Header -->
-
 
377
            <div class="modal-header">
-
 
378
                <h4 class="modal-title">LABEL_USERS_WHO_APPLIED</h4>
-
 
379
                <button type="button" class="close" data-dismiss="modal">&times;</button>
-
 
380
            </div>
-
 
381
 
-
 
382
            <!-- Modal body -->
-
 
383
            <div class="modal-body">
-
 
384
                <div style="height: 300px;overflow: scroll;">
-
 
385
                    <table id="gridTableUsersWhoApplied" style="width: 100%" class="table table-bordered table-hover">
-
 
386
                        <thead>
-
 
387
                            <tr>
-
 
388
                                <th>LABEL_FIRST_NAME</th>
-
 
389
                                <th>LABEL_LAST_NAME</th>
-
 
390
                                <th>LABEL_EMAIL</th>
-
 
391
                                <th>LABEL_ACTIONS</th>
-
 
392
                            </tr>
-
 
393
                        </thead>
-
 
394
                        <tbody>
-
 
395
                        </tbody>
-
 
396
                    </table>
-
 
397
                </div>
-
 
398
 
-
 
399
            </div>
-
 
400
 
-
 
401
            <!-- Modal footer -->
-
 
402
            <div class="modal-footer">
-
 
403
                <button type="button" class="btn btn-danger" data-dismiss="modal">LABEL_CLOSE</button>
-
 
404
            </div>
-
 
405
 
-
 
406
        </div>
-
 
407
    </div>
-
 
408
</div>
-
 
409
 
-
 
410
<div class="modal" tabindex="-1" role="dialog" id="extended-box">
-
 
411
    <div class="modal-dialog" role="document">
-
 
412
        <?php
-
 
413
        $form = $this->formExtended;
-
 
414
        $form->setAttributes([
-
 
415
            'method' => 'post',
-
 
416
            'name' => 'form-extended',
-
 
417
            'id' => 'form-extended'
-
 
418
        ]);
-
 
419
        $form->prepare();
-
 
420
        echo $this->form()->openTag($form);
-
 
421
        ?>
-
 
422
        <div class="modal-content">
-
 
423
            <div class="modal-header">
-
 
424
                <h3 class="modal-title">LABEL_OVERVIEW</h3>
-
 
425
            </div>
-
 
426
            <div class="modal-body">
-
 
427
                <div class="form-group">
-
 
428
                    <?php
-
 
429
                    $element = $form->get('description');
-
 
430
                    $element->setOptions(['label' => 'LABEL_OVERVIEW']);
-
 
431
                    $element->setAttributes(['class' => 'form-control']);
-
 
432
                    echo $this->formLabel($element);
-
 
433
                    echo $this->formTextArea($element);
-
 
434
                    ?>
-
 
435
                </div>
-
 
436
            </div>
-
 
437
            <div class="modal-footer">
-
 
438
                <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
439
                <button type="button" class="btn btn-default btn-extended-close">LABEL_CANCEL</button>
-
 
440
            </div>
-
 
441
            <?php echo $this->form()->closeTag($form); ?>
-
 
442
        </div>
-
 
443
    </div>
-
 
444
</div>
-
 
445
 
-
 
446
<div class="modal" tabindex="-1" role="dialog" id="location-box">
-
 
447
    <div class="modal-dialog" role="document">
-
 
448
        <?php
-
 
449
        $form = $this->formLocation;
-
 
450
        $form->setAttributes([
-
 
451
            'method' => 'post',
-
 
452
            'name' => 'form-location',
-
 
453
            'id' => 'form-location'
-
 
454
        ]);
-
 
455
        $form->prepare();
-
 
456
        echo $this->form()->openTag($form);
-
 
457
 
-
 
458
        $fieldnames = [
-
 
459
            'formatted_address',
-
 
460
            'address1',
-
 
461
            'address2',
-
 
462
            'country',
-
 
463
            'state',
-
 
464
            'city1',
-
 
465
            'city2',
-
 
466
            'postal_code',
-
 
467
            'latitude',
-
 
468
            'longitude',
-
 
469
        ];
-
 
470
 
-
 
471
        foreach ($fieldnames as $fieldname) {
-
 
472
 
-
 
473
            $element = $form->get($fieldname);
-
 
474
            echo $this->formHidden($element);
-
 
475
        }
-
 
476
        ?>
-
 
477
        <div class="modal-content">
-
 
478
            <div class="modal-header">
-
 
479
                <h3 class="modal-title">LABEL_LOCATION</h3>
-
 
480
            </div>
-
 
481
            <div class="modal-body">
-
 
482
                <div class="form-group datefm">
-
 
483
                    <?php
-
 
484
                    $element = $form->get('location_search');
-
 
485
                    $element->setOptions(['label' => 'LABEL_LOCATION']);
-
 
486
                    $element->setAttributes(['class' => 'form-control']);
-
 
487
                    echo $this->formLabel($element);
-
 
488
                    echo $this->formText($element);
-
 
489
                    ?>
-
 
490
                    <i class="fa fa-map-marker"></i>
-
 
491
                </div>
-
 
492
            </div>
-
 
493
            <div class="modal-footer">
-
 
494
                <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
495
                <button type="button" class="btn btn-default btn-location-close">LABEL_CANCEL</button>
-
 
496
            </div>
-
 
497
            <?php echo $this->form()->closeTag($form); ?>
-
 
498
        </div>
-
 
499
    </div>
-
 
500
</div>
-
 
501
 
-
 
502
<div class="modal" tabindex="-1" role="dialog" id="employment-type-box">
-
 
503
    <div class="modal-dialog" role="document">
-
 
504
        <?php
-
 
505
        $form = $this->formEmploymentType;
-
 
506
        $form->setAttributes([
-
 
507
            'method' => 'post',
-
 
508
            'name' => 'form-employment-type',
-
 
509
            'id' => 'form-employment-type'
-
 
510
        ]);
-
 
511
        $form->prepare();
-
 
512
        echo $this->form()->openTag($form);
-
 
513
        ?>
-
 
514
        <div class="modal-content">
-
 
515
            <div class="modal-header">
-
 
516
                <h3 class="modal-title">LABEL_EMPLOYMENT_TYPE</h3>
-
 
517
            </div>
-
 
518
            <div class="modal-body">
-
 
519
                <div class="form-group">
-
 
520
                    <?php
-
 
521
                    $element = $form->get('employment_type');
-
 
522
                    $element->setOptions(['label' => 'LABEL_EMPLOYMENT_TYPE']);
-
 
523
                    $element->setAttributes(['class' => 'form-control']);
-
 
524
                    echo $this->formLabel($element);
-
 
525
                    echo $this->formSelect($element);
-
 
526
                    ?>
-
 
527
                </div>
-
 
528
            </div>
-
 
529
            <div class="modal-footer">
-
 
530
                <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
531
                <button type="button" class="btn btn-default btn-employment-type-close">LABEL_CANCEL</button>
-
 
532
            </div>
-
 
533
            <?php echo $this->form()->closeTag($form); ?>
-
 
534
        </div>
-
 
535
    </div>
-
 
536
</div>
-
 
537
 
-
 
538
<div class="modal" tabindex="-1" role="dialog" id="job-category-box">
-
 
539
    <div class="modal-dialog" role="document">
-
 
540
        <?php
-
 
541
        $form = $this->formJobCategory;
-
 
542
        $form->setAttributes([
-
 
543
            'method' => 'post',
-
 
544
            'name' => 'form-job-category',
-
 
545
            'id' => 'form-job-category'
-
 
546
        ]);
-
 
547
        $form->prepare();
-
 
548
        echo $this->form()->openTag($form);
-
 
549
        ?>
-
 
550
        <div class="modal-content">
-
 
551
            <div class="modal-header">
-
 
552
                <h3 class="modal-title">LABEL_JOB_CATEGORY</h3>
-
 
553
            </div>
-
 
554
            <div class="modal-body">
-
 
555
                <div class="form-group">
-
 
556
                    <?php
-
 
557
                    $element = $form->get('job_category_id');
-
 
558
                    $element->setOptions(['label' => 'LABEL_JOB_CATEGORY']);
-
 
559
                    $element->setAttributes(['class' => 'form-control']);
-
 
560
                    echo $this->formLabel($element);
-
 
561
                    echo $this->formSelect($element);
-
 
562
                    ?>
-
 
563
                </div>
-
 
564
            </div>
-
 
565
            <div class="modal-footer">
-
 
566
                <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
567
                <button type="button" class="btn btn-default btn-job-category-close">LABEL_CANCEL</button>
-
 
568
            </div>
-
 
569
            <?php echo $this->form()->closeTag($form); ?>
-
 
570
        </div>
-
 
571
    </div>
-
 
572
</div>
-
 
573
 
-
 
574
<div class="modal" tabindex="-1" role="dialog" id="salary-box">
-
 
575
    <div class="modal-dialog" role="document">
-
 
576
        <?php
-
 
577
        $form = $this->formSalary;
-
 
578
        $form->setAttributes([
-
 
579
            'method' => 'post',
-
 
580
            'name' => 'form-salary',
-
 
581
            'id' => 'form-salary'
-
 
582
        ]);
-
 
583
        $form->prepare();
-
 
584
        echo $this->form()->openTag($form);
-
 
585
        ?>
-
 
586
        <div class="modal-content">
-
 
587
            <div class="modal-header">
-
 
588
                <h3 class="modal-title">LABEL_SALARY</h3>
-
 
589
            </div>
-
 
590
            <div class="modal-body">
-
 
591
                <div class="form-group">
-
 
592
                    <?php
-
 
593
                    $element = $form->get('salary_visible');
-
 
594
                    echo $this->formCheckbox($element);
-
 
595
                    ?>
-
 
596
                </div>
-
 
597
                <div class="form-group">
-
 
598
                    <?php
-
 
599
                    $element = $form->get('salary_currency');
-
 
600
                    $element->setAttributes(['class' => 'form-control']);
-
 
601
                    $element->setOptions(['label' => 'LABEL_CURRENCY']);
-
 
602
                    echo $this->formLabel($element);
-
 
603
                    echo $this->formSelect($element);
-
 
604
                    ?>
-
 
605
                </div>
-
 
606
                <div class="form-group">
-
 
607
                    <?php
-
 
608
                    $element = $form->get('salary_min');
-
 
609
                    $element->setOptions(['label' => 'LABEL_MINIMUM']);
-
 
610
                    $element->setAttributes(['class' => 'form-control']);
-
 
611
                    echo $this->formLabel($element);
-
 
612
                    echo $this->formText($element);
-
 
613
                    ?>
-
 
614
                </div>
-
 
615
                <div class="form-group">
-
 
616
                    <?php
-
 
617
                    $element = $form->get('salary_max');
-
 
618
                    $element->setOptions(['label' => 'LABEL_MAXIMUM']);
-
 
619
                    $element->setAttributes(['class' => 'form-control']);
-
 
620
                    echo $this->formLabel($element);
-
 
621
                    echo $this->formText($element);
-
 
622
                    ?>
-
 
623
                </div>
-
 
624
            </div>
-
 
625
            <div class="modal-footer">
-
 
626
                <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
627
                <button type="button" class="btn btn-default btn-salary-close">LABEL_CANCEL</button>
-
 
628
            </div>
-
 
629
            <?php echo $this->form()->closeTag($form); ?>
-
 
630
        </div>
-
 
631
    </div>
-
 
632
</div>
-
 
633
 
-
 
634
<div class="modal" tabindex="-1" role="dialog" id="experience-box">
-
 
635
    <div class="modal-dialog" role="document">
-
 
636
        <?php
-
 
637
        $form = $this->formExperience;
-
 
638
        $form->setAttributes([
-
 
639
            'method' => 'post',
-
 
640
            'name' => 'form-experience',
-
 
641
            'id' => 'form-experience'
-
 
642
        ]);
-
 
643
        $form->prepare();
-
 
644
        echo $this->form()->openTag($form);
-
 
645
        ?>
-
 
646
        <div class="modal-content">
-
 
647
            <div class="modal-header">
-
 
648
                <h3 class="modal-title">LABEL_EXPERIENCE</h3>
-
 
649
            </div>
-
 
650
            <div class="modal-body">
-
 
651
                <div class="form-group">
-
 
652
                    <?php
-
 
653
                    $element = $form->get('experience_visible');
-
 
654
 
-
 
655
                    echo $this->formCheckbox($element);
-
 
656
                    ?>
-
 
657
                </div>
-
 
658
                <div class="form-group">
-
 
659
                    <?php
-
 
660
                    $element = $form->get('experience_min');
-
 
661
                    $element->setOptions(['label' => 'LABEL_MINIMUM']);
-
 
662
                    $element->setAttributes(['class' => 'form-control']);
-
 
663
                    echo $this->formLabel($element);
-
 
664
                    echo $this->formText($element);
-
 
665
                    ?>
-
 
666
                </div>
-
 
667
                <div class="form-group">
-
 
668
                    <?php
-
 
669
                    $element = $form->get('experience_max');
-
 
670
                    $element->setOptions(['label' => 'LABEL_MAXIMUM']);
-
 
671
                    $element->setAttributes(['class' => 'form-control']);
-
 
672
                    echo $this->formLabel($element);
-
 
673
                    echo $this->formText($element);
-
 
674
                    ?>
-
 
675
                </div>
-
 
676
            </div>
-
 
677
            <div class="modal-footer">
-
 
678
                <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
679
                <button type="button" class="btn btn-default btn-experience-close">LABEL_CANCEL</button>
-
 
680
            </div>
-
 
681
            <?php echo $this->form()->closeTag($form); ?>
-
 
682
        </div>
-
 
683
    </div>
-
 
684
</div>
-
 
685
 
-
 
686
 
-
 
687
<div class="modal" tabindex="-1" role="dialog" id="skills-box">
-
 
688
    <div class="modal-dialog" role="document">
-
 
689
        <?php
-
 
690
        $form = $this->formSkill;
-
 
691
        $form->setAttributes([
-
 
692
            'method' => 'post',
-
 
693
            'name' => 'form-skill',
-
 
694
            'id' => 'form-skill'
-
 
695
        ]);
-
 
696
        $form->prepare();
-
 
697
        echo $this->form()->openTag($form);
-
 
698
        ?>
-
 
699
        <div class="modal-content">
-
 
700
            <div class="modal-header">
-
 
701
                <h3 class="modal-title">LABEL_SKILLS</h3>
-
 
702
            </div>
-
 
703
            <div class="modal-body">
-
 
704
                <div class="form-group">
-
 
705
                    <?php
-
 
706
                    $element = $form->get('skills');
-
 
707
                    $element->setOptions(['label' => 'LABEL_SKILLS']);
-
 
708
                    $element->setAttributes(['class' => 'form-control']);
-
 
709
                    echo $this->formLabel($element);
-
 
710
                    echo $this->formSelect($element);
-
 
711
                    ?>
-
 
712
                </div>
-
 
713
            </div>
-
 
714
 
-
 
715
 
-
 
716
            <div class="modal-footer">
-
 
717
                <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
718
                <button type="button" class="btn btn-default btn-skills-close">LABEL_CANCEL</button>
-
 
719
            </div>
-
 
720
            <?php echo $this->form()->closeTag($form); ?>
-
 
721
        </div>
-
 
722
    </div>
-
 
723
</div>
-
 
724
 
-
 
725
<div class="modal" tabindex="-1" role="dialog" id="languages-box">
-
 
726
    <div class="modal-dialog" role="document">
-
 
727
        <?php
-
 
728
        $form = $this->formLanguage;
-
 
729
        $form->setAttributes([
-
 
730
            'method' => 'post',
-
 
731
            'name' => 'form-language',
-
 
732
            'id' => 'form-language'
-
 
733
        ]);
-
 
734
        $form->prepare();
-
 
735
        echo $this->form()->openTag($form);
-
 
736
        ?>
-
 
737
        <div class="modal-content">
-
 
738
            <div class="modal-header">
-
 
739
                <h3 class="modal-title">LABEL_LANGUAGES</h3>
-
 
740
            </div>
-
 
741
            <div class="modal-body">
-
 
742
                <div class="form-group">
-
 
743
                    <?php
-
 
744
                    $element = $form->get('languages');
-
 
745
                    $element->setOptions(['label' => 'LABEL_LANGUAGES']);
-
 
746
                    $element->setAttributes(['class' => 'form-control']);
-
 
747
                    echo $this->formLabel($element);
-
 
748
                    echo $this->formSelect($element);
-
 
749
                    ?>
-
 
750
                </div>
-
 
751
            </div>
-
 
752
            <div class="modal-footer">
-
 
753
                <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
754
                <button type="button" class="btn btn-default btn-languages-close">LABEL_CANCEL</button>
-
 
755
            </div>
-
 
756
            <?php echo $this->form()->closeTag($form); ?>
-
 
757
        </div>
-
 
758
    </div>
-
 
759
</div>
-
 
760
 
-
 
761
<div class="modal" tabindex="-1" role="dialog" id="last-date-of-application-box">
-
 
762
    <div class="modal-dialog" role="document">
-
 
763
        <?php
-
 
764
        $form = $this->fromLastDateOfApplication;
-
 
765
        $form->setAttributes([
-
 
766
            'method' => 'post',
-
 
767
            'name' => 'form-last-date-of-application',
-
 
768
            'id' => 'form-last-date-of-application'
-
 
769
        ]);
-
 
770
        $form->prepare();
-
 
771
        echo $this->form()->openTag($form);
-
 
772
        ?>
-
 
773
        <div class="modal-content">
-
 
774
            <div class="modal-header">
-
 
775
                <h3 class="modal-title">LABEL_LAST_DATE_OF_APPLICATION</h3>
-
 
776
            </div>
-
 
777
            <div class="modal-body">
-
 
778
                <div class="form-group">
-
 
779
                    <?php
-
 
780
                    $element = $form->get('last_date_of_application');
-
 
781
                    $element->setOptions(['label' => 'LABEL_LAST_DATE_OF_APPLICATION']);
-
 
782
                    $element->setAttributes(['class' => 'form-control']);
-
 
783
                    echo $this->formLabel($element);
-
 
784
                    echo $this->formText($element);
-
 
785
                    ?>
-
 
786
                </div>
-
 
787
            </div>
-
 
788
            <div class="modal-footer">
-
 
789
                <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
790
                <button type="button" class="btn btn-default btn-last-date-of-application-close">LABEL_CANCEL</button>
-
 
791
            </div>
-
 
792
            <?php echo $this->form()->closeTag($form); ?>
-
 
793
        </div>
-
 
794
    </div>
-
 
795
</div>
-
 
796
 
-
 
797
<div class="modal" tabindex="-1" role="dialog" id="degrees-box">
-
 
798
    <div class="modal-dialog" role="document">
-
 
799
        <?php
-
 
800
        $form = $this->formDegree;
-
 
801
        $form->setAttributes([
-
 
802
            'method' => 'post',
-
 
803
            'name' => 'form-degree',
-
 
804
            'id' => 'form-degree'
-
 
805
        ]);
-
 
806
        $form->prepare();
-
 
807
        echo $this->form()->openTag($form);
-
 
808
        ?>
-
 
809
        <div class="modal-content">
-
 
810
            <div class="modal-header">
-
 
811
                <h3 class="modal-title">LABEL_DEGREES</h3>
-
 
812
            </div>
-
 
813
            <div class="modal-body">
-
 
814
                <div class="form-group">
-
 
815
                    <?php
-
 
816
                    $element = $form->get('degrees');
-
 
817
                    $element->setOptions(['label' => 'LABEL_DEGREES']);
-
 
818
                    $element->setAttributes(['class' => 'form-control']);
-
 
819
                    echo $this->formLabel($element);
-
 
820
                    echo $this->formSelect($element);
-
 
821
                    ?>
-
 
822
                </div>
-
 
823
            </div>
-
 
824
            <div class="modal-footer">
-
 
825
                <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
826
                <button type="button" class="btn btn-default btn-degrees-close">LABEL_CANCEL</button>
-
 
827
            </div>
-
 
828
            <?php echo $this->form()->closeTag($form); ?>
-
 
829
        </div>
-
 
830
    </div>
-
 
831
</div>
-
 
832
 
-
 
833
<div class="modal" tabindex="-1" role="dialog" id="status-box">
-
 
834
    <div class="modal-dialog" role="document">
-
 
835
        <?php
-
 
836
        $form = $this->formStatus;
-
 
837
        $form->setAttributes([
-
 
838
            'method' => 'post',
-
 
839
            'name' => 'form-status',
-
 
840
            'id' => 'form-status'
-
 
841
        ]);
-
 
842
        $form->prepare();
-
 
843
        echo $this->form()->openTag($form);
-
 
844
        ?>
-
 
845
        <div class="modal-content">
-
 
846
            <div class="modal-header">
-
 
847
                <h3 class="modal-title">LABEL_STATUS</h3>
-
 
848
            </div>
-
 
849
            <div class="modal-body">
-
 
850
                <div class="form-group">
-
 
851
                    <?php
-
 
852
                    $element = $form->get('status');
-
 
853
                    $element->setOptions(['label' => 'LABEL_STATUS']);
-
 
854
                    $element->setAttributes(['class' => 'form-control']);
-
 
855
                    echo $this->formLabel($element);
-
 
856
                    echo $this->formSelect($element);
-
 
857
                    ?>
-
 
858
                </div>
-
 
859
            </div>
-
 
860
 
-
 
861
 
-
 
862
            <div class="modal-footer">
-
 
863
                <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
864
                <button type="button" class="btn btn-default btn-status-close">LABEL_CANCEL</button>
-
 
865
            </div>
-
 
866
            <?php echo $this->form()->closeTag($form); ?>
-
 
867
        </div>
-
 
868
    </div>
-
 
869
</div>
-
 
870
 
-
 
871
<div class="modal" tabindex="-1" role="dialog" id="title-box">
-
 
872
    <div class="modal-dialog" role="document">
-
 
873
        <?php
-
 
874
        $form = $this->formTitle;
-
 
875
        $form->setAttributes([
-
 
876
            'method' => 'post',
-
 
877
            'name' => 'form-title',
-
 
878
            'id' => 'form-title'
-
 
879
        ]);
-
 
880
        $form->prepare();
-
 
881
        echo $this->form()->openTag($form);
-
 
882
        ?>
-
 
883
        <div class="modal-content">
-
 
884
            <div class="modal-header">
-
 
885
                <h3 class="modal-title">LABEL_TITLE</h3>
-
 
886
            </div>
-
 
887
            <div class="modal-body">
-
 
888
                <div class="form-group">
-
 
889
                    <?php
-
 
890
                    $element = $form->get('title');
-
 
891
                    $element->setOptions(['label' => 'LABEL_TITLE']);
-
 
892
                    $element->setAttributes(['class' => 'form-control']);
-
 
893
                    echo $this->formLabel($element);
-
 
894
                    echo $this->formText($element);
-
 
895
                    ?>
-
 
896
                </div>
-
 
897
            </div>
-
 
898
 
-
 
899
 
-
 
900
            <div class="modal-footer">
-
 
901
                <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
902
                <button type="button" class="btn btn-default btn-title-close">LABEL_CANCEL</button>
31
?>
903
            </div>
32
 
904
            <?php echo $this->form()->closeTag($form); ?>