' +
'
' +
'
' +
$output +
'
' +
'
' +
'
' +
'' +
$name +
'' +
'' +
$framework +
'' +
'
' +
'
';
return $row_output;
}
},
{
targets: 2,
orderable: false
},
{
// Label
targets: -2,
responsivePriority: 3,
render: function (data, type, full, meta) {
var $progress = full['progress'] + '%',
$color;
switch (true) {
case full['progress'] < 25:
$color = 'bg-danger';
break;
case full['progress'] < 50:
$color = 'bg-warning';
break;
case full['progress'] < 75:
$color = 'bg-info';
break;
case full['progress'] <= 100:
$color = 'bg-success';
break;
}
return (
'