111 lines
2.6 KiB
PHP
111 lines
2.6 KiB
PHP
<!-- Main content -->
|
|
<form method="post" name="post_nav_find" action="/proj/thisjob">
|
|
<input type="hidden" name="jobID" 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.jobID.value = value;
|
|
document.post_nav_find.submit();
|
|
return false;
|
|
}
|
|
// -->
|
|
</script>
|
|
<div class="content-wrapper">
|
|
<!-- Quick stats boxes -->
|
|
<?php include('common/jobstrip.php');?>
|
|
<!-- /quick stats boxes -->
|
|
|
|
<!-- Marketing campaigns -->
|
|
<div class="panel panel-flat">
|
|
<div class="panel-heading" style="height: 550px;">
|
|
<div class="table-responsive">
|
|
<h5 class="panel-title">Active Task</h5>
|
|
<?php echo $job_table ?>
|
|
</div>
|
|
<div class="panel-heading">
|
|
<?php echo $links; ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- /marketing campaigns -->
|
|
|
|
</div>
|
|
<!-- /main content -->
|
|
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
<!--
|
|
|
|
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 showJobModal(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/jobdetail_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>
|
|
</div>
|
|
</div>
|
|
<!-- /basic modal -->
|
|
|
|
|