ajout p_texts

This commit is contained in:
2020-03-12 22:33:40 +01:00
parent 932fc6a441
commit ae4484374f
14 changed files with 327 additions and 28 deletions

View File

@@ -84,7 +84,18 @@
return '<a href="' + goto_url + data + '">' + data + '</a>';
},
},
]
],
"createdRow": function( row, data, dataIndex ){
if ( data[6] == "Humidité" ) {
$('td', row).eq(6).css('background-color', 'Crimson').css('color', 'white');
}
if ( data[6] == "En-cours" ) {
$('td', row).eq(6).css('background-color', 'Orange');
}
if ( data[6] == "Terminé" ) {
$('td', row).eq(6).css('background-color', 'LightGreen');
}
},
});
});