Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 8753 Rev 11121
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
 
-
 
16
 
-
 
17
$this->inlineScript()->appendFile('https://maps.googleapis.com/maps/api/js?key=' . $google_map_key . '&libraries=places');
-
 
18
 
-
 
19
$this->headLink()->appendStylesheet($this->basePath('plugins/nprogress/nprogress.css'));
-
 
20
$this->inlineScript()->appendFile($this->basePath('plugins/nprogress/nprogress.js'));
-
 
21
 
-
 
22
$this->inlineScript()->appendFile($this->basePath('plugins/ckeditor/ckeditor.js'));
-
 
23
 
-
 
24
 
-
 
25
$this->headLink()->appendStylesheet($this->basePath('plugins/bootstrap-fileinput/css/fileinput.min.css'));
-
 
26
$this->headLink()->appendStylesheet($this->basePath('plugins/bootstrap-fileinput/themes/explorer-fas/theme.css'));
-
 
27
 
-
 
28
$this->inlineScript()->appendFile($this->basePath('plugins/bootstrap-fileinput/js/plugins/piexif.js'));
-
 
29
$this->inlineScript()->appendFile($this->basePath('plugins/bootstrap-fileinput/js/plugins/sortable.js'));
-
 
30
$this->inlineScript()->appendFile($this->basePath('plugins/bootstrap-fileinput/js/fileinput.js'));
-
 
31
$this->inlineScript()->appendFile($this->basePath('plugins/bootstrap-fileinput/js/locales/es.js'));
-
 
32
$this->inlineScript()->appendFile($this->basePath('plugins/bootstrap-fileinput/themes/fas/theme.js'));
-
 
33
$this->inlineScript()->appendFile($this->basePath('plugins/bootstrap-fileinput/themes/explorer-fas/theme.js'));
-
 
34
 
-
 
35
 
-
 
36
$this->inlineScript()->appendFile($this->basePath('plugins/jquery-validation/jquery.validate.js'));
-
 
37
$this->inlineScript()->appendFile($this->basePath('plugins/jquery-validation/additional-methods.js'));
-
 
38
$this->inlineScript()->appendFile($this->basePath('plugins/jquery-validation/localization/messages_es.js'));
-
 
39
 
-
 
40
$this->headLink()->appendStylesheet($this->basePath('plugins/datatables-bs4/css/dataTables.bootstrap4.min.css'));
-
 
41
$this->headLink()->appendStylesheet($this->basePath('plugins/datatables-responsive/css/responsive.bootstrap4.min.css'));
-
 
42
 
-
 
43
$this->inlineScript()->appendFile($this->basePath('plugins/datatables/jquery.dataTables.min.js'));
-
 
44
$this->inlineScript()->appendFile($this->basePath('plugins/datatables-bs4/js/dataTables.bootstrap4.min.js'));
-
 
45
$this->inlineScript()->appendFile($this->basePath('plugins/datatables-responsive/js/dataTables.responsive.min.js'));
-
 
46
$this->inlineScript()->appendFile($this->basePath('plugins/datatables-responsive/js/responsive.bootstrap4.min.js'));
-
 
47
 
-
 
48
 
-
 
49
 
-
 
50
$this->headLink()->appendStylesheet($this->basePath('plugins/select2/css/select2.min.css'));
-
 
51
$this->headLink()->appendStylesheet($this->basePath('plugins/select2-bootstrap4-theme/select2-bootstrap4.min.css'));
-
 
52
$this->inlineScript()->appendFile($this->basePath('plugins/select2/js/select2.min.js'));
-
 
53
 
-
 
54
 
-
 
55
$this->inlineScript()->appendFile($this->basePath('plugins/jquery-input-number/input-number-format.jquery.min.js'));
-
 
56
$this->inlineScript()->appendFile($this->basePath('plugins/bootstrap-confirmation/dist/bootstrap-confirmation.js'));
-
 
57
 
14
 
58
 
15
$this->headLink()->appendStylesheet($this->basePath('plugins/bootstrap4-toggle/css/bootstrap4-toggle.min.css'));
59
$this->headLink()->appendStylesheet($this->basePath('plugins/bootstrap4-toggle/css/bootstrap4-toggle.min.css'));
Línea -... Línea 60...
-
 
60
$this->inlineScript()->appendFile($this->basePath('plugins/bootstrap4-toggle/js/bootstrap4-toggle.min.js'));
-
 
61
 
-
 
62
$this->inlineScript()->appendFile($this->basePath('plugins/moment/moment-with-locales.min.js'));
-
 
63
$this->headLink()->appendStylesheet($this->basePath('plugins/bootstrap-datetimepicker/css/bootstrap-datetimepicker.css'));
-
 
64
$this->inlineScript()->appendFile($this->basePath('plugins/bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js'));
16
$this->inlineScript()->appendFile($this->basePath('plugins/bootstrap4-toggle/js/bootstrap4-toggle.min.js'));
65
 
17
 
66
 
Línea -... Línea 67...
-
 
67
$this->headStyle()->captureStart();
18
$this->headStyle()->captureStart();
68
echo <<<CSS
19
echo <<<CSS
69
 
20
 
70
 
21
#gridTableUsersWhoApplied {
71
#gridTableUsersWhoApplied {
22
    display: flex;
72
    display: flex;
Línea 41... Línea 91...
41
    table-layout: fixed;
91
    table-layout: fixed;
42
}
92
}
43
CSS;
93
CSS;
44
$this->headStyle()->captureEnd();
94
$this->headStyle()->captureEnd();
Línea -... Línea 1038...
-
 
1038
    
-
 
1039
 
-
 
1040
 
-
 
1041
    var validatorEmploymentType = $('#form-employment-type').validate({
-
 
1042
        debug: true,
-
 
1043
        onclick: false,
-
 
1044
        onkeyup: false,
-
 
1045
        ignore: [],
-
 
1046
        rules: {
-
 
1047
            'employment_type': {
-
 
1048
                required: false,
-
 
1049
            },
-
 
1050
        },
-
 
1051
        submitHandler: function(form)
-
 
1052
        {
-
 
1053
            NProgress.start();
-
 
1054
            $.ajax({
-
 
1055
                'dataType'  : 'json',
-
 
1056
                'accept'    : 'application/json',
-
 
1057
                'method'    : 'post',
-
 
1058
                'url'       :  route_employment_type,
-
 
1059
                'data'      :  $('#form-employment-type').serialize()
-
 
1060
            }).done(function(response) {
-
 
1061
                if(response['success']) {
-
 
1062
					$('#overview-employment-type').html(response['data']);
-
 
1063
                    $("#employment-type-box").modal('hide');
-
 
1064
                } else {
-
 
1065
                    validatorEmploymentType.resetForm();
-
 
1066
                    if(jQuery.type(response['data']) == 'string') {
-
 
1067
                        $.fn.showError(response['data']);
-
 
1068
                    } else  {
-
 
1069
                        $.each(response['data'], function( fieldname, errors ) {
-
 
1070
                            $.fn.showFormErrorValidator('#form-employment-type #' + fieldname, errors);
-
 
1071
                        });
-
 
1072
                    }
-
 
1073
                }
-
 
1074
            }).fail(function( jqXHR, textStatus, errorThrown) {
-
 
1075
                $.fn.showError(textStatus);
-
 
1076
            }).always(function() {
-
 
1077
                NProgress.done();
-
 
1078
            });
-
 
1079
            return false;
-
 
1080
        },
-
 
1081
        invalidHandler: function(form, validator) {
-
 
1082
        
-
 
1083
        }
-
 
1084
    });
-
 
1085
    
-
 
1086
    $('.btn-employment-type-edit').on("click", function(e){
-
 
1087
        e.preventDefault();
-
 
1088
        
-
 
1089
        NProgress.start();
-
 
1090
        $.ajax({
-
 
1091
            'dataType'  : 'json',
-
 
1092
            'accept'    : 'application/json',
-
 
1093
            'method'    : 'get',
-
 
1094
            'url'       : route_employment_type,
-
 
1095
        }).done(function(response) {
-
 
1096
           if(response['success']) {
-
 
1097
                $('#form-employment-type #employment_type').val(response['data']).trigger('change');
-
 
1098
                validatorEmploymentType.resetForm();
-
 
1099
                $("#employment-type-box").modal('show');
-
 
1100
            } else {
-
 
1101
                $.fn.showError(response['data']);
-
 
1102
            }
-
 
1103
        }).fail(function( jqXHR, textStatus, errorThrown) {
-
 
1104
            $.fn.showError(textStatus);
-
 
1105
        }).always(function() {
-
 
1106
            NProgress.done();
-
 
1107
        });
-
 
1108
        return false;
-
 
1109
        
-
 
1110
    });
-
 
1111
    
-
 
1112
    $('.btn-employment-type-close').on("click", function(e){
-
 
1113
        e.preventDefault();
-
 
1114
        
-
 
1115
        $("#employment-type-box").modal('hide');
-
 
1116
        return false;
-
 
1117
    });
-
 
1118
 
-
 
