Add vehicle active/inactive state

This commit is contained in:
2015-06-18 10:59:07 -04:00
parent c7d7fa265e
commit 5d70617194
12 changed files with 155 additions and 19 deletions
+5 -1
View File
@@ -120,7 +120,11 @@ function addButtonIcons () {
'Export': 'download',
'Import': 'upload',
'Driver Mileage': 'user',
'Vehicle Mileage': 'car'
'Vehicle Mileage': 'car',
'Show Active': 'ok-circle',
'Show Inactive': 'ban-circle',
'Set Inactive' : 'ban-circle',
'Reactivate' : 'ok-circle'
};
$.each(textToIcon, function(text, icon) {
$("a:contains('" + text + "'):not(:has(i))")