Skip to content

Commit

Permalink
MID-2478 css styling
Browse files Browse the repository at this point in the history
  • Loading branch information
1azyman committed Jun 10, 2016
1 parent 2433eed commit b095205
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 18 deletions.
Expand Up @@ -21,8 +21,7 @@
<span wicket:id="summaryTagExecutionStatus"/>
<span wicket:id="summaryTagResult"/>
<span wicket:id="wfOutcomeTag"/>
<span wicket:id="emptyTag" style="display: block"/>
<span wicket:id="refreshTag"/>
<span wicket:id="refreshTag" style="margin-top: 6px;"/>
</wicket:extend>
</body>
</html>
Expand Up @@ -120,15 +120,6 @@ public boolean isVisible() {
});
addTag(tagOutcome);

final Component emptyTag = new Label(ID_TAG_EMPTY, new Model("<span style=\"display: block; padding-bottom: 5px\"/>")).setEscapeModelStrings(false);
emptyTag.add(new VisibleEnableBehaviour() {
@Override
public boolean isVisible() {
return parentPage.getTaskDto().getWorkflowOutcome() == null;
}
});
addTag(emptyTag);

final AutoRefreshPanel refreshTag = new AutoRefreshPanel(ID_TAG_REFRESH, refreshModel, parentPage, true);
refreshTag.setOutputMarkupId(true);
refreshTag.add(new VisibleEnableBehaviour() {
Expand All @@ -142,15 +133,15 @@ public boolean isVisible() {

private String getIconForExecutionStatus(TaskDtoExecutionStatus status) {
if (status == null) {
return "fa fa-fw fa-question-circle fa-lg text-warning";
return "fa fa-fw fa-question-circle text-warning";
}
switch (status) {
case RUNNING: return "fa fa-fw fa-lg fa-spinner";
case RUNNABLE: return "fa fa-fw fa-lg fa-hand-o-up";
case SUSPENDED: return "fa fa-fw fa-lg fa-bed";
case SUSPENDING: return "fa fa-fw fa-lg fa-bed";
case WAITING: return "fa fa-fw fa-lg fa-clock-o";
case CLOSED: return "fa fa-fw fa-lg fa-power-off";
case RUNNING: return "fa fa-fw fa-spinner";
case RUNNABLE: return "fa fa-fw fa-hand-o-up";
case SUSPENDED: return "fa fa-fw fa-bed";
case SUSPENDING: return "fa fa-fw fa-bed";
case WAITING: return "fa fa-fw fa-clock-o";
case CLOSED: return "fa fa-fw fa-power-off";
default: return "";
}
}
Expand Down
Expand Up @@ -48,6 +48,14 @@
display: block;
font-weight: bold;
font-size: 18px;

& > .summary-panel-display-name {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
display: block;
max-width: 800px;
}
}
.progress-description,
.info-box-text {
Expand Down

0 comments on commit b095205

Please sign in to comment.