81 lines
2.2 KiB
PHP
81 lines
2.2 KiB
PHP
<!-- Main content -->
|
|
<form method="post" name="post_nav_find" action="">
|
|
<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;
|
|
}
|
|
|
|
function post_nav_del_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>
|
|
<?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">
|
|
<div class="card-header border-0 pt-5">
|
|
<h3 class="card-title align-items-start flex-column">
|
|
Manage Jobs
|
|
</h3>
|
|
<div class="card-toolbar">
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="card-body py-3">
|
|
<div class="tab-content">
|
|
<div class="tab-pane fade show active" id="kt_table_widget_5_tab_1">
|
|
<?php echo $job_table ?>
|
|
</div>
|
|
<?php echo $links; ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
<!--
|
|
function deleteJob(link_id) {
|
|
if (confirm("Are you sure you want to delete this task?")) {
|
|
// do something
|
|
} else {
|
|
return false;
|
|
}
|
|
//$('#subdel'+link_id).html('Processing...');
|
|
$('#dacc' + link_id).prop('disabled', true);
|
|
$.ajax({
|
|
url: "/jobs/deletejob?proc=DELETE&job_id=" + link_id
|
|
}).done(function (data) {
|
|
$('#subdel' + link_id).html(data);
|
|
document.offer_individual.rec_email.value = '';
|
|
$('#dacc' + link_id).prop('disabled', false);
|
|
});
|
|
return false;
|
|
}
|
|
|
|
// -->
|
|
</script>
|