| Server IP : 103.161.17.216 / Your IP : 216.73.216.1 Web Server : nginx/1.18.0 System : Linux tipsysaigoncharming 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 7.4.3-4ubuntu2.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/app.houseland.info/modules/goals/views/ |
Upload File : |
<?php defined('BASEPATH') or exit('No direct script access allowed'); ?>
<?php init_head(); ?>
<div id="wrapper">
<div class="content">
<div class="row">
<div class="col-md-12">
<?php if (staff_can('create', 'goals')) { ?>
<div class="tw-mb-2 sm:tw-mb-4">
<a href="<?php echo admin_url('goals/goal'); ?>" class="btn btn-primary">
<i class="fa-regular fa-plus tw-mr-1"></i>
<?php echo _l('new_goal'); ?>
</a>
</div>
<?php } ?>
<div class="panel_s">
<div class="panel-body panel-table-full">
<?php render_datatable([
_l('goal_subject'),
_l('staff_member'),
_l('goal_achievement'),
_l('goal_start_date'),
_l('goal_end_date'),
_l('goal_type'),
_l('goal_progress'),
], 'goals'); ?>
</div>
</div>
</div>
</div>
</div>
</div>
<?php init_tail(); ?>
<script>
$(function() {
initDataTable('.table-goals', window.location.href, [6], [6]);
$('.table-goals').DataTable().on('draw', function() {
var rows = $('.table-goals').find('tr');
$.each(rows, function() {
var td = $(this).find('td').eq(6);
var percent = $(td).find('input[name="percent"]').val();
$(td).find('.goal-progress').circleProgress({
value: percent,
size: 45,
animation: false,
fill: {
gradient: ["#28b8da", "#059DC1"]
}
})
})
})
});
</script>
</body>
</html>