Set colors for assigned and in progress job orders in View All and View Open JO lists. #436
This commit is contained in:
parent
6bf4b76486
commit
c61e3ac39e
3 changed files with 34 additions and 7 deletions
|
|
@ -155,6 +155,29 @@ span.has-danger,
|
|||
color: #fff !important;
|
||||
}
|
||||
|
||||
.m-table__row--is_in_progress td {
|
||||
background-color: #FFA500 !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
.m-table__row--is_in_progress td > span,
|
||||
.m-table__row--is_in_progress td > span a,
|
||||
.m-table__row--is_in_progress td > span a i {
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
.m-table__row--is_assigned td {
|
||||
background-color: #0000ff !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
.m-table__row--is_assigned td > span,
|
||||
.m-table__row--is_assigned td > span a,
|
||||
.m-table__row--is_assigned td > span a i {
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
|
||||
.m-datatable.m-datatable--default > .m-datatable__table {
|
||||
min-height: 0 !important;
|
||||
}
|
||||
|
|
@ -358,4 +381,4 @@ span.has-danger,
|
|||
|
||||
.map-info .m-badge {
|
||||
border-radius: 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -94,8 +94,12 @@
|
|||
},
|
||||
rows: {
|
||||
beforeTemplate: function (row, data, index) {
|
||||
if (data.flag_advance) {
|
||||
$(row).addClass('m-table__row--danger');
|
||||
if (data.status == 'In Progress') {
|
||||
$(row).addClass('m-table__row--is_in_progress');
|
||||
}
|
||||
|
||||
if (data.status == 'Assigned') {
|
||||
$(row).addClass('m-table__row--is_assigned');
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -93,12 +93,12 @@
|
|||
},
|
||||
rows: {
|
||||
beforeTemplate: function (row, data, index) {
|
||||
if (data.flag_advance) {
|
||||
$(row).addClass('m-table__row--danger');
|
||||
if (data.status == 'In Progress') {
|
||||
$(row).addClass('m-table__row--is_in_progress');
|
||||
}
|
||||
|
||||
if (data.is_mobile) {
|
||||
$(row).addClass('m-table__row--is_mobile');
|
||||
if (data.status == 'Assigned') {
|
||||
$(row).addClass('m-table__row--is_assigned');
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue