ItEr55S04ValidacionEProbasFuncionaisItEr54S04: Applied scheduling state colours to breadcrumb information
This commit is contained in:
parent
617bc9d5dc
commit
09dea1da31
4 changed files with 19 additions and 11 deletions
|
|
@ -381,4 +381,14 @@ public class SchedulingState {
|
|||
}
|
||||
}
|
||||
|
||||
public String getCssClass() {
|
||||
String cssclass = "not-scheduled";
|
||||
if (isCompletelyScheduled()) {
|
||||
cssclass = "completely-scheduled";
|
||||
} else if (isPartiallyScheduled()) {
|
||||
cssclass = "partially-scheduled";
|
||||
}
|
||||
return cssclass;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -212,7 +212,9 @@ public class PlanningTabCreator {
|
|||
|
||||
Label schedulingStateLabel = new Label(order
|
||||
.getSchedulingState().getStateAbbreviation());
|
||||
schedulingStateLabel.setSclass("scheduling-state");
|
||||
|
||||
schedulingStateLabel.setSclass("scheduling-state "
|
||||
+ order.getSchedulingState().getCssClass());
|
||||
schedulingStateLabel.setTooltiptext(order
|
||||
.getSchedulingState().getStateName());
|
||||
|
||||
|
|
|
|||
|
|
@ -441,13 +441,7 @@ public abstract class TreeController<T extends ITreeNode<T>> extends
|
|||
T currentElement);
|
||||
|
||||
private String getDecorationFromState(SchedulingState state) {
|
||||
String cssclass = "not-scheduled";
|
||||
if (state.isCompletelyScheduled()) {
|
||||
cssclass = "completely-scheduled";
|
||||
} else if (state.isPartiallyScheduled()) {
|
||||
cssclass = "partially-scheduled";
|
||||
}
|
||||
return cssclass;
|
||||
return state.getCssClass();
|
||||
}
|
||||
|
||||
protected abstract void addCodeCell(final T element);
|
||||
|
|
|
|||
|
|
@ -890,11 +890,13 @@ div.z-listbox-pgi-b {
|
|||
border-bottom:dotted #EEEEEE 1px;
|
||||
}
|
||||
|
||||
.orderTree .partially-scheduled span.scheduling-state {
|
||||
.partially-scheduled span.scheduling-state,
|
||||
span.partially-scheduled {
|
||||
background-color: #fddf9b;
|
||||
}
|
||||
|
||||
.orderTree .completely-scheduled span.scheduling-state {
|
||||
.completely-scheduled span.scheduling-state,
|
||||
span.completely-scheduled {
|
||||
background-color: #bee5a9;
|
||||
}
|
||||
|
||||
|
|
@ -1265,7 +1267,7 @@ overflow: visible;
|
|||
|
||||
|
||||
.clickable-rows tr.z-row:hover .z-row-inner {
|
||||
background-color: #BCD2EF;
|
||||
background-color: #E9F2FB;
|
||||
}
|
||||
|
||||
.clickable-rows tr.z-row:hover .z-row-cnt {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue