You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Andi Huber (Jira)" <ji...@apache.org> on 2022/09/30 07:24:00 UTC
[jira] [Commented] (ISIS-3227) [Regression][WicketViewer] Css distortion?
[ https://issues.apache.org/jira/browse/ISIS-3227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17611405#comment-17611405 ]
Andi Huber commented on ISIS-3227:
----------------------------------
Inspecting the screen shots, I see <tr class="odd error">, where the 'error' is correctly expressed.
> [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
> Priority: Minor
> 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)