Changeset 2613385
- Timestamp:
- 10/13/2021 04:56:44 AM (4 years ago)
- Location:
- ebecas/trunk
- Files:
-
- 5 edited
-
eit-ebecas.php (modified) (1 diff)
-
includes/css/styles.css (modified) (3 diffs)
-
includes/js/scripts.js (modified) (16 diffs)
-
public/Eit_Ebecas_Student_Portal.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ebecas/trunk/eit-ebecas.php
r2505621 r2613385 35 35 define( 'EIT_EBECAS_PLUGIN', __FILE__ ); 36 36 37 define( 'EIT_EBECAS_VERSION', '3.1. 2' );37 define( 'EIT_EBECAS_VERSION', '3.1.3' ); 38 38 39 39 define( 'EIT_EBECAS_REQUIRED_WP_VERSION', '5.3' ); -
ebecas/trunk/includes/css/styles.css
r2505621 r2613385 33 33 #container-eit-ebecas_form { 34 34 width: 100% !important; 35 max-width: 100% !important; 35 36 min-height: 100vh !important; 36 37 display: flex !important; … … 39 40 align-items: center !important; 40 41 padding: 15px !important; 41 background: #b4b0b0 !important;42 42 43 43 } … … 49 49 border-radius: 10px; 50 50 overflow: hidden; 51 padding: 62px 55px 90px 55px;51 padding: 30px; 52 52 box-shadow: 0 15px 35px #CCCCCC; 53 53 position: center; -
ebecas/trunk/includes/js/scripts.js
r2503729 r2613385 248 248 return codeSendStatus; 249 249 } 250 251 console.log('Application Code');252 250 $("#sending_code").remove(); 253 251 $('<p id="sending_code"><small>Sending Application Code...</small>' + … … 300 298 301 299 302 // //ajax call for visatype //not in use for now303 // function visaTest($visaTypes){304 // let type= 'visatype';305 // let data = {306 // action: 'eit_ebecas_api_get_visa_type',307 // security: eit_ebecas.security,308 // eit_ebecas_lookup_type: type309 // };310 // $.ajax({311 // url: eit_ebecas.ajaxurl,312 // type: 'GET',313 // data: data,314 // dataType: 'json',315 // success: function (response) {316 // //console.log(response);317 // $visaTypes =response;318 // console.log($visaTypes);319 // }320 321 // });322 // }323 324 // visaTest();325 326 300 //visa related 327 301 $section_visa_type.hide(); … … 341 315 $section_visa_type.hide(); 342 316 $section_visa_apply.hide(); 343 //$section_visa_upload.removeClass('eit_ebecas_visa_upload').empty();344 317 345 318 } … … 347 320 }); 348 321 349 function showVisaType(){ 350 322 function showVisaType(){ 351 323 $section_visa_type.show(); 352 //$section_visa_upload.addClass('eit_ebecas_visa_upload').append(353 //'<label for="eit_ebecas_visa_upload">Upload your visa:</label>'+354 //'<input type="file" id="eit_ebecas_visa_upload" name="eit_ebecas_visa_upload">');355 324 $section_visa_apply.hide(); 356 325 } 357 326 358 327 function showVisaApply(){ 359 360 361 328 $section_visa_apply.show(); 362 329 $section_visa_type.hide(); 363 // $section_visa_upload.removeClass('eit_ebecas_visa_upload').empty();364 365 330 } 366 331 … … 369 334 $section_test_date.hide(); 370 335 371 // $field_test_date.datepicker($.extend({ 372 // maxDate: 0, 373 // yearRange: "-50:+0" 374 // }, datepicker)); 375 336 376 337 377 338 $english_level.change(function(){ … … 387 348 $section_test_date.hide(); 388 349 $section_test_score.removeClass('wrap-eit-ebecas-input bg1 eit-rs1-wrap-input').empty(); 389 //$section_test_date.removeClass('eit_ebecas_test_date').empty();390 391 350 } 392 351 }); … … 421 380 422 381 $app.selection.location_id = locationId; 423 console.log('location selected');424 382 425 383 getProducts(PRODUCT_TYPE_COURSE, showCourseSection); … … 434 392 435 393 function getProducts(type, callback = null) { 436 console.log(type);437 438 394 if (type == PRODUCT_TYPE_COURSE) { 439 395 $('<p id="products_loading"><small>Loading...</small>' + … … 497 453 return; 498 454 } 499 500 console.log('course selected');501 455 $app.selection.course_id = courseId; 502 456 … … 720 674 return; 721 675 } 722 723 console.log('insurance selected');724 676 showInsuranceDates(insuranceId); 725 677 }); … … 845 797 return; 846 798 } 847 848 console.log('accommodation selected');849 799 showAccommodationDates(accommodationId); 850 800 }); … … 954 904 return; 955 905 } 956 957 console.log('arrangement selected');958 906 showArrangementPrice(arrangementId); 959 907 }); … … 1024 972 return; 1025 973 } 1026 1027 console.log('airport pickup selected');1028 974 showAirportPickupDates(airportId); 1029 975 }); … … 1038 984 return; 1039 985 } 1040 1041 console.log('airport dropoff selected');1042 986 showAirportDropoffDates(airportId); 1043 987 }); … … 1172 1116 $app.initType('others'); 1173 1117 $section_others_price.remove(); 1174 1175 console.log('others selected');1176 1118 1177 1119 let price = $('<div id="eit_ebecas_others_price" class="eit_ebecas_product_padding"></div>'); … … 1284 1226 }); 1285 1227 1286 // for (var pair of formData.entries()) {1287 // console.log(pair[0]+ ', ' + pair[1]);1288 // }1289 1290 1228 // submit form using ajax 1291 1229 submitApplication(formData); -
ebecas/trunk/public/Eit_Ebecas_Student_Portal.php
r2503729 r2613385 167 167 $visas = json_decode( $visas_body, true )['VisaList']; 168 168 } 169 //print_r($visas); 170 171 $options_markup .= '<select name="eit_ebecas_visa_select" >'; 169 170 $options_markup = '<select name="eit_ebecas_visa_select" >'; 172 171 $options_markup .= '<option value="">Select Visa</option>'; 173 172 foreach ( $visas as $visa ) { … … 187 186 $visas = json_decode( $visas_body, true )['VisaList']; 188 187 } 189 //print_r($visas); 190 191 $options_markup .= '<select name="eit_ebecas_visa_apply_select" >'; 188 189 $options_markup = '<select name="eit_ebecas_visa_apply_select" >'; 192 190 $options_markup .= '<option value="">Select Visa</option>'; 193 191 foreach ( $visas as $visa ) { … … 207 205 $tests = json_decode( $tests_body, true )['TestList']; 208 206 } 209 //print_r($tests); 210 211 $options_markup .= '<select name="eit_ebecas_test_select" >'; 207 208 $options_markup = '<select name="eit_ebecas_test_select" >'; 212 209 $options_markup .= '<option value="">Select Test</option>'; 213 210 foreach ( $tests as $test ) { -
ebecas/trunk/readme.txt
r2505621 r2613385 4 4 Tags: eBecas, Student Management, EquatorIT, EIT 5 5 Requires at least: 5.3 6 Tested up to: 5. 77 Stable tag: 3.1. 26 Tested up to: 5.8 7 Stable tag: 3.1.3 8 8 Requires PHP: 7.0 9 9 License: GPLv2 or later … … 119 119 120 120 == Changelog == 121 = 3.1.3 = 122 * Bugs fixes 123 121 124 = 3.1.2 = 122 125 * Fixed the label issue
Note: See TracChangeset
for help on using the changeset viewer.