You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Jörg Rade (Jira)" <ji...@apache.org> on 2022/09/29 13:25:00 UTC
[jira] [Created] (ISIS-3227) [Regression][WicketViewer] Css distortion?
Jörg Rade created ISIS-3227:
-------------------------------
Summary: [Regression][WicketViewer] Css distortion?
Key: ISIS-3227
URL: https://issues.apache.org/jira/browse/ISIS-3227
Project: Isis
Issue Type: Bug
Components: Isis Viewer Wicket
Affects Versions: 2.0.0-M8
Reporter: Jörg Rade
Attachments: 2022-09-29 13_03_39-Endpoints.png, image.png
Setting icon colors via {{cssClass()}} doesn't work anymore.
!2022-09-29 13_03_39-Endpoints.png!
Compare screen above with !image.png!
application.css:
{code}
.success .title-column .entityLinkSimplePanel {
color: green;
}
.error .title-column .entityLinkSimplePanel {
color: red;
}
.running .title-column .entityLinkSimplePanel {
color: orange;
}
{code}
and Endpoint.java:
{code}
public String cssClass() {
if (response.startsWith(CheckResult.SUCCESS.getValue())) {
return "success";
}
if (response.startsWith(CheckResult.ERROR.getValue())) {
return "error";
}
return "running";
}
{code}
c.f. https://the-asf.slack.com/archives/CFC42LWBV/p1651833195371239
Furthermore, after clicking on the column header (for sorting), font and row colors changed.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)