1119
    var validatorSalary = $('#form-salary').validate({
-
 
1120
        debug: true,
-
 
1121
        onclick: false,
-
 
1122
        onkeyup: false,
-
 
1123
        ignore: [],
-
 
1124
        rules: {
-
 
1125
            'salary_visible': {
-
 
1126
                required: false,
-
 
1127
            },
-
 
1128
            'salary_min': {
-
 
1129
                required:  '#form-salary #salary_visible:checked',
-
 
1130
                number: true,
-
 
1131
                maxlength: 10,
-
 
1132
            },
-
 
1133
            'salary currency': {
-
 
1134
                required:  '#form-salary #salary_visible:checked',
-
 
1135
                maxlength: 5,
-
 
1136
            },
-
 
1137
            'salary_max': {
-
 
1138
                required:  '#form-salary #salary_visible:checked',
-
 
1139
                number: true,
-
 
1140
                maxlength: 10,
-
 
1141
                greaterThanFloat : '#form-salary #salary_min',
-
 
1142
            },
-
 
1143
        },
-
 
1144
        submitHandler: function(form)
-
 
1145
        {
-
 
1146
            NProgress.start();
-
 
1147
            $.ajax({
-
 
1148
                'dataType'  : 'json',
-
 
1149
                'accept'    : 'application/json',
-
 
1150
                'method'    : 'post',
-
 
1151
                'url'       :  route_salary,
-
 
1152
                'data'      :  $('#form-salary').serialize()
-
 
1153
            }).done(function(response) {
-
 
1154
                if(response['success']) {
-
 
1155
					$('#overview-salary').html(response['data']);
-
 
1156
                    $("#salary-box").modal('hide');
-
 
1157
                } else {
-
 
1158
                    validatorSalary.resetForm();
-
 
1159
                    if(jQuery.type(response['data']) == 'string') {
-
 
1160
                        $.fn.showError(response['data']);
-
 
1161
                    } else  {
-
 
1162
                        $.each(response['data'], function( fieldname, errors ) {
-
 
1163
                            $.fn.showFormErrorValidator('#form-salary #' + fieldname, errors);
-
 
1164
                        });
-
 
1165
                    }
-
 
1166
                }
-
 
1167
            }).fail(function( jqXHR, textStatus, errorThrown) {
-
 
1168
                $.fn.showError(textStatus);
-
 
1169
            }).always(function() {
-
 
1170
                NProgress.done();
-
 
1171
            });
-
 
1172
            return false;
-
 
1173
        },
-
 
1174
        invalidHandler: function(form, validator) {
-
 
1175
        
-
 
1176
        }
-
 
1177
    });
-
 
1178
    
-
 
1179
    $('.btn-salary-edit').on("click", function(e){
-
 
1180
        e.preventDefault();
-
 
1181
        
-
 
1182
        NProgress.start();
-
 
1183
        $.ajax({
-
 
1184
            'dataType'  : 'json',
-
 
1185
            'accept'    : 'application/json',
-
 
1186
            'method'    : 'get',
-
 
1187
            'url'       : route_salary,
-
 
1188
        }).done(function(response) {
-
 
1189
           if(response['success']) {
-
 
1190
                if(response['data']['salary_visible'] == 'y') {
-
 
1191
                    $('#form-salary #salary_visible').bootstrapToggle('on')
-
 
1192
                    $('#form-salary #salary_min').val(response['data']['salary_min']);
-
 
1193
                    $('#form-salary #salary_min').prop('readonly', false);
-
 
1194
                    $('#form-salary #salary_max').val(response['data']['salary_max']);
-
 
1195
                    $('#form-salary #salary_max').prop('readonly', false);
-
 
1196
                    $('#form-salary #salary_currency').val(response['data']['salary_currency']);
-
 
1197
                    $('#form-salary #salary_currency').prop('disable',false);      
-
 
1198
                } else {
-
 
1199
                    $('#form-salary #salary_visible').bootstrapToggle('off')
-
 
1200
                    $('#form-salary #salary_min').val('1');
-
 
1201
                    $('#form-salary #salary_min').prop('readonly', true);
-
 
1202
                    $('#form-salary #salary_max').val('99');
-
 
1203
                    $('#form-salary #salary_max').prop('readonly', true);
-
 
1204
                    $('#form-salary #salary_currency').val('USD');
-
 
1205
                    $('#form-salary #salary_currency').prop('disable',true);    
-
 
1206
                }
-
 
1207
                validatorSalary.resetForm();
-
 
1208
                $("#salary-box").modal('show');
-
 
1209
            } else {
-
 
1210
                $.fn.showError(response['data']);
-
 
1211
            }
-
 
1212
        }).fail(function( jqXHR, textStatus, errorThrown) {
-
 
1213
            $.fn.showError(textStatus);
-
 
1214
        }).always(function() {
-
 
1215
            NProgress.done();
-
 
1216
        });
-
 
1217
        return false;
-
 
1218
        
-
 
1219
    });
-
 
1220
    
-
 
1221
    $('.btn-salary-close').on("click", function(e){
-
 
1222
        e.preventDefault();
-
 
1223
        
-
 
1224
        $("#salary-box").modal('hide');
-
 
1225
        return false;
-
 
1226
    });
-
 
1227
 
-
 
1228
    var validatorExperience = $('#form-experience').validate({
-
 
1229
        debug: true,
-
 
1230
        onclick: false,
-
 
1231
        onkeyup: false,
-
 
1232
        ignore: [],
-
 
1233
        rules: {
-
 
1234
            'experience_visible': {
-
 
1235
                required: false,
-
 
1236
            },
-
 
1237
            'experience_min': {
-
 
1238
                required:  '#form-experience #experience_visible:checked',
-
 
1239
                digits: true,
-
 
1240
                maxlength: 2,
-
 
1241
            },
-
 
1242
            'experience_max': {
-
 
1243
                required:  '#form-experience #experience_visible:checked',
-
 
1244
                digits: true,
-
 
1245
                maxlength: 4,
-
 
1246
                greaterThan : '#form-experience #experience_min',
-
 
1247
            },
-
 
1248
        },
-
 
1249
        submitHandler: function(form)
-
 
1250
        {
-
 
1251
            NProgress.start();
-
 
1252
            $.ajax({
-
 
1253
                'dataType'  : 'json',
-
 
1254
                'accept'    : 'application/json',
-
 
1255
                'method'    : 'post',
-
 
1256
                'url'       :  route_experience,
-
 
1257
                'data'      :  $('#form-experience').serialize()
-
 
1258
            }).done(function(response) {
-
 
1259
                if(response['success']) {
-
 
1260
					$('#overview-experience').html(response['data']);
-
 
1261
                    $("#experience-box").modal('hide');
-
 
1262
                } else {
-
 
1263
                    validatorExperience.resetForm();
-
 
1264
                    if(jQuery.type(response['data']) == 'string') {
-
 
1265
                        $.fn.showError(response['data']);
-
 
1266
                    } else  {
-
 
1267
                        $.each(response['data'], function( fieldname, errors ) {
-
 
1268
                            $.fn.showFormErrorValidator('#form-experience #' + fieldname, errors);
-
 
1269
                        });
-
 
1270
                    }
-
 
1271
                }
-
 
1272
            }).fail(function( jqXHR, textStatus, errorThrown) {
-
 
1273
                $.fn.showError(textStatus);
-
 
1274
            }).always(function() {
-
 
1275
                NProgress.done();
-
 
1276
            });
-
 
1277
            return false;
-
 
1278
        },
-
 
1279
        invalidHandler: function(form, validator) {
-
 
1280
        
-
 
1281
        }
-
 
1282
    });
-
 
1283
    
-
 
1284
    $('.btn-experience-edit').on("click", function(e){
-
 
1285
        e.preventDefault();
-
 
1286
        
-
 
1287
        NProgress.start();
-
 
1288
        $.ajax({
-
 
1289
            'dataType'  : 'json',
-
 
1290
            'accept'    : 'application/json',
-
 
1291
            'method'    : 'get',
-
 
1292
            'url'       : route_experience,
-
 
1293
        }).done(function(response) {
-
 
1294
           if(response['success']) {
-
 
1295
                if(response['data']['experience_visible'] == 'y') {
-
 
1296
                    $('#form-experience #experience_visible').bootstrapToggle('on')
-
 
1297
                    $('#form-experience #experience_min').val(response['data']['experience_min']);
-
 
1298
                    $('#form-experience #experience_min').prop('readonly', false);
-
 
1299
                    $('#form-experience #experience_max').val(response['data']['experience_max']);
-
 
1300
                    $('#form-experience #experience_max').prop('readonly', false);
-
 
1301
                } else {
-
 
1302
                    $('#form-experience #experience_visible').bootstrapToggle('off')
-
 
1303
                    $('#form-experience #experience_min').val('1');
-
 
1304
                    $('#form-experience #experience_min').prop('readonly', true);
-
 
1305
                    $('#form-experience #experience_max').val('5');
-
 
1306
                    $('#form-experience #experience_max').prop('readonly', true);
-
 
1307
                }
-
 
1308
 
-
 
1309
                validatorExperience.resetForm();
-
 
1310
                $("#experience-box").modal('show');
-
 
1311
            } else {
-
 
1312
                $.fn.showError(response['data']);
-
 
1313
            }
-
 
1314
        }).fail(function( jqXHR, textStatus, errorThrown) {
-
 
1315
            $.fn.showError(textStatus);
-
 
1316
        }).always(function() {
-
 
1317
            NProgress.done();
-
 
1318
        });
-
 
1319
        return false;
-
 
1320
        
-
 
1321
    });
-
 
1322
    
-
 
1323
    $('.btn-experience-close').on("click", function(e){
-
 
1324
        e.preventDefault();
-
 
1325
        
-
 
1326
        $("#experience-box").modal('hide');
-
 
1327
        return false;
-
 
1328
    });
-
 
1329
 
-
 
1330
 
-
 
1331
    $('.btn-skills-edit').on("click", function(e){
-
 
1332
        e.preventDefault();
-
 
1333
 
-
 
1334
        NProgress.start();
-
 
1335
        $.ajax({
-
 
1336
            'dataType'  : 'json',
-
 
1337
            'accept'    : 'application/json',
-
 
1338
            'method'    : 'get',
-
 
1339
            'url'       : route_skills,
-
 
1340
        }).done(function(response) {
-
 
1341
           if(response['success']) {
-
 
1342
                $('#form-skill #skills').val(response['data']).trigger('change');
-
 
1343
                validatorSkills.resetForm();
-
 
1344
                
-
 
1345
                $('#skills-box').modal('show');
-
 
1346
            } else {
-
 
1347
                $.fn.showError(response['data']);
-
 
1348
            }
-
 
1349
        }).fail(function( jqXHR, textStatus, errorThrown) {
-
 
1350
            $.fn.showError(textStatus);
-
 
1351
        }).always(function() {
-
 
1352
            NProgress.done();
-
 
1353
        });
-
 
1354
        return false;
-
 
1355
 
-
 
1356
    });
-
 
1357
    
-
 
1358
    $('.btn-skills-close').on("click", function(e){
-
 
1359
        e.preventDefault();
-
 
1360
            
-
 
1361
        $('#skills-box').modal('hide');
-
 
1362
        return false;
-
 
1363
    });
