Files
WrenchBoradWeb/www/application/views/jobs/view_pendinginterest.php
T
2022-04-24 10:02:49 -04:00

160 lines
4.6 KiB
PHP

<form method="post" name="post_nav_find" action="">
<input type="hidden" name="interest_id" value="">
</form>
<script type="text/javascript">
<!--
function post_nav_find_action(what, value) {
// alert(what);
document.post_nav_find.action = what + '';
document.post_nav_find.interest_id.value = value;
document.post_nav_find.submit();
return false;
}
// -->
</script>
<?php include('common/jobstrip.php'); ?>
<!--begin::Row-->
<div class="row g-5 g-xl-8">
<?php include('common/jobside.php'); ?>
<!--begin::Col-->
<div class="col-xl-9">
<!--begin::Tables Widget 5-->
<div class="card card-xl-stretch mb-5 mb-xl-8">
<!--begin::Header-->
<div class="card-header border-0 pt-5">
<h3 class="card-title align-items-start flex-column">
<?php echo $dash_title; ?>
</h3>
<div class="card-toolbar">
</div>
</div>
<!--end::Header-->
<!--begin::Body-->
<div class="card-body py-3">
<div class="tab-content">
<!--begin::Tap pane-->
<div class="tab-pane fade show active" id="kt_table_widget_5_tab_1">
<!--begin::Table container-->
<?php echo $job_interest_table; ?>
<!--end::Table-->
</div>
<!--end::Tap pane-->
<?php echo $links; ?>
</div>
</div>
<!--end::Body-->
</div>
<!--end::Tables Widget 5-->
</div>
<!--end::Col-->
</div>
<!--end::Row-->
<script type="text/javascript">
<!--
/*
$(document).ready(function(){
$('#modal_theme_primary').on('show.bs.modal', function(event){
var btn = $(event.relatedTarget);
var time = btn.data('time');
//$('#time').text(time);
alert('here!');
});
});
*/
function showModal(interest_id) {
if (typeof event !== 'undefined') {
event.preventDefault();
}
// collect data - either from forms or from data variables
var id = $(this).data('id');
// load the modal content with a loader gif and message
$('#modal-content').html('Loading...');
// show modal window
$('#modal_theme_primary').modal('show');
// do the ajax bit
var post_data = {
'interest_id': id,
};
$.ajax({
url: "/jobs/jobinterest_modal?interest_id=" + interest_id
}).done(function (data) {
//alert(data);
$('#modal-content').html(data);
});
}
function showOfferModal(contact_id) {
if (typeof event !== 'undefined') {
event.preventDefault();
}
// collect data - either from forms or from data variables
var id = $(this).data('id');
// load the modal content with a loader gif and message
$('#modal-content').html('Loading...');
// show modal window
$('#modal_theme_primary').modal('show');
// do the ajax bit
var post_data = {
'interest_id': id,
};
$.ajax({
url: "/jobs/offerdetail_modal?contact_id=" + contact_id
}).done(function (data) {
//alert(data);
$('#modal-content').html(data);
});
}
// -->
</script>
<!-- Basic modal -->
<div id="modal_theme_primary" class="modal fade">
<div class="modal-dialog">
<div class="modal-content" id="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">&times;</button>
<h5 class="modal-title"><?php echo $client; ?></h5>
</div>
<div class="modal-body">
<h6 class="text-semibold">Introduction</h6>
<p><?php echo $client_description; ?>.</p>
<hr>
<h6 class="text-semibold">Skills</h6>
<p><?php echo $skills_set; ?></p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-link" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- /basic modal -->