fix
This commit is contained in:
@@ -13,7 +13,6 @@
|
|||||||
// -->
|
// -->
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!--begin::Toolbar-->
|
|
||||||
<div class="d-flex flex-wrap flex-stack my-5">
|
<div class="d-flex flex-wrap flex-stack my-5">
|
||||||
<!--begin::Heading-->
|
<!--begin::Heading-->
|
||||||
<h2 class="fs-2 fw-bold my-2">Available Jobs
|
<h2 class="fs-2 fw-bold my-2">Available Jobs
|
||||||
@@ -32,10 +31,9 @@
|
|||||||
</div -->
|
</div -->
|
||||||
<!--end::Select wrapper-->
|
<!--end::Select wrapper-->
|
||||||
</div>
|
</div>
|
||||||
<!--end::Controls-->
|
|
||||||
</div>
|
</div>
|
||||||
<!--end::Toolbar-->
|
|
||||||
<!--begin::Row-->
|
|
||||||
<div class="row g-6 g-xl-9">
|
<div class="row g-6 g-xl-9">
|
||||||
<?php
|
<?php
|
||||||
// $market_table_result
|
// $market_table_result
|
||||||
@@ -43,7 +41,7 @@
|
|||||||
//onclick="return EDetail('$row->offer_code')
|
//onclick="return EDetail('$row->offer_code')
|
||||||
foreach ($market_table_result as $row)
|
foreach ($market_table_result as $row)
|
||||||
{
|
{
|
||||||
?>
|
?>
|
||||||
<!--begin::Col-->
|
<!--begin::Col-->
|
||||||
<div class="col-md-6 col-xl-4" >
|
<div class="col-md-6 col-xl-4" >
|
||||||
<!--begin::Card-->
|
<!--begin::Card-->
|
||||||
@@ -77,7 +75,7 @@
|
|||||||
<div class="symbol-group symbol-hover">
|
<div class="symbol-group symbol-hover">
|
||||||
<!--begin::User-->
|
<!--begin::User-->
|
||||||
|
|
||||||
<?=$row->offer_code?>
|
<?=$row->offer_code?>
|
||||||
|
|
||||||
<!--begin::User-->
|
<!--begin::User-->
|
||||||
</div>
|
</div>
|
||||||
@@ -88,131 +86,119 @@
|
|||||||
<!--end::Card-->
|
<!--end::Card-->
|
||||||
</div>
|
</div>
|
||||||
<!--end::Col-->
|
<!--end::Col-->
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!--end::Row-->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="modal-body scroll-y px-10 px-lg-15 pt-0 pb-15">
|
<div class="modal-body scroll-y px-10 px-lg-15 pt-0 pb-15">
|
||||||
|
<div id="modal_theme_primary" class="modal fade">
|
||||||
<!-- Basic modal -->
|
<div class="modal-dialog modal-dialog-centered mw-650px">
|
||||||
<div id="modal_theme_primary" class="modal fade">
|
<div class="modal-content rounded">
|
||||||
<div class="modal-dialog modal-dialog-centered mw-650px">
|
<!--begin::Modal header-->
|
||||||
<div class="modal-content rounded">
|
<div class="modal-header pb-0 border-0 justify-content-end">
|
||||||
<!--begin::Modal header-->
|
<!--begin::Close-->
|
||||||
<div class="modal-header pb-0 border-0 justify-content-end">
|
<div class="btn btn-sm btn-icon btn-active-color-primary" data-bs-dismiss="modal">
|
||||||
<!--begin::Close-->
|
<!--begin::Svg Icon | path: icons/duotune/arrows/arr061.svg-->
|
||||||
<div class="btn btn-sm btn-icon btn-active-color-primary" data-bs-dismiss="modal">
|
<span class="svg-icon svg-icon-1">
|
||||||
<!--begin::Svg Icon | path: icons/duotune/arrows/arr061.svg-->
|
|
||||||
<span class="svg-icon svg-icon-1">
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
|
||||||
<rect opacity="0.5" x="6" y="17.3137" width="16" height="2" rx="1" transform="rotate(-45 6 17.3137)" fill="currentColor" />
|
<rect opacity="0.5" x="6" y="17.3137" width="16" height="2" rx="1" transform="rotate(-45 6 17.3137)" fill="currentColor" />
|
||||||
<rect x="7.41422" y="6" width="16" height="2" rx="1" transform="rotate(45 7.41422 6)" fill="currentColor" />
|
<rect x="7.41422" y="6" width="16" height="2" rx="1" transform="rotate(45 7.41422 6)" fill="currentColor" />
|
||||||
</svg>
|
</svg>
|
||||||
</span>
|
</span>
|
||||||
<!--end::Svg Icon-->
|
<!--end::Svg Icon-->
|
||||||
|
</div>
|
||||||
|
<!--end::Close-->
|
||||||
</div>
|
</div>
|
||||||
<!--end::Close-->
|
<!--begin::Modal header-->
|
||||||
</div>
|
<div id="modal-content">
|
||||||
<!--begin::Modal header-->
|
|
||||||
<div id="modal-content">
|
|
||||||
|
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- /basic modal -->
|
|
||||||
<!-- /main content -->
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
<!--
|
<!--
|
||||||
|
|
||||||
var current_job_contract = null;
|
var current_job_contract = null;
|
||||||
|
|
||||||
function showMarketJobModal(job_contract) {
|
function showMarketJobModal(job_contract) {
|
||||||
//alert(job_contract);
|
//alert(job_contract);
|
||||||
if (typeof event !== 'undefined') {
|
if (typeof event !== 'undefined') {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
}
|
}
|
||||||
|
|
||||||
// load the modal content with a loader gif and message
|
// load the modal content with a loader gif and message
|
||||||
$('#modal-content').html('Loading...');
|
$('#modal-content').html('Loading...');
|
||||||
|
|
||||||
// show modal window
|
// show modal window
|
||||||
$('#modal_theme_primary').modal('show');
|
$('#modal_theme_primary').modal('show');
|
||||||
|
|
||||||
|
|
||||||
//alert("/jobs/marketdetail?proc=NCOMPLETE&job_contract=" + job_contract);
|
//alert("/jobs/marketdetail?proc=NCOMPLETE&job_contract=" + job_contract);
|
||||||
|
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: "/jobs/marketdetail?proc=NCOMPLETE&job_contract=" + job_contract
|
url: "/jobs/marketdetail?proc=NCOMPLETE&job_contract=" + job_contract
|
||||||
}).done(function (data) {
|
}).done(function (data) {
|
||||||
//alert(data);
|
//alert(data);
|
||||||
$('#modal-content').html(data);
|
$('#modal-content').html(data);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function EDetail(job_contract) {
|
function EDetail(job_contract) {
|
||||||
if (current_job_contract!=null) {
|
if (current_job_contract!=null) {
|
||||||
$('#'+current_job_contract).html('');
|
$('#'+current_job_contract).html('');
|
||||||
current_job_contract = null;
|
current_job_contract = null;
|
||||||
}
|
}
|
||||||
current_job_contract = job_contract;
|
current_job_contract = job_contract;
|
||||||
//$('#req_completion').html('Processing...');
|
//$('#req_completion').html('Processing...');
|
||||||
//$('#req_completion_submit').prop('disabled', true);
|
//$('#req_completion_submit').prop('disabled', true);
|
||||||
$('#submit_'+job_contract).prop('disabled', true);
|
$('#submit_'+job_contract).prop('disabled', true);
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: "/jobs/marketdetail?proc=NCOMPLETE&job_contract=" + job_contract
|
url: "/jobs/marketdetail?proc=NCOMPLETE&job_contract=" + job_contract
|
||||||
}).done(function( data ) {
|
}).done(function( data ) {
|
||||||
$('#'+job_contract).html(data);
|
$('#'+job_contract).html(data);
|
||||||
$('#submit_'+job_contract).prop('disabled', false);
|
$('#submit_'+job_contract).prop('disabled', false);
|
||||||
});
|
});
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
function SInterest(job_contract) {
|
function SInterest(job_contract) {
|
||||||
//$('#req_completion').html('Processing...');
|
//$('#req_completion').html('Processing...');
|
||||||
//$('#req_completion_submit').prop('disabled', true);
|
//$('#req_completion_submit').prop('disabled', true);
|
||||||
$('#submit_interest_'+job_contract).prop('disabled', true);
|
$('#submit_interest_'+job_contract).prop('disabled', true);
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: "/jobs/showinterest?proc=NCOMPLETE&job_contract=" + job_contract
|
url: "/jobs/showinterest?proc=NCOMPLETE&job_contract=" + job_contract
|
||||||
}).done(function( data ) {
|
}).done(function( data ) {
|
||||||
$('#'+job_contract).html(data);
|
$('#'+job_contract).html(data);
|
||||||
$('#submit_interest_'+job_contract).prop('disabled', false);
|
$('#submit_interest_'+job_contract).prop('disabled', false);
|
||||||
});
|
});
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
function OMessage(offer_code) {
|
function OMessage(offer_code) {
|
||||||
if (document.job_message.yourmessage.value=='') {
|
if (document.job_message.yourmessage.value=='') {
|
||||||
alert('Missing message!');
|
alert('Missing message!');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
//$('#msg_result_'+offer_code).html('Processing...');
|
||||||
|
$('#submit_yourmessage_'+offer_code).prop('disabled', true);
|
||||||
//$('#msg_result_'+offer_code).html('Processing...');
|
$.ajax({
|
||||||
$('#submit_yourmessage_'+offer_code).prop('disabled', true);
|
url: "/jobs/marketrmessage?proc=NCOMPLETE&offer_code=" + offer_code + "&yourmessage=" + document.job_message.yourmessage.value
|
||||||
$.ajax({
|
}).done(function( data ) {
|
||||||
url: "/jobs/marketrmessage?proc=NCOMPLETE&offer_code=" + offer_code + "&yourmessage=" + document.job_message.yourmessage.value
|
$('#msg_result_'+offer_code).html(data);
|
||||||
}).done(function( data ) {
|
// document.offer_individual.rec_email.value = '';
|
||||||
$('#msg_result_'+offer_code).html(data);
|
$('#submit_yourmessage_'+offer_code).prop('disabled', false);
|
||||||
// document.offer_individual.rec_email.value = '';
|
});
|
||||||
$('#submit_yourmessage_'+offer_code).prop('disabled', false);
|
return false;
|
||||||
});
|
}
|
||||||
return false;
|
// -->
|
||||||
}
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// -->
|
|
||||||
</script>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user