-
 
1364
    
-
 
1365
    var validatorSkills = $('#form-skill').validate({
-
 
1366
        debug: true,
-
 
1367
        onclick: false,
-
 
1368
        onkeyup: false,
-
 
1369
         onfocusout: false,
-
 
1370
        ignore: [],
-
 
1371
        rules: {
-
 
1372
            'skills[]': {
-
 
1373
                required: true,
-
 
1374
            }
-
 
1375
        },
-
 
1376
        submitHandler: function(form)
-
 
1377
        {
-
 
1378
            NProgress.start();
-
 
1379
            $.ajax({
-
 
1380
                'dataType'  : 'json',
-
 
1381
                'accept'    : 'application/json',
-
 
1382
                'method'    : 'post',
-
 
1383
                'url'       :  route_skills,
-
 
1384
                'data'      :  {
-
 
1385
                    'skills[]' : $('#form-skill #skills').val()
-
 
1386
                },
-
 
1387
            }).done(function(response) {
-
 
1388
                if(response['success']) {
-
 
1389
 
-
 
1390
					$('#list-skills').empty();
-
 
1391
                    $.each(response['data'], function(index, item) {
-
 
1392
                        $('#list-skills').append('<li><a href="#" title="">' + item.label + '</a></li>');
-
 
1393
                    });                     
-
 
1394
        						
-
 
1395
                    $("#skills-box").modal('hide');
-
 
1396
                } else {
-
 
1397
                    validatorSkills.resetForm();
-
 
1398
                    if(jQuery.type(response['data']) == 'string') {
-
 
1399
                        $.fn.showError(response['data']);
-
 
1400
                    } else  {
-
 
1401
                        $.each(response['data'], function( fieldname, errors ) {
-
 
1402
                            $.fn.showFormErrorValidator('#form-skill #' + fieldname, errors);
-
 
1403
                        });
-
 
1404
                    }
-
 
1405
                }
-
 
1406
            }).fail(function( jqXHR, textStatus, errorThrown) {
-
 
1407
                $.fn.showError(textStatus);
-
 
1408
            }).always(function() {
-
 
1409
                NProgress.done();
-
 
1410
            });
-
 
1411
            return false;
-
 
1412
        },
-
 
1413
        invalidHandler: function(form, validator) {
-
 
1414
        
-
 
1415
        }
-
 
1416
    });
-
 
1417
    
-
 
1418
 
-
 
1419
    
-
 
1420
    var validatorLanguages = $('#form-language').validate({
-
 
1421
        debug: true,
-
 
1422
        onclick: false,
-
 
1423
        onkeyup: false,
-
 
1424
         onfocusout: false,
-
 
1425
        ignore: [],
-
 
1426
        rules: {
-
 
1427
            'languages[]': {
-
 
1428
                required: true,
-
 
1429
            }
-
 
1430
        },
-
 
1431
        submitHandler: function(form)
-
 
1432
        {
-
 
1433
            NProgress.start();
-
 
1434
            $.ajax({
-
 
1435
                'dataType'  : 'json',
-
 
1436
                'accept'    : 'application/json',
-
 
1437
                'method'    : 'post',
-
 
1438
                'url'       :  route_languages,
-
 
1439
                'data'      :  {
-
 
1440
                    'languages[]' : $('#form-language #languages').val()
-
 
1441
                },
-
 
1442
            }).done(function(response) {
-
 
1443
                if(response['success']) {
-
 
1444
 
-
 
1445
					$('#list-languages').empty();
-
 
1446
                    $.each(response['data'], function(index, item) {
-
 
1447
                        $('#list-languages').append('<li><a href="#" title="">' + item.label + '</a></li>');
-
 
1448
                    });                     
-
 
1449
        						
-
 
1450
                    $("#languages-box").modal('hide');
-
 
1451
                } else {
-
 
1452
                    validatorLanguages.resetForm();
-
 
1453
                    if(jQuery.type(response['data']) == 'string') {
-
 
1454
                        $.fn.showError(response['data']);
-
 
1455
                    } else  {
-
 
1456
                        $.each(response['data'], function( fieldname, errors ) {
-
 
1457
                            $.fn.showFormErrorValidator('#form-language #' + fieldname, errors);
-
 
1458
                        });
-
 
1459
                    }
-
 
1460
                }
-
 
1461
            }).fail(function( jqXHR, textStatus, errorThrown) {
-
 
1462
                $.fn.showError(textStatus);
-
 
1463
            }).always(function() {
-
 
1464
                NProgress.done();
-
 
1465
            });
-
 
1466
            return false;
-
 
1467
        },
-
 
1468
        invalidHandler: function(form, validator) {
-
 
1469
        
-
 
1470
        }
-
 
1471
    });
-
 
1472
 
-
 
1473
    $('.btn-languages-edit').on("click", function(e){
-
 
1474
        e.preventDefault();
-
 
1475
 
-
 
1476
        NProgress.start();
-
 
1477
        $.ajax({
-
 
1478
            'dataType'  : 'json',
-
 
1479
            'accept'    : 'application/json',
-
 
1480
            'method'    : 'get',
-
 
1481
            'url'       : route_languages,
-
 
1482
        }).done(function(response) {
-
 
1483
           if(response['success']) {
-
 
1484
                $('#form-language #languages').val(response['data']).trigger('change');
-
 
1485
                validatorLanguages.resetForm();
-
 
1486
 
-
 
1487
                $("#languages-box").modal('show');
-
 
1488
            } else {
-
 
1489
                $.fn.showError(response['data']);
-
 
1490
            }
-
 
1491
        }).fail(function( jqXHR, textStatus, errorThrown) {
-
 
1492
            $.fn.showError(textStatus);
-
 
1493
        }).always(function() {
-
 
1494
            NProgress.done();
-
 
1495
        });
-
 
1496
        return false;
-
 
1497
 
-
 
1498
    });
-
 
1499
    
-
 
1500
    $('.btn-languages-close').on("click", function(e){
-
 
1501
        e.preventDefault();
-
 
1502
        
-
 
1503
        $("#languages-box").modal('hide');
-
 
1504
        return false;
-
 
1505
    });
-
 
1506
 
-
 
1507
 
-
 
1508
    var validatorDegrees = $('#form-degree').validate({
-
 
1509
        debug: true,
-
 
1510
        onclick: false,
-
 
1511
        onkeyup: false,
-
 
1512
         onfocusout: false,
-
 
1513
        ignore: [],
-
 
1514
        rules: {
-
 
1515
            'degrees[]': {
-
 
1516
                required: true,
-
 
1517
            }
-
 
1518
        },
-
 
1519
        submitHandler: function(form)
-
 
1520
        {
-
 
1521
            NProgress.start();
-
 
1522
            $.ajax({
-
 
1523
                'dataType'  : 'json',
-
 
1524
                'accept'    : 'application/json',
-
 
1525
                'method'    : 'post',
-
 
1526
                'url'       :  route_degrees,
-
 
1527
                'data'      :  {
-
 
1528
                    'degrees[]' : $('#form-degree #degrees').val()
-
 
1529
                },
-
 
1530
            }).done(function(response) {
-
 
1531
                if(response['success']) {
-
 
1532
 
-
 
1533
					$('#list-degrees').empty();
-
 
1534
                    $.each(response['data'], function(index, item) {
-
 
1535
                        $('#list-degrees').append('<li><a href="#" title="">' + item.label + '</a></li>');
-
 
1536
                    });                     
-
 
1537
        						
-
 
1538
                    $("#degrees-box").modal('hide');
-
 
1539
                } else {
-
 
1540
                    validatorDegrees.resetForm();
-
 
1541
                    if(jQuery.type(response['data']) == 'string') {
-
 
1542
                        $.fn.showError(response['data']);
-
 
1543
                    } else  {
-
 
1544
                        $.each(response['data'], function( fieldname, errors ) {
-
 
1545
                            $.fn.showFormErrorValidator('#form-degree #' + fieldname, errors);
-
 
1546
                        });
-
 
1547
                    }
-
 
1548
                }
-
 
1549
            }).fail(function( jqXHR, textStatus, errorThrown) {
-
 
1550
                $.fn.showError(textStatus);
-
 
1551
            }).always(function() {
-
 
1552
                NProgress.done();
-
 
1553
            });
-
 
1554
            return false;
-
 
1555
        },
-
 
1556
        invalidHandler: function(form, validator) {
-
 
1557
        
-
 
1558
        }
-
 
1559
    });
-
 
1560
 
-
 
1561
    $('.btn-degrees-edit').on("click", function(e){
-
 
1562
        e.preventDefault();
-
 
1563
 
-
 
1564
        NProgress.start();
-
 
1565
        $.ajax({
-
 
1566
            'dataType'  : 'json',
-
 
1567
            'accept'    : 'application/json',
-
 
1568
            'method'    : 'get',
-
 
1569
            'url'       : route_degrees,
-
 
1570
        }).done(function(response) {
-
 
1571
           if(response['success']) {
-
 
1572
                $('#form-degree #degrees').val(response['data']).trigger('change');
-
 
1573
                validatorDegrees.resetForm();
-
 
1574
 
-
 
1575
                $("#degrees-box").modal('show');
-
 
1576
            } else {
-
 
1577
                $.fn.showError(response['data']);
-
 
1578
            }
-
 
1579
        }).fail(function( jqXHR, textStatus, errorThrown) {
-
 
1580
            $.fn.showError(textStatus);
-
 
1581
        }).always(function() {
-
 
1582
            NProgress.done();
-
 
1583
        });
-
 
1584
        return false;
-
 
1585
 
-
 
1586
    });
-
 
1587
    
-
 
1588
    $('.btn-degrees-close').on("click", function(e){
-
 
1589
        e.preventDefault();
-
 
1590
        
-
 
1591
        $("#degrees-box").modal('hide');
-
 
1592
        return false;
-
 
1593
    });
-
 
1594
 
-
 
1595
 
-
 
1596
    $('#form-degree #degrees').select2({ 
-
 
1597
        theme: 'bootstrap4',
-
 
1598
        width: '100%',
-
 
1599
        placeholder: 'LABEL_SELECT_DEGREE' 
-
 
1600
    });
-
 
1601
 
-
 
1602
    $('#form-skill #skills').select2({ 
-
 
1603
        theme: 'bootstrap4',
-
 
1604
        width: '100%', 
-
 
1605
        placeholder: 'LABEL_SELECT_ONE_SKILLS'
-
 
1606
    });
-
 
1607
 
-
 
1608
    $('#form-language #languages').select2({ 
-
 
1609
        theme: 'bootstrap4',
-
 
1610
        width: '100%', 
-
 
1611
        placeholder: 'LABEL_SELECT_ONE_LANGUAGE'
-
 
1612
    });
-
 
1613
 
-
 
1614
 
-
 
1615
    
-
 
1616
    $('#form-last-date-of-application #last_date_of_application').datetimepicker({
-
 
1617
        locale: 'es',
-
 
1618
        format: 'DD/MM/YYYY'
-
 
1619
    });
-
 
1620
 
-
 
1621
    $('#form-salary #salary_visible').bootstrapToggle({'on' : 'LABEL_SHOW',  'off' : 'LABEL_NO_SHOW', 'width' : '160px', 'height' : '40px'});
-
 
1622
    $('#form-salary #salary_min').inputNumberFormat({ 'decimal': 2 });
-
 
1623
    $('#form-salary #salary_max').inputNumberFormat({ 'decimal': 2 });
-
 
1624
 
-
 
1625
    $('#form-salary #salary_visible').change(function(e) {
-
 
1626
        e.preventDefault();
-
 
1627
 
-
 
1628
        if($(this).prop('checked')) {
-
 
1629
            $('#form-salary #salary_min').prop('readonly', false);
-
 
1630
            $('#form-salary #salary_max').prop('readonly', false);
-
 
1631
            $('#form-salary #salary_currency').prop('disabled', false);
-
 
1632
        } else {
-
 
1633
            $('#form-salary #salary_min').val('1');
-
 
1634
            $('#form-salary #salary_max').val('99');
-
 
1635
            $('#form-salary #salary_min').prop('readonly', true);
-
 
1636
            $('#form-salary #salary_max').prop('readonly', true);
-
 
1637
            $('#form-salary #salary_currency').prop('disabled', true);
-
 
1638
        }
-
 
1639
    });
-
 
1640
 
-
 
1641
    $('#form-experience #experience_visible').bootstrapToggle({'on' : 'LABEL_SHOW',  'off' : 'LABEL_NO_SHOW', 'width' : '160px', 'height' : '40px'});
-
 
1642
    $('#form-experience #experience_min').inputNumberFormat({ 'decimal': 0 });
-
 
1643
    $('#form-experience #experience_max').inputNumberFormat({ 'decimal': 0 });
-
 
1644
 
-
 
1645
    $('#form-experience #experience_visible').change(function(e) {
-
 
1646
        e.preventDefault();
-
 
1647
 
-
 
1648
        if($(this).prop('checked')) {
-
 
1649
            $('#form-experience #experience_min').prop('readonly', false);
-
 
1650
            $('#form-experience #experience_max').prop('readonly', false);
-
 
1651
        } else {
-
 
1652
            $('#form-experience #experience_min').val('1');
-
 
1653
            $('#form-experience #experience_max').val('5');
-
 
1654
            $('#form-experience #experience_min').prop('readonly', true);
-
 
1655
            $('#form-experience #experience_max').prop('readonly', true);
-
 
1656
       }
-
 
1657
    });
-
 
1658
 
-
 
1659
 
-
 
1660
    var validatorStatus = $('#form-status').validate({
-
 
1661
        debug: true,
-
 
1662
        onclick: false,
-
 
1663
        onkeyup: false,
-
 
1664
        ignore: [],
-
 
1665
        rules: {
-
 
1666
            'status': {
-
 
1667
                required: false,
-
 
1668
            },
-
 
1669
        },
-
 
1670
        submitHandler: function(form)
-
 
1671
        {
-
 
1672
            NProgress.start();
-
 
1673
            $.ajax({
-
 
1674
                'dataType'  : 'json',
-
 
1675
                'accept'    : 'application/json',
-
 
1676
                'method'    : 'post',
-
 
1677
                'url'       :  route_status,
-
 
1678
                'data'      :  $('#form-status').serialize()
-
 
1679
            }).done(function(response) {
-
 
1680
                if(response['success']) {
-
 
1681
					$('#overview-status').html(response['data']['status']);
-
 
1682
                    $("#status-box").modal('hide');
-
 
1683
                } else {
-
 
1684
                    validatorStatus.resetForm();
-
 
1685
                    if(jQuery.type(response['data']) == 'string') {
-
 
1686
                        $.fn.showError(response['data']);
-
 
1687
                    } else  {
-
 
1688
                        $.each(response['data'], function( fieldname, errors ) {
-
 
1689
                            $.fn.showFormErrorValidator('#form-status #' + fieldname, errors);
-
 
1690
                        });
-
 
1691
                    }
-
 
1692
                }
-
 
1693
            }).fail(function( jqXHR, textStatus, errorThrown) {
-
 
1694
                $.fn.showError(textStatus);
-
 
1695
            }).always(function() {
-
 
1696
                NProgress.done();
-
 
1697
            });
-
 
1698
            return false;
-
 
1699
        },
-
 
1700
        invalidHandler: function(form, validator) {
-
 
1701
        
-
 
1702
        }
-
 
1703
    });
-
 
1704
    
-
 
1705
    $('.btn-status-edit').on("click", function(e){
-
 
1706
        e.preventDefault();
-
 
1707
        
-
 
1708
        NProgress.start();
-
 
1709
        $.ajax({
-
 
1710
            'dataType'  : 'json',
-
 
1711
            'accept'    : 'application/json',
-
 
1712
            'method'    : 'get',
-
 
1713
            'url'       : route_status,
-
 
1714
        }).done(function(response) {
-
 
1715
           if(response['success']) {
-
 
1716
                $('#form-status #status').val(response['data']['status']);
-
 
1717
                validatorStatus.resetForm();
-
 
1718
                $("#status-box").modal('show');
-
 
1719
            } else {
-
 
1720
                $.fn.showError(response['data']);
-
 
1721
            }
-
 
1722
        }).fail(function( jqXHR, textStatus, errorThrown) {
-
 
1723
            $.fn.showError(textStatus);
-
 
1724
        }).always(function() {
-
 
1725
            NProgress.done();
-
 
1726
        });
-
 
1727
        return false;
-
 
1728
        
-
 
1729
    });
-
 
1730
    
-
 
1731
    $('.btn-status-close').on("click", function(e){
-
 
1732
        e.preventDefault();
-
 
1733
        
-
 
1734
        $("#status-box").modal('hide');
-
 
1735
        return false;
-
 
1736
    });
-
 
1737
    
-
 
1738
 
-
 
1739
    var validatorTitle = $('#form-title').validate({
-
 
1740
        debug: true,
-
 
1741
        onclick: false,
-
 
1742
        onkeyup: false,
-
 
1743
        ignore: [],
-
 
1744
        rules: {
-
 
1745
            'title': {
-
 
1746
                required: true,
-
 
1747
                maxlength: 128,
-
 
1748
            },
-
 
1749
        },
-
 
1750
        submitHandler: function(form)
-
 
1751
        {
-
 
1752
            NProgress.start();
-
 
1753
            $.ajax({
-
 
1754
                'dataType'  : 'json',
-
 
1755
                'accept'    : 'application/json',
-
 
1756
                'method'    : 'post',
-
 
1757
                'url'       :  route_title,
-
 
1758
                'data'      :  $('#form-title').serialize()
-
 
1759
            }).done(function(response) {
-
 
1760
                if(response['success']) {
-
 
1761
					$('#overview-title').html(response['data']['title']);
-
 
1762
                    $("#title-box").modal('hide');
-
 
1763
                } else {
-
 
1764
                    validatorTitle.resetForm();
-
 
1765
                    if(jQuery.type(response['data']) == 'string') {
-
 
1766
                        $.fn.showError(response['data']);
-
 
1767
                    } else  {
-
 
1768
                        $.each(response['data'], function( fieldname, errors ) {
-
 
1769
                            $.fn.showFormErrorValidator('#form-title #' + fieldname, errors);
-
 
1770
                        });
-
 
1771
                    }
-
 
1772
                }
-
 
1773
            }).fail(function( jqXHR, textTitle, errorThrown) {
-
 
1774
                $.fn.showError(textTitle);
-
 
1775
            }).always(function() {
-
 
1776
                NProgress.done();
-
 
1777
            });
-
 
1778
            return false;
-
 
1779
        },
-
 
1780
        invalidHandler: function(form, validator) {
-
 
1781
        
-
 
1782
        }
-
 
1783
    });
-
 
1784
    
-
 
1785
    $('.btn-title-edit').on("click", function(e){
-
 
1786
        e.preventDefault();
-
 
1787
        
-
 
1788
        NProgress.start();
-
 
1789
        $.ajax({
-
 
1790
            'dataType'  : 'json',
-
 
1791
            'accept'    : 'application/json',
-
 
1792
            'method'    : 'get',
-
 
1793
            'url'       : route_title,
-
 
1794
        }).done(function(response) {
-
 
1795
           if(response['success']) {
-
 
1796
                $('#form-title #title').val(response['data']['title'] );
-
 
1797
                validatorTitle.resetForm();
-
 
1798
                $("#title-box").modal('show');
-
 
1799
            } else {
-
 
1800
                $.fn.showError(response['data']);
-
 
1801
            }
-
 
1802
        }).fail(function( jqXHR, textTitle, errorThrown) {
-
 
1803
            $.fn.showError(textTitle);
-
 
1804
        }).always(function() {
-
 
1805
            NProgress.done();
-
 
1806
        });
-
 
1807
        return false;
-
 
1808
        
-
 
1809
    });
-
 
1810
    
-
 
1811
    $('.btn-title-close').on("click", function(e){
-
 
1812
        e.preventDefault();
-
 
1813
        
-
 
1814
        $("#title-box").modal('hide');
-
 
1815
        return false;
-
 
1816
    });
