Commit graph

123 commits

Author SHA1 Message Date
Johannes Meyer
2acf611812 process/show: Allow to adjust the order of nodes
Nodes can be ordered as usually by display name, but now also
in descending order. They can now also be ordered by state.

This also applies to manually ordered processes. Though, changes
to the manual order can only happen if the default order is
active. If that's not the case, a note is shown and a way to reset
the sort order.
2023-08-03 15:19:28 +02:00
Johannes Meyer
926ac14bd9 css: Apply form specific rules only to form.bp-form 2023-08-03 15:06:08 +02:00
raviks789
654ba0474d
Show Ack icon in tree view for nodes with both downtime and acknowledgement (#352)
Acknowledgement takes priority in handled nodes and hence it is
sufficient to show acknowledged icons in case the handled node has an
acknowledgement and also a downtime is scheduled for it.
2023-08-03 15:01:48 +02:00
raviks789
4a3b3e3657 Show Ack/Downtime icons in the node tiles for the handled nodes
In case the hosts/services are acknowleded or have scheduled downtime show Acknowledeged or
Downtime icons respectively.
2023-08-03 14:53:08 +02:00
Sukhwinder Dhillon
834005f7b4 Don't break impact-action page if bp has invalid config
- Add message for invalid config
2023-08-03 10:57:14 +02:00
Johannes Meyer
c2e06aca0a TreeRenderer: Use Icinga Web's collapsible implementation now
resolves #254
2023-07-24 15:57:06 +02:00
Johannes Meyer
6d3146f57a Revert "Merge pull request #320 from Icinga/re-add-php-diff-lib"
This reverts commit 9e9bcb578d, reversing
changes made to 5ccc13c862.
2022-03-24 14:54:03 +01:00
Johannes Meyer
c24dd0a797 css: Ensure compatibility with Icinga Web 2.10 2022-03-16 09:52:54 +01:00
Johannes Meyer
96b28708af Revert "ConfigDiff: Utilize new php-diff library"
This reverts commit dde924e2b4.
2022-03-15 11:24:33 +01:00
Johannes Meyer
3fcc6dd105 Use class ìpl\Web\Widget\StateBadge 2022-03-04 14:21:48 +01:00
Ravi Kumar Kempapura Srinivasa
f0aae66544 Redesign state badges for acknowledged nodes
Add and group state badges for acknowkedeged nodes based on state.
2022-03-04 14:21:48 +01:00
Florian Strohmaier
1c131e8789 CSS: Balance visual icon weight 2021-12-17 13:10:19 +01:00
Johannes Meyer
140ef72371 css: Improve variable usage and make it compatible with Web < 2.10 2021-12-17 13:10:19 +01:00
Johannes Meyer
fcadf2d6b4 Use Web 2's form style 2021-12-17 13:10:19 +01:00
Florian Strohmaier
86732a91f8 CSS: Remove styles for php-diff 2021-12-17 13:10:19 +01:00
Florian Strohmaier
88e04d94c1 module.less: Add fixed var for box-shadow 2021-12-17 13:10:19 +01:00
Johannes Meyer
84c8ab9cd8 css: Adjust variable usages for compatiblity with v2.10 2021-12-17 13:10:19 +01:00
Johannes Meyer
455db3514e css: Remove obsolete .tiles > .addnew rule 2021-12-17 13:10:19 +01:00
Johannes Meyer
dde924e2b4 ConfigDiff: Utilize new php-diff library 2021-12-15 16:07:39 +01:00
Johannes Meyer
bf0d2c2c8d css: Fix syntax errors 2021-06-18 12:02:39 +02:00
Johannes Meyer
a8149a1983 ui: Use rule widget to show real state transformation instead
Showing the override rules only in tree view but not in tile
view is one problem. Another one however are rules for all
states which then are difficult to decipher while not providing
much benefit.

The flash to indicate the real state also is not intuitive enough.

That's why this change combines both widgets in a single one. This
makes it more clear what the actual state is, what happened to it,
and does not cobble the view with too much state balls.
2020-06-26 14:11:40 +02:00
Johannes Meyer
0c7fca926f config: Use an extra line to store state overrides
Storing overrides as part of a node's name leads to way too complicated
code. A separate field is not only better for compatibility but also
more straightforward to process.
2020-06-26 14:08:05 +02:00
Christian Menapace
98b6b2c6d0 Add Service Override 2020-06-26 11:32:09 +02:00
Ravi Kumar Kempapura Srinivasa
233e9758fa Show gray tiles and gray state badges for empty states
New tiles and state badges that are of color gray is introduced for empty nodes.
2020-05-11 11:44:50 +02:00
Feu Mourek
3bf808bfb6 Fix the delay 2020-02-25 16:26:18 +01:00
Feu Mourek
467fd70d41 Fix hover being blue 2020-02-25 16:11:01 +01:00
Feu Mourek
37a429b3ec Add animations for breadcrumbs on impact
refs #242
2020-02-25 14:52:32 +01:00
Johannes Meyer
8ee87ec1f6 css: Remove mix-blend-mode instruction 2019-12-12 14:46:30 +01:00
Johannes Meyer
1c1572fb56 css: Enhance compatibility with custom themes
fixes #217
2019-03-01 11:05:17 +01:00
Johannes Meyer
00fcce8192 tiles: Also show proper d&d cursors and lock drag during progress 2019-03-01 08:39:20 +01:00
Johannes Meyer
6ca68ab46b css: Make state-balls in breadcrumbs also easier to render 2019-02-27 13:23:54 +01:00
Johannes Meyer
617d43daa4 css: Make it easier for browsers to render state-balls circular 2019-02-27 10:22:50 +01:00
Johannes Meyer
0fbb8956e9 node/impact: Don't show colored background for breadcrumbs
There are stateballs now.
2019-02-26 15:06:02 +01:00
Johannes Meyer
670a29e5f7 Breadcrumb: Show a node's state 2019-02-26 13:15:14 +01:00
Johannes Meyer
f93a480107 tree: Add hover effect 2019-02-26 12:28:09 +01:00
Johannes Meyer
6ae4cf745c RenderedProcessActionBar: Don't allow to unlock imported nodes 2019-02-22 14:41:53 +01:00
Johannes Meyer
cfe87e440a css: Increase z-index of Web 2's export dropdown
Otherwise parts of the breadcrumbs show through.
2019-02-22 13:26:43 +01:00
Johannes Meyer
ff2274c048 node/impact: Fix that a process' state is not displayed 2019-02-22 12:26:24 +01:00
Johannes Meyer
df7e72398d RenderedProcessActionBar: Make the mode toggle a single anchor
It's a toggle, there's no need for two distinct urls. Even more
important, there's no need for two different click areas.
2019-02-22 12:26:24 +01:00
Johannes Meyer
b3a5c34c45 ui: Set appropriate cursors when the user drags and drops stuff 2019-02-22 12:26:24 +01:00
Johannes Meyer
fb8c3c5a33 Redesign breadcrumbs 2019-02-22 12:26:24 +01:00
Johannes Meyer
5fe4983c3c ActionBar: Add toggle to switch between tile- and tree-view 2019-02-22 12:26:24 +01:00
Johannes Meyer
494027710b ActionBar: Restyle and move link to add new processes 2019-02-22 12:26:24 +01:00
Johannes Meyer
7fcf5df31a module.less: Remove obsolete TreeView rules 2019-02-22 12:26:24 +01:00
Johannes Meyer
a3ce6e1543 tree: Apply final design 2019-02-22 12:26:24 +01:00
Johannes Meyer
877f86a746 js: Allow to move nodes between processes 2019-02-22 12:26:24 +01:00
Johannes Meyer
48ba2a7bba TreeRenderer: Render add button as action link in the top right 2019-02-22 12:26:24 +01:00
Johannes Meyer
36dd4e0296 TreeRenderer: Use a more homogenous html structure
i.e. no divs, just uls and lis
2019-02-22 12:26:24 +01:00
Johannes Meyer
eac7f3e76f Enhance drag&drop in the tree view
The style is not final, of course..
2019-02-22 12:26:23 +01:00
Johannes Meyer
f4298034b9 js: Add drag&drop functionality 2019-02-22 12:26:23 +01:00