Commit graph

340 commits

Author SHA1 Message Date
Johannes Meyer
347089414a css: Use proper flex layout to align redundancy group summaries
fixes #1222
2025-06-18 08:20:51 +02:00
Johannes Meyer
2aaeac8676 css: Make sure redundancy group statistics fit
fixes #1191
2025-06-05 16:37:48 +02:00
Florian Strohmaier
815236eceb css: Prevent .icinga-info content from colliding 2025-06-02 17:03:42 +02:00
jrauh01
7249790556
Ellipsize plugin output in list items with common layout (#1198) 2025-05-28 07:32:55 +02:00
Sukhwinder Dhillon
8f4401cc72 Fix horitzontal scroll bar in object detail view caused by progress-bar
Position the `.right` elements with right css property and `.left` with left
2025-04-25 14:00:30 +02:00
Florian Strohmaier
79481c5657
CSS: Invert affected children element (#1158) 2025-04-09 13:06:34 +02:00
Johannes Meyer
609aa080ce css: Drop obsolete view-mode-switcher rules
It had been a list a long time ago, now it's a form.
No list style, margin or padding reset needed.
2025-04-01 14:01:51 +02:00
Johannes Meyer
2794a7c68c AttemptBall: Drop and replace usages with ipl\Web\Widget\Ball 2025-03-28 16:43:49 +01:00
Johannes Meyer
21c8191a09 Ensure compatiblity with Icinga/ipl-web#258 2025-03-28 16:43:49 +01:00
Johannes Meyer
cc6c68bc99 css: Final cleanup 2025-03-28 16:13:17 +01:00
Johannes Meyer
7bb92faa56 css: Adjust host|servicegroup layout 2025-03-28 16:13:17 +01:00
Johannes Meyer
dde5771b81 css: Drop obsolete user(group)-list rules 2025-03-28 16:13:17 +01:00
Sukhwinder Dhillon
49cbafc386 Fix ObjectGrid and add php generic types
- Fix object-grid css
2025-03-28 16:13:17 +01:00
Sukhwinder Dhillon
0ea3b63458 Controller: Remove obsolete if condition
Ipl-web manages this now
2025-03-28 16:13:17 +01:00
Sukhwinder Dhillon
80fc6a4229 Cleanup css and php code 2025-03-28 16:13:17 +01:00
Sukhwinder Dhillon
3035bb0538 Update trait TicketLinks and (Comment/Downtime)Renderer class
TicketLinks: Add setter to disable ticket links. By default, ticket links should be created.
Comment/DowntimeRenderer: Add setter noObjectLink()
CommentRenderer: Add setter noSubjectLink(), only used for the comment-popup
2025-03-28 16:13:17 +01:00
Sukhwinder Dhillon
9febe3bf36 Introduce class ObjectTable and ObjectGrid
- Update css
2025-03-28 16:13:17 +01:00
Sukhwinder Dhillon
1c36123a87 Introduce (Host|Service)(Grid)groupRenderer
- Fix and remove obsolete css
2025-03-28 16:13:16 +01:00
Sukhwinder Dhillon
183d5ee7ba Introduce HistoryRenderer
- Remove now obsolete ItemList classes
2025-03-28 16:13:16 +01:00
Sukhwinder Dhillon
3252ff8925 Introduce class LoadMoreObjectList and NotificationRenderer
- Remove now obsolete ItemList classes
- Fix load-more element's css
- LoadMore: Replace `list-item` css class with new `item-layout` class, as this class is now responsible for list items
2025-03-28 16:13:16 +01:00
Sukhwinder Dhillon
c15f32a43f Introduce DowntimeRenderer
- Use it for ObjectList and ObjectHeader
- Remove now unused code and css
2025-03-28 16:13:16 +01:00
Sukhwinder Dhillon
c55f1dceb8 Introduce TicketLinkObjectList and CommentRenderer
TicketLinkObjectList: This class creates object list with ticket links using TicketLinks trait
CommentRenderer: Defines the rendering rules for Comment object
Cleanup css and unused classes
Adjust comment-popup.less
2025-03-28 16:13:16 +01:00
Sukhwinder Dhillon
bfe1681859 Introduce User/UsergroupRenderer
- Use it in ObjectList and ObjectHeader
- Remove now superfluous (User/Usergroup)Table(Row) classes and css
2025-03-28 16:13:16 +01:00
Sukhwinder Dhillon
36ce426bbe Introduce Host/Service Renderer
- Use these renderers in ObjectHeader and ObjectList class
- Remove now superfluous Host/ServiceList and ListItem classes
- DetailsAction: Change visibility of url setter to public (These are called in controller now)
2025-03-28 16:13:16 +01:00
Johannes Meyer
ce05f5df5d css: Ensure compatibility with the new table layout 2025-03-28 16:13:16 +01:00
Johannes Meyer
6dd9aa5e81 css: Ensure compatibility with the new item layout 2025-03-28 16:13:16 +01:00
Johannes Meyer
7a6352bc62 Drop old header/list item implementation for redundancy groups 2025-03-28 16:13:16 +01:00
Johannes Meyer
c0b0f82daa Introduce class RedundancyGroupRenderer 2025-03-28 16:13:16 +01:00
Johannes Meyer
6262885479 redundancy-group: Ensure header matches height of others 2025-01-22 15:36:24 +01:00
Sukhwinder Dhillon
efe8d77068 RedundancyGroup: Don't wrap state msg into span and translate it with context
This msg should be handled same as the host <is/on> word, no element wrapping.
This way, the margin arround the msg is applied properly.

- Add the missing margin-right to subject in case of `.default-layout` list
2025-01-22 13:44:32 +01:00
Sukhwinder Dhillon
18ba5a3dfb Add view mode functionality for RedundancyGroup items 2025-01-22 13:44:32 +01:00
Sukhwinder Dhillon
75c242ed07 common.less: Add margin-left to .affected-objects badge
The margin applied by `.title` only work with `<html> text <html>`... structure, here we have <html> followed by <html>, so the margin must be applied explicitely.

Applied the double, so it always looks same in all view modes
2025-01-22 11:36:42 +01:00
Johannes Meyer
30269efbe2 ui: Change visualization of redundancy group states
They can now be unreachable, thus get the same icon as others.
The state then isn't about reachability anymore, so it's just
critical or ok.
2024-12-17 17:53:02 +01:00
Sukhwinder Dhillon
2c5caea31f Introduce ObjectHeader class and use it
ObjectHeader
2024-11-19 17:44:55 +01:00
raviks789
e22bd1bde8
Show root problem list for objects with problem and are part of dependency 2024-10-31 09:46:49 +01:00
raviks789
98fc692c5f
Do not use StateBadge to construct affected children indicator 2024-10-16 10:49:06 +02:00
raviks789
2012b29e14 Indicate the number of affected children by a particular parent 2024-10-08 16:30:04 +02:00
Johannes Meyer
8da16eaaf2 css: Ensure compatibility with ipl v0.14.2 2024-07-19 11:35:35 +02:00
Johannes Meyer
daa009e2bd CheckStatistics: Fine tune execution start layout rules 2023-10-23 08:03:27 +02:00
Johannes Meyer
6a40732099 CheckStatistics: Don't cut off execution start on small screens..
..only for #col1
2023-10-13 15:40:01 +02:00
Johannes Meyer
882e24e4c2 CheckStatistics: Don't cut off execution start on small screens
fixes #899
2023-10-13 15:30:17 +02:00
Johannes Meyer
de96826f28 Use ipl\Web\EmptyStateBar where applicable 2023-09-13 12:37:03 +02:00
Sukhwinder Dhillon
1bd2a83be7 Avoid using inline style 2023-09-08 16:25:40 +02:00
Yonas Habteab
705a470a1f Utilize widgets moved to ipl-web 2023-09-08 14:54:47 +02:00
raviks789
172e75102f Do not evaluate invalid performance data 2023-09-05 16:44:42 +02:00
Yonas Habteab
423c9a88e4 Deprecate StateBadge class again 2023-08-29 09:27:11 +02:00
Johannes Meyer
dd803f60cd BaseItemTable: Introduce layout modes
This elevates the layout `table-layout`, previously
introduced exclusively for host and service group
tables, to the standard layout used for item tables.

fixes #814
2023-08-11 13:50:58 +02:00
Johannes Meyer
966bb50d02 progress-bar.less: Hide ::before if progress is not animated 2023-07-21 10:24:10 +02:00
Johannes Meyer
4a0583f89d Add StateBadge(s) changes from ipl-web here 2023-07-20 10:20:09 +02:00
Johannes Meyer
121071c7f2 Revert "Drop classes StateBadge and StateBadges"
This reverts commit 6d36b0c3ed.
2023-07-20 09:36:36 +02:00