added the 4th option to traffic lights
This commit is contained in:
parent
2a433f5cc5
commit
43c2e13dc3
src/main
java/se/su/dsv/scipro
webapp/images/icons
@ -64,6 +64,10 @@ public class TrafficLightPanel extends Panel {
|
||||
image = new StaticImage("image", new Model<String>(
|
||||
"images/icons/yellow_ball_32.png"));
|
||||
}
|
||||
else if (stateOfMind.equals(StateOfMind.NOTAPLICABLE)) {
|
||||
image = new StaticImage("image", new Model<String>(
|
||||
"images/icons/grey_ball_32.png"));
|
||||
}
|
||||
item.add(image);
|
||||
};
|
||||
};
|
||||
|
@ -10,7 +10,8 @@ package se.su.dsv.scipro.data.enums;
|
||||
public enum StateOfMind {
|
||||
NEEDHELP(0, "Need Help", "You think you need help to proceed or you are unsure of what to do next.", "som-needhelp"),
|
||||
NEUTRAL(1, "Neutral", "This is the default option and signals that you don't have a clear standpoint on your status but no imminent help is needed.", "som-neutral"),
|
||||
FINE(2, "Everything is fine", "This means your work proceeds as planned and that no issues regarding the continuation are on the horizon.", "som-fine");
|
||||
FINE(2, "Everything is fine", "This means your work proceeds as planned and that no issues regarding the continuation are on the horizon.", "som-fine"),
|
||||
NOTAPLICABLE(3, "moo", "moo","som-moo");
|
||||
|
||||
private int value;
|
||||
private String status;
|
||||
|
BIN
src/main/webapp/images/icons/grey_ball_32.png
Normal file
BIN
src/main/webapp/images/icons/grey_ball_32.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 1.1 KiB |
Loading…
x
Reference in New Issue
Block a user