-
 
1817
 
-
 
1818
    $('h1.btn-edit-back').on("click", function(e){
-
 
1819
        e.preventDefault();
-
 
1820
 
-
 
1821
 
-
 
1822
        
-
 
1823
        $('#divEdit').hide();
-
 
1824
        $('#divListing').show();
-
 
1825
        return false;
-
 
1826
    });
56
JS;
1827
 
-
 
1828
 
-
 
1829
    CKEDITOR.replace('description', {
-
 
1830
        toolbar: [
-
 
1831
            { name: 'editing', items: [ 'Scayt' ] },
-
 
1832
            { name: 'links', items: [ 'Link', 'Unlink'] },
-
 
1833
            { name: 'paragraph', items: [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', 'Blockquote' ] },
-
 
1834
            { name: 'basicstyles', items: [ 'Bold', 'Italic', 'Strike', 'RemoveFormat' ] },
57
 
1835
            '/',
-
 
1836
            { name: 'insert', items: [ 'Image', 'Table', 'HorizontalRule', 'SpecialChar' ] },
-
 
1837
            { name: 'styles', items: [ 'Styles', 'Format' ] },
-
 
1838
            { name: 'tools', items: [ 'Maximize' ] }
-
 
1839
        ],
-
 
1840
        removePlugins: 'elementspath,Anchor',
-
 
1841
        height: 100
-
 
1842
    });
-
 
1843
    
-
 
1844
    autocompleteLocation.addListener('place_changed', $.fn.fillInAddressLocation);
-
 
1845
    autocompleteLocationNew.addListener('place_changed', $.fn.fillInAddressNewLocation);
58
$this->inlineScript()->appendScript($js);
1846
});
59
$this->headLink()->appendStylesheet('/react-bundles/jobs/main.css');
1847
JS;
Línea 60... Línea 1848...
60
$this->inlineScript()->appendFile('/react-bundles/jobs/jobsBundle.js');
1848
$this->inlineScript()->captureEnd();
61
?>
1849
?>
-
 
1850
 
-
 
1851
<!-- Content Header (Page header) -->
-
 
1852
<div id="divListing">
-
 
1853
 
-
 
1854
    <section class="content-header">
-
 
1855
        <div class="container-fluid">
-
 
1856
            <div class="row mb-2">
-
 
1857
                <div class="col-sm-12">
-
 
1858
                    <h1>LABEL_JOBS</h1>
-
 
1859
                </div>
-
 
1860
            </div>
-
 
1861
        </div><!-- /.container-fluid -->
-
 
1862
    </section>
-
 
1863
 
-
 
1864
    <section class="content">
-
 
1865
        <div class="container-fluid">
-
 
1866
            <div class="row">
-
 
1867
                <div class="col-12">
-
 
1868
                    <div class="card">
-
 
1869
                        <div class="card-body">
-
 
1870
                            <table id="gridTable" class="table   table-hover">
-
 
1871
                                <thead>
-
 
1872
                                    <tr>
-
 
1873
 
-
 
1874
                                        <th>LABEL_LAST_DATE_OF_APPLICATION</th>
-
 
1875
                                        <th>LABEL_TITLE</th>
-
 
1876
                                        <th>LABEL_DETAILS</th>
-
 
1877
                                        <th>LABEL_ACTIONS</th>
-
 
1878
                                    </tr>
-
 
1879
                                </thead>
-
 
1880
                                <tbody>
-
 
1881
                                </tbody>
-
 
1882
                            </table>
-
 
1883
                        </div>
-
 
1884
                        <div class="card-footer clearfix">
-
 
1885
                            <div style="float:right;">
-
 
1886
                                <button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH </button>
-
 
1887
                                <?php if ($allowAdd) : ?>
-
 
1888
                                    <button type="button" class="btn btn-primary btn-add"><i class="fa fa-plus"></i> LABEL_ADD </button>
-
 
1889
                                <?php endif; ?>
-
 
1890
                            </div>
-
 
1891
                        </div>
-
 
1892
                    </div>
-
 
1893
                </div>
-
 
1894
            </div>
-
 
1895
        </div>
-
 
1896
    </section>
-
 
1897
</div>
-
 
1898
 
-
 
1899
<div id="divEdit" style="display: none">
-
 
1900
 
-
 
1901
    <section class="content-header">
-
 
1902
        <div class="container-fluid">
-
 
1903
            <div class="row mb-2">
-
 
1904
                <div class="col-sm-12">
-
 
1905
                    <h1 class="btn-edit-back"><i class="fa fa-chevron-left" aria-hidden="true"></i> LABEL_EDIT_JOB</h1>
-
 
1906
 
-
 
1907
                </div>
-
 
1908
            </div>
-
 
1909
        </div><!-- /.container-fluid -->
-
 
1910
    </section>
-
 
1911
 
-
 
1912
    <section class="content">
-
 
1913
        <div class="container-fluid">
-
 
1914
 
-
 
1915
            <div class="row">
-
 
1916
                <div class="col-lg-3">
-
 
1917
                </div>
-
 
1918
                <div class="col-lg-6">
-
 
1919
                    <div class="main-ws-sec">
-
 
1920
 
-
 
1921
                        <!--user-profile-ov end -->
-
 
1922
                        <div class="user-profile-ov">
-
 
1923
                            <h3>
-
 
1924
                                LABEL_STATUS <a href="#" title="" class="btn-status-edit"> <i class="fa fa-pencil"></i></a>
-
 
1925
                            </h3>
-
 
1926
                            <p id="overview-status"></p>
-
 
1927
                        </div>
-
 
1928
 
-
 
1929
                        <div class="user-profile-ov">
-
 
1930
                            <h3>LABEL_TITLE
-
 
1931
                                <a href="#" title="" class="btn-title-edit"><i class="fa fa-pencil"></i></a>
-
 
1932
                            </h3>
-
 
1933
                            <p id="overview-title"></p>
-
 
1934
                        </div>
-
 
1935
                        <div class="user-profile-ov">
-
 
1936
                            <h3>LABEL_OVERVIEW
-
 
1937
                                <a href="#" title="" class="btn-extended-edit"><i class="fa fa-pencil"></i></a>
-
 
1938
                            </h3>
-
 
1939
                            <p id="overview-description"></p>
-
 
1940
                        </div>
-
 
1941
                        <!--user-profile-ov end-->
-
 
1942
                        <div class="user-profile-ov st2">
-
 
1943
                            <h3>LABEL_LAST_DATE_OF_APPLICATION
-
 
1944
                                <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>
-
 
1945
                            </h3>
-
 
1946
                            <span id="overview-last-date-of-application"></span>
-
 
1947
                        </div>
-
 
1948
                        <!--user-profile-ov end-->
-
 
1949
                        <div class="user-profile-ov">
-
 
1950
                            <h3>LABEL_EMPLOYMENT_TYPE
-
 
1951
                                <a href="#" title="" class="btn-employment-type-edit"><i class="fa fa-pencil"></i></a>
-
 
1952
                            </h3>
-
 
1953
                            <span id="overview-employment-type"></span>
-
 
1954
                        </div>
-
 
1955
                        <!--user-profile-ov end-->
-
 
1956
                        <div class="user-profile-ov">
-
 
1957
                            <h3>
-
 
1958
                                <a href="#" title="">LABEL_LOCATION</a>
-
 
1959
                                <a href="#" title="" class="btn-location-edit"><i class="fa fa-pencil"></i></a>
-
 
1960
                            </h3>
-
 
1961
                            <span id="overview-location"></span>
-
 
1962
                        </div>
-
 
1963
                        <!--user-profile-ov end-->
-
 
1964
                        <div class="user-profile-ov">
-
 
1965
                            <h3>
-
 
1966
                                LABEL_EXPERIENCE
-
 
1967
                                <a href="#" title="" class="btn-experience-edit"><i class="fa fa-pencil"></i></a>
-
 
1968
                            </h3>
-
 
1969
                            <span id="overview-experience"> </span>
-
 
1970
                        </div>
-
 
1971
                        <!--user-profile-ov end-->
-
 
1972
                        <div class="user-profile-ov">
-
 
1973
                            <h3>
-
 
1974
                                LABEL_SALARY
-
 
1975
                                <a href="#" title="" class="btn-salary-edit"><i class="fa fa-pencil"></i></a>
-
 
1976
                            </h3>
-
 
1977
                            <span id="overview-salary"></span>
-
 
1978
                        </div>
-
 
1979
                        <!--user-profile-ov end-->
-
 
1980
                        <div class="user-profile-ov">
-
 
1981
                            <h3>
-
 
1982
                                LABEL_CATEGORIE
-
 
1983
                                <a href="#" title="" class="btn-job-category-edit"><i class="fa fa-pencil"></i></a>
-
 
1984
                            </h3>
-
 
1985
                            <span id="overview-job-category"></span>
-
 
1986
                        </div>
-
 
1987
                        <!--user-profile-ov end-->
-
 
1988
                        <div class="user-profile-ov">
-
 
1989
                            <h3>
-
 
1990
                                LABEL_SKILLS <a href="#" title="" class="btn-skills-edit"> <i class="fa fa-pencil"></i></a>
-
 
1991
                            </h3>
-
 
1992
                            <ul id="list-skills">
-
 
1993
 
-
 
1994
 
-
 
1995
                            </ul>
-
 
1996
                        </div>
-
 
1997
                        <!--user-profile-ov end -->
-
 
1998
                        <div class="user-profile-ov">
-
 
1999
                            <h3>
-
 
2000
                                LABEL_LANGUAGES <a href="#" title="" class="btn-languages-edit"> <i class="fa fa-pencil"></i></a>
-
 
2001
                            </h3>
-
 
2002
                            <ul id="list-languages">
-
 
2003
 
-
 
2004
 
-
 
2005
                            </ul>
-
 
2006
                        </div>
-
 
2007
                        <!--user-profile-ov end -->
-
 
2008
                        <div class="user-profile-ov">
-
 
2009
                            <h3>
-
 
2010
                                LABEL_DEGREES <a href="#" title="" class="btn-degrees-edit"> <i class="fa fa-pencil"></i></a>
-
 
2011
                            </h3>
-
 
2012
                            <ul id="list-degrees">
-
 
2013
 
-
 
2014
 
-
 
2015
                            </ul>
-
 
2016
                        </div>
-
 
2017
 
-
 
2018
 
-
 
2019
 
-
 
2020
                    </div>
-
 
2021
                </div>
-
 
2022
                <div class="col-lg-3">
-
 
2023
                </div>
-
 
2024
            </div>
-
 
2025
        </div>
-
 
2026
    </section>
-
 
2027
</div>
-
 
2028
 
-
 
2029
<div class="modal" tabindex="-1" role="dialog" id="add-job-box">
-
 
2030
    <div class="modal-dialog" role="document">
-
 
2031
        <?php
-
 
2032
        $form = $this->formAdd;
-
 
2033
        $form->setAttributes([
-
 
2034
            'method'    => 'post',
-
 
2035
            'name'      => 'form-add',
-
 
2036
            'id'        => 'form-add'
-
 
2037
        ]);
-
 
2038
        $form->prepare();
-
 
2039
        echo $this->form()->openTag($form);
-
 
2040
 
-
 
2041
        $fieldnames = [
-
 
2042
            'formatted_address',
-
 
2043
            'address1',
-
 
2044
            'address2',
-
 
2045
            'country',
-
 
2046
            'state',
-
 
2047
            'city1',
-
 
2048
            'city2',
-
 
2049
            'postal_code',
-
 
2050
            'latitude',
-
 
2051
            'longitude',
-
 
2052
        ];
-
 
2053
 
-
 
2054
        foreach ($fieldnames as $fieldname) {
-
 
2055
 
-
 
2056
            $element = $form->get($fieldname);
-
 
2057
            echo $this->formHidden($element);
-
 
2058
        }
-
 
2059
        ?>
-
 
2060
        <div class="modal-content">
-
 
2061
            <div class="modal-header">
-
 
2062
                <h3 class="modal-title">LABEL_NEW_JOB</h3>
-
 
2063
            </div>
-
 
2064
            <div class="modal-body">
-
 
2065
                <div class="form-group">
-
 
2066
                    <?php
-
 
2067
                    $element = $form->get('title');
-
 
2068
                    $element->setOptions(['label' => 'LABEL_TITLE']);
-
 
2069
                    $element->setAttributes(['class' => 'form-control']);
-
 
2070
                    echo $this->formLabel($element);
-
 
2071
                    echo $this->formText($element);
-
 
2072
                    ?>
-
 
2073
                </div>
-
 
2074
                <div class="form-group">
-
 
2075
                    <?php
-
 
2076
                    $element = $form->get('employment_type');
-
 
2077
                    $element->setAttributes(['class' => 'form-control']);
-
 
2078
                    $element->setOptions(['empty_option' => 'LABEL_SELECT_EMPLOYMENT_TYPE', 'label' => 'LABEL_EMPLOYMENT_TYPE']);
-
 
2079
                    echo $this->formLabel($element);
-
 
2080
                    echo $this->formSelect($element);
-
 
2081
                    ?>
-
 
2082
                </div>
-
 
2083
                <div class="form-group">
-
 
2084
                    <?php
-
 
2085
                    $element = $form->get('last_date_of_application');
-
 
2086
                    $element->setAttributes(['class' => 'form-control']);
-
 
2087
                    $element->setOptions(['label' => 'LABEL_LAST_DATE_OF_APPLICATION']);
-
 
2088
                    echo $this->formLabel($element);
-
 
2089
                    echo $this->formText($element);
-
 
2090
                    ?>
-
 
2091
                </div>
-
 
2092
 
-
 
2093
                <div class="form-group">
-
 
2094
                    <?php
-
 
2095
                    $element = $form->get('job_category_id');
-
 
2096
                    $element->setOptions(['empty_option' => 'LABEL_SELECT_JOB_CATEGORY', 'label' => 'LABEL_JOB_CATEGORY']);
-
 
2097
                    $element->setAttributes(['class' => 'form-control']);
-
 
2098
                    echo $this->formLabel($element);
-
 
2099
                    echo $this->formSelect($element);
-
 
2100
                    ?>
-
 
2101
                </div>
-
 
2102
                <div class="form-group">
-
 
2103
                    <?php
-
 
2104
                    $element = $form->get('location_search');
-
 
2105
                    $element->setAttributes(['name' => 'add_location_search',  'id' => 'add_location_search', 'class' => 'form-control']);
-
 
2106
                    $element->setOptions(['label' => 'LABEL_LOCATION']);
-
 
2107
                    echo $this->formLabel($element);
-
 
2108
                    echo $this->formText($element);
-
 
2109
                    ?>
-
 
2110
                </div>
-
 
2111
            </div>
-
 
2112
 
-
 
2113
            <div class="modal-footer">
-
 
2114
                <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
2115
                <button type="button" class="btn btn-default btn-add-job-cancel">LABEL_CANCEL</button>
-
 
2116
            </div>
-
 
2117
            <?php echo $this->form()->closeTag($form); ?>
-
 
2118
        </div>
-
 
2119
    </div>
-
 
2120
</div>
-
 
2121
 
-
 
2122
 
-
 
2123
<!-- The Modal -->
-
 
2124
<div class="modal" id="modalUsersWhoApplied">
-
 
2125
    <div class="modal-dialog modal-xl">
-
 
2126
        <div class="modal-content">
-
 
2127
 
-
 
2128
            <!-- Modal Header -->
-
 
2129
            <div class="modal-header">
-
 
2130
                <h4 class="modal-title">LABEL_USERS_WHO_APPLIED</h4>
-
 
2131
                <button type="button" class="close" data-dismiss="modal">&times;</button>
-
 
2132
            </div>
-
 
2133
 
-
 
2134
            <!-- Modal body -->
-
 
2135
            <div class="modal-body">
-
 
2136
                <div style="height: 300px;overflow: scroll;">
-
 
2137
                    <table id="gridTableUsersWhoApplied" style="width: 100%" class="table table-bordered table-hover">
-
 
2138
                        <thead>
-
 
2139
                            <tr>
-
 
2140
                                <th>LABEL_FIRST_NAME</th>
-
 
2141
                                <th>LABEL_LAST_NAME</th>
-
 
2142
                                <th>LABEL_EMAIL</th>
-
 
2143
                                <th>LABEL_ACTIONS</th>
-
 
2144
                            </tr>
-
 
2145
                        </thead>
-
 
2146
                        <tbody>
-
 
2147
                        </tbody>
-
 
2148
                    </table>
-
 
2149
                </div>
-
 
2150
 
-
 
2151
            </div>
-
 
2152
 
-
 
2153
            <!-- Modal footer -->
-
 
2154
            <div class="modal-footer">
-
 
2155
                <button type="button" class="btn btn-danger" data-dismiss="modal">LABEL_CLOSE</button>
-
 
2156
            </div>
-
 
2157
 
-
 
2158
        </div>
-
 
2159
    </div>
-
 
2160
</div>
-
 
2161
 
-
 
2162
<div class="modal" tabindex="-1" role="dialog" id="extended-box">
-
 
2163
    <div class="modal-dialog" role="document">
-
 
2164
        <?php
-
 
2165
        $form = $this->formExtended;
-
 
2166
        $form->setAttributes([
-
 
2167
            'method' => 'post',
-
 
2168
            'name' => 'form-extended',
-
 
2169
            'id' => 'form-extended'
-
 
2170
        ]);
-
 
2171
        $form->prepare();
-
 
2172
        echo $this->form()->openTag($form);
-
 
2173
        ?>
-
 
2174
        <div class="modal-content">
-
 
2175
            <div class="modal-header">
-
 
2176
                <h3 class="modal-title">LABEL_OVERVIEW</h3>
-
 
2177
            </div>
-
 
2178
            <div class="modal-body">
-
 
2179
                <div class="form-group">
-
 
2180
                    <?php
-
 
2181
                    $element = $form->get('description');
-
 
2182
                    $element->setOptions(['label' => 'LABEL_OVERVIEW']);
-
 
2183
                    $element->setAttributes(['class' => 'form-control']);
-
 
2184
                    echo $this->formLabel($element);
-
 
2185
                    echo $this->formTextArea($element);
-
 
2186
                    ?>
-
 
2187
                </div>
-
 
2188
            </div>
-
 
2189
            <div class="modal-footer">
-
 
2190
                <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
2191
                <button type="button" class="btn btn-default btn-extended-close">LABEL_CANCEL</button>
-
 
2192
            </div>
-
 
2193
            <?php echo $this->form()->closeTag($form); ?>
-
 
2194
        </div>
-
 
2195
    </div>
-
 
2196
</div>
-
 
2197
 
-
 
2198
<div class="modal" tabindex="-1" role="dialog" id="location-box">
-
 
2199
    <div class="modal-dialog" role="document">
-
 
2200
        <?php
-
 
2201
        $form = $this->formLocation;
-
 
2202
        $form->setAttributes([
-
 
2203
            'method' => 'post',
-
 
2204
            'name' => 'form-location',
-
 
2205
            'id' => 'form-location'
-
 
2206
        ]);
-
 
2207
        $form->prepare();
-
 
2208
        echo $this->form()->openTag($form);
-
 
2209
 
-
 
2210
        $fieldnames = [
-
 
2211
            'formatted_address',
-
 
2212
            'address1',
-
 
2213
            'address2',
-
 
2214
            'country',
-
 
2215
            'state',
-
 
2216
            'city1',
-
 
2217
            'city2',
-
 
2218
            'postal_code',
-
 
2219
            'latitude',
-
 
2220
            'longitude',
-
 
2221
        ];
-
 
2222
 
-
 
2223
        foreach ($fieldnames as $fieldname) {
-
 
2224
 
-
 
2225
            $element = $form->get($fieldname);
-
 
2226
            echo $this->formHidden($element);
-
 
2227
        }
-
 
2228
        ?>
-
 
2229
        <div class="modal-content">
-
 
2230
            <div class="modal-header">
-
 
2231
                <h3 class="modal-title">LABEL_LOCATION</h3>
-
 
2232
            </div>
-
 
2233
            <div class="modal-body">
-
 
2234
                <div class="form-group datefm">
-
 
2235
                    <?php
-
 
2236
                    $element = $form->get('location_search');
-
 
2237
                    $element->setOptions(['label' => 'LABEL_LOCATION']);
-
 
2238
                    $element->setAttributes(['class' => 'form-control']);
-
 
2239
                    echo $this->formLabel($element);
-
 
2240
                    echo $this->formText($element);
-
 
2241
                    ?>
-
 
2242
                    <i class="fa fa-map-marker"></i>
-
 
2243
                </div>
-
 
2244
            </div>
-
 
2245
            <div class="modal-footer">
-
 
2246
                <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
2247
                <button type="button" class="btn btn-default btn-location-close">LABEL_CANCEL</button>
-
 
2248
            </div>
-
 
2249
            <?php echo $this->form()->closeTag($form); ?>
-
 
2250
        </div>
-
 
2251
    </div>
-
 
2252
</div>
-
 
2253
 
-
 
2254
<div class="modal" tabindex="-1" role="dialog" id="employment-type-box">
-
 
2255
    <div class="modal-dialog" role="document">
-
 
2256
        <?php
-
 
2257
        $form = $this->formEmploymentType;
-
 
2258
        $form->setAttributes([
-
 
2259
            'method' => 'post',
-
 
2260
            'name' => 'form-employment-type',
-
 
2261
            'id' => 'form-employment-type'
-
 
2262
        ]);
-
 
2263
        $form->prepare();
-
 
2264
        echo $this->form()->openTag($form);
-
 
2265
        ?>
-
 
2266
        <div class="modal-content">
-
 
2267
            <div class="modal-header">
-
 
2268
                <h3 class="modal-title">LABEL_EMPLOYMENT_TYPE</h3>
-
 
2269
            </div>
-
 
2270
            <div class="modal-body">
-
 
2271
                <div class="form-group">
-
 
2272
                    <?php
-
 
2273
                    $element = $form->get('employment_type');
-
 
2274
                    $element->setOptions(['label' => 'LABEL_EMPLOYMENT_TYPE']);
-
 
2275
                    $element->setAttributes(['class' => 'form-control']);
-
 
2276
                    echo $this->formLabel($element);
-
 
2277
                    echo $this->formSelect($element);
-
 
2278
                    ?>
-
 
2279
                </div>
-
 
2280
            </div>
-
 
2281
            <div class="modal-footer">
-
 
2282
                <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
2283
                <button type="button" class="btn btn-default btn-employment-type-close">LABEL_CANCEL</button>
-
 
2284
            </div>
-
 
2285
            <?php echo $this->form()->closeTag($form); ?>
-
 
2286
        </div>
-
 
2287
    </div>
-
 
2288
</div>
-
 
2289
 
-
 
2290
<div class="modal" tabindex="-1" role="dialog" id="job-category-box">
-
 
2291
    <div class="modal-dialog" role="document">
-
 
2292
        <?php
-
 
2293
        $form = $this->formJobCategory;
-
 
2294
        $form->setAttributes([
-
 
2295
            'method' => 'post',
-
 
2296
            'name' => 'form-job-category',
-
 
2297
            'id' => 'form-job-category'
-
 
2298
        ]);
-
 
2299
        $form->prepare();
-
 
2300
        echo $this->form()->openTag($form);
-
 
2301
        ?>
-
 
2302
        <div class="modal-content">
-
 
2303
            <div class="modal-header">
-
 
2304
                <h3 class="modal-title">LABEL_JOB_CATEGORY</h3>
-
 
2305
            </div>
-
 
2306
            <div class="modal-body">
-
 
2307
                <div class="form-group">
-
 
2308
                    <?php
-
 
2309
                    $element = $form->get('job_category_id');
-
 
2310
                    $element->setOptions(['label' => 'LABEL_JOB_CATEGORY']);
-
 
2311
                    $element->setAttributes(['class' => 'form-control']);
-
 
2312
                    echo $this->formLabel($element);
-
 
2313
                    echo $this->formSelect($element);
-
 
2314
                    ?>
-
 
2315
                </div>
-
 
2316
            </div>
-
 
2317
            <div class="modal-footer">
-
 
2318
                <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
2319
                <button type="button" class="btn btn-default btn-job-category-close">LABEL_CANCEL</button>
-
 
2320
            </div>
-
 
2321
            <?php echo $this->form()->closeTag($form); ?>
-
 
2322
        </div>
-
 
2323
    </div>
-
 
2324
</div>
-
 
2325
 
-
 
2326
<div class="modal" tabindex="-1" role="dialog" id="salary-box">
-
 
2327
    <div class="modal-dialog" role="document">
-
 
2328
        <?php
-
 
2329
        $form = $this->formSalary;
-
 
2330
        $form->setAttributes([
-
 
2331
            'method' => 'post',
-
 
2332
            'name' => 'form-salary',
-
 
2333
            'id' => 'form-salary'
-
 
2334
        ]);
-
 
2335
        $form->prepare();
-
 
2336
        echo $this->form()->openTag($form);
-
 
2337
        ?>
-
 
2338
        <div class="modal-content">
-
 
2339
            <div class="modal-header">
-
 
2340
                <h3 class="modal-title">LABEL_SALARY</h3>
-
 
2341
            </div>
-
 
2342
            <div class="modal-body">
-
 
2343
                <div class="form-group">
-
 
2344
                    <?php
-
 
2345
                    $element = $form->get('salary_visible');
-
 
2346
                    echo $this->formCheckbox($element);
-
 
2347
                    ?>
-
 
2348
                </div>
-
 
2349
                <div class="form-group">
-
 
2350
                    <?php
-
 
2351
                    $element = $form->get('salary_currency');
-
 
2352
                    $element->setAttributes(['class' => 'form-control']);
-
 
2353
                    $element->setOptions(['label' => 'LABEL_CURRENCY']);
-
 
2354
                    echo $this->formLabel($element);
-
 
2355
                    echo $this->formSelect($element);
-
 
2356
                    ?>
-
 
2357
                </div>
-
 
2358
                <div class="form-group">
-
 
2359
                    <?php
-
 
2360
                    $element = $form->get('salary_min');
-
 
2361
                    $element->setOptions(['label' => 'LABEL_MINIMUM']);
-
 
2362
                    $element->setAttributes(['class' => 'form-control']);
-
 
2363
                    echo $this->formLabel($element);
-
 
2364
                    echo $this->formText($element);
-
 
2365
                    ?>
-
 
2366
                </div>
-
 
2367
                <div class="form-group">
-
 
2368
                    <?php
-
 
2369
                    $element = $form->get('salary_max');
-
 
2370
                    $element->setOptions(['label' => 'LABEL_MAXIMUM']);
-
 
2371
                    $element->setAttributes(['class' => 'form-control']);
-
 
2372
                    echo $this->formLabel($element);
-
 
2373
                    echo $this->formText($element);
-
 
2374
                    ?>
-
 
2375
                </div>
-
 
2376
            </div>
-
 
2377
            <div class="modal-footer">
-
 
2378
                <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
2379
                <button type="button" class="btn btn-default btn-salary-close">LABEL_CANCEL</button>
-
 
2380
            </div>
-
 
2381
            <?php echo $this->form()->closeTag($form); ?>
-
 
2382
        </div>
-
 
2383
    </div>
-
 
2384
</div>
-
 
2385
 
-
 
2386
<div class="modal" tabindex="-1" role="dialog" id="experience-box">
-
 
2387
    <div class="modal-dialog" role="document">
-
 
2388
        <?php
-
 
2389
        $form = $this->formExperience;
-
 
2390
        $form->setAttributes([
-
 
2391
            'method' => 'post',
-
 
2392
            'name' => 'form-experience',
-
 
2393
            'id' => 'form-experience'
-
 
2394
        ]);
-
 
2395
        $form->prepare();
-
 
2396
        echo $this->form()->openTag($form);
-
 
2397
        ?>
-
 
2398
        <div class="modal-content">
-
 
2399
            <div class="modal-header">
-
 
2400
                <h3 class="modal-title">LABEL_EXPERIENCE</h3>
-
 
2401
            </div>
-
 
2402
            <div class="modal-body">
-
 
2403
                <div class="form-group">
-
 
2404
                    <?php
-
 
2405
                    $element = $form->get('experience_visible');
-
 
2406
 
-
 
2407
                    echo $this->formCheckbox($element);
-
 
2408
                    ?>
-
 
2409
                </div>
-
 
2410
                <div class="form-group">
-
 
2411
                    <?php
-
 
2412
                    $element = $form->get('experience_min');
-
 
2413
                    $element->setOptions(['label' => 'LABEL_MINIMUM']);
-
 
2414
                    $element->setAttributes(['class' => 'form-control']);
-
 
2415
                    echo $this->formLabel($element);
-
 
2416
                    echo $this->formText($element);
-
 
2417
                    ?>
-
 
2418
                </div>
-
 
2419
                <div class="form-group">
-
 
2420
                    <?php
-
 
2421
                    $element = $form->get('experience_max');
-
 
2422
                    $element->setOptions(['label' => 'LABEL_MAXIMUM']);
-
 
2423
                    $element->setAttributes(['class' => 'form-control']);
-
 
2424
                    echo $this->formLabel($element);
-
 
2425
                    echo $this->formText($element);
-
 
2426
                    ?>
-
 
2427
                </div>
-
 
2428
            </div>
-
 
2429
            <div class="modal-footer">
-
 
2430
                <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
2431
                <button type="button" class="btn btn-default btn-experience-close">LABEL_CANCEL</button>
-
 
2432
            </div>
-
 
2433
            <?php echo $this->form()->closeTag($form); ?>
-
 
2434
        </div>
-
 
2435
    </div>
-
 
2436
</div>
-
 
2437
 
-
 
2438
 
-
 
2439
<div class="modal" tabindex="-1" role="dialog" id="skills-box">
-
 
2440
    <div class="modal-dialog" role="document">
-
 
2441
        <?php
-
 
2442
        $form = $this->formSkill;
-
 
2443
        $form->setAttributes([
-
 
2444
            'method' => 'post',
-
 
2445
            'name' => 'form-skill',
-
 
2446
            'id' => 'form-skill'
-
 
2447
        ]);
-
 
2448
        $form->prepare();
-
 
2449
        echo $this->form()->openTag($form);
-
 
2450
        ?>
-
 
2451
        <div class="modal-content">
-
 
2452
            <div class="modal-header">
-
 
2453
                <h3 class="modal-title">LABEL_SKILLS</h3>
-
 
2454
            </div>
-
 
2455
            <div class="modal-body">
-
 
2456
                <div class="form-group">
-
 
2457
                    <?php
-
 
2458
                    $element = $form->get('skills');
-
 
2459
                    $element->setOptions(['label' => 'LABEL_SKILLS']);
-
 
2460
                    $element->setAttributes(['class' => 'form-control']);
-
 
2461
                    echo $this->formLabel($element);
-
 
2462
                    echo $this->formSelect($element);
-
 
2463
                    ?>
-
 
2464
                </div>
-
 
2465
            </div>
-
 
2466
 
-
 
2467
 
-
 
2468
            <div class="modal-footer">
-
 
2469
                <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
2470
                <button type="button" class="btn btn-default btn-skills-close">LABEL_CANCEL</button>
-
 
2471
            </div>
-
 
2472
            <?php echo $this->form()->closeTag($form); ?>
-
 
2473
        </div>
-
 
2474
    </div>
-
 
2475
</div>
-
 
2476
 
-
 
2477
<div class="modal" tabindex="-1" role="dialog" id="languages-box">
-
 
2478
    <div class="modal-dialog" role="document">
-
 
2479
        <?php
-
 
2480
        $form = $this->formLanguage;
-
 
2481
        $form->setAttributes([
-
 
2482
            'method' => 'post',
-
 
2483
            'name' => 'form-language',
-
 
2484
            'id' => 'form-language'
-
 
2485
        ]);
-
 
2486
        $form->prepare();
-
 
2487
        echo $this->form()->openTag($form);
-
 
2488
        ?>
-
 
2489
        <div class="modal-content">
-
 
2490
            <div class="modal-header">
-
 
2491
                <h3 class="modal-title">LABEL_LANGUAGES</h3>
-
 
2492
            </div>
-
 
2493
            <div class="modal-body">
-
 
2494
                <div class="form-group">
-
 
2495
                    <?php
-
 
2496
                    $element = $form->get('languages');
-
 
2497
                    $element->setOptions(['label' => 'LABEL_LANGUAGES']);
-
 
2498
                    $element->setAttributes(['class' => 'form-control']);
-
 
2499
                    echo $this->formLabel($element);
-
 
2500
                    echo $this->formSelect($element);
-
 
2501
                    ?>
-
 
2502
                </div>
-
 
2503
            </div>
-
 
2504
            <div class="modal-footer">
-
 
2505
                <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
2506
                <button type="button" class="btn btn-default btn-languages-close">LABEL_CANCEL</button>
-
 
2507
            </div>
-
 
2508
            <?php echo $this->form()->closeTag($form); ?>
-
 
2509
        </div>
-
 
2510
    </div>
-
 
2511
</div>
-
 
2512
 
-
 
2513
<div class="modal" tabindex="-1" role="dialog" id="last-date-of-application-box">
-
 
2514
    <div class="modal-dialog" role="document">
-
 
2515
        <?php
-
 
2516
        $form = $this->fromLastDateOfApplication;
-
 
2517
        $form->setAttributes([
-
 
2518
            'method' => 'post',
-
 
2519
            'name' => 'form-last-date-of-application',
-
 
2520
            'id' => 'form-last-date-of-application'
-
 
2521
        ]);
-
 
2522
        $form->prepare();
-
 
2523
        echo $this->form()->openTag($form);
-
 
2524
        ?>
-
 
2525
        <div class="modal-content">
-
 
2526
            <div class="modal-header">
-
 
2527
                <h3 class="modal-title">LABEL_LAST_DATE_OF_APPLICATION</h3>
-
 
2528
            </div>
-
 
2529
            <div class="modal-body">
-
 
2530
                <div class="form-group">
-
 
2531
                    <?php
-
 
2532
                    $element = $form->get('last_date_of_application');
-
 
2533
                    $element->setOptions(['label' => 'LABEL_LAST_DATE_OF_APPLICATION']);
-
 
2534
                    $element->setAttributes(['class' => 'form-control']);
-
 
2535
                    echo $this->formLabel($element);
-
 
2536
                    echo $this->formText($element);
-
 
2537
                    ?>
-
 
2538
                </div>
-
 
2539
            </div>
-
 
2540
            <div class="modal-footer">
-
 
2541
                <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
2542
                <button type="button" class="btn btn-default btn-last-date-of-application-close">LABEL_CANCEL</button>
-
 
2543
            </div>
-
 
2544
            <?php echo $this->form()->closeTag($form); ?>
-
 
2545
        </div>
-
 
2546
    </div>
-
 
2547
</div>
-
 
2548
 
-
 
2549
<div class="modal" tabindex="-1" role="dialog" id="degrees-box">
-
 
2550
    <div class="modal-dialog" role="document">
-
 
2551
        <?php
-
 
2552
        $form = $this->formDegree;
-
 
2553
        $form->setAttributes([
-
 
2554
            'method' => 'post',
-
 
2555
            'name' => 'form-degree',
-
 
2556
            'id' => 'form-degree'
-
 
2557
        ]);
-
 
2558
        $form->prepare();
-
 
2559
        echo $this->form()->openTag($form);
-
 
2560
        ?>
-
 
2561
        <div class="modal-content">
-
 
2562
            <div class="modal-header">
-
 
2563
                <h3 class="modal-title">LABEL_DEGREES</h3>
-
 
2564
            </div>
-
 
2565
            <div class="modal-body">
-
 
2566
                <div class="form-group">
-
 
2567
                    <?php
-
 
2568
                    $element = $form->get('degrees');
-
 
2569
                    $element->setOptions(['label' => 'LABEL_DEGREES']);
-
 
2570
                    $element->setAttributes(['class' => 'form-control']);
-
 
2571
                    echo $this->formLabel($element);
-
 
2572
                    echo $this->formSelect($element);
-
 
2573
                    ?>
-
 
2574
                </div>
-
 
2575
            </div>
-
 
2576
            <div class="modal-footer">
-
 
2577
                <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
2578
                <button type="button" class="btn btn-default btn-degrees-close">LABEL_CANCEL</button>
-
 
2579
            </div>
-
 
2580
            <?php echo $this->form()->closeTag($form); ?>
-
 
2581
        </div>
-
 
2582
    </div>
-
 
2583
</div>
-
 
2584
 
-
 
2585
<div class="modal" tabindex="-1" role="dialog" id="status-box">
-
 
2586
    <div class="modal-dialog" role="document">
-
 
2587
        <?php
-
 
2588
        $form = $this->formStatus;
-
 
2589
        $form->setAttributes([
-
 
2590
            'method' => 'post',
-
 
2591
            'name' => 'form-status',
-
 
2592
            'id' => 'form-status'
-
 
2593
        ]);
-
 
2594
        $form->prepare();
-
 
2595
        echo $this->form()->openTag($form);
-
 
2596
        ?>
-
 
2597
        <div class="modal-content">
-
 
2598
            <div class="modal-header">
-
 
2599
                <h3 class="modal-title">LABEL_STATUS</h3>
-
 
2600
            </div>
-
 
2601
            <div class="modal-body">
-
 
2602
                <div class="form-group">
-
 
2603
                    <?php
-
 
2604
                    $element = $form->get('status');
-
 
2605
                    $element->setOptions(['label' => 'LABEL_STATUS']);
-
 
2606
                    $element->setAttributes(['class' => 'form-control']);
-
 
2607
                    echo $this->formLabel($element);
-
 
2608
                    echo $this->formSelect($element);
-
 
2609
                    ?>
-
 
2610
                </div>
-
 
2611
            </div>
-
 
2612
 
-
 
2613
 
-
 
2614
            <div class="modal-footer">
-
 
2615
                <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
2616
                <button type="button" class="btn btn-default btn-status-close">LABEL_CANCEL</button>
-
 
2617
            </div>
-
 
2618
            <?php echo $this->form()->closeTag($form); ?>
-
 
2619
        </div>
-
 
2620
    </div>
-
 
2621
</div>
-
 
2622
 
-
 
2623
<div class="modal" tabindex="-1" role="dialog" id="title-box">
-
 
2624
    <div class="modal-dialog" role="document">
-
 
2625
        <?php
-
 
2626
        $form = $this->formTitle;
-
 
2627
        $form->setAttributes([
-
 
2628
            'method' => 'post',
-
 
2629
            'name' => 'form-title',
-
 
2630
            'id' => 'form-title'
-
 
2631
        ]);
-
 
2632
        $form->prepare();
-
 
2633
        echo $this->form()->openTag($form);
-
 
2634
        ?>
-
 
2635
        <div class="modal-content">
-
 
2636
            <div class="modal-header">
-
 
2637
                <h3 class="modal-title">LABEL_TITLE</h3>
-
 
2638
            </div>
-
 
2639
            <div class="modal-body">
-
 
2640
                <div class="form-group">
-
 
2641
                    <?php
-
 
2642
                    $element = $form->get('title');
-
 
2643
                    $element->setOptions(['label' => 'LABEL_TITLE']);
-
 
2644
                    $element->setAttributes(['class' => 'form-control']);
-
 
2645
                    echo $this->formLabel($element);
-
 
2646
                    echo $this->formText($element);
-
 
2647
                    ?>
-
 
2648
                </div>
-
 
2649
            </div>
-
 
2650
 
-
 
2651
 
-
 
2652
            <div class="modal-footer">
-
 
2653
                <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
2654
                <button type="button" class="btn btn-default btn-title-close">LABEL_CANCEL</button>
-
 
2655
            </div>
62
 
2656
            <?php echo $this->form()->closeTag($form); ?>
63
<!-- Content Header (Page header) -->
2657
        </div>