Commit graph

153 commits

Author SHA1 Message Date
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
af4226aa43 Address Node which is UP or OK with downtime. 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
Johannes Meyer
4d7df037d3 Drop Component\StateBall and use ipl\Web\Widget\StateBall instead 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
aaba2fb884 Introduce state-balls for critical/down-handled nodes
Earlier we did not have different state-balls for critical/down-handled nodes. They were assigned critical/down state-balls. Now, we are introducing new state-balls for these nodes.
2020-05-27 08:22:27 +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
f579cc123f module.js: Use always instead of complete on jqXHR objects
`complete` is deprecated since jQuery 1.8 and now removed since
icingaweb2 upgraded to v3.
2019-07-15 12:44:56 +02:00
Johannes Meyer
845b9f9ddc sortable.js: Use substring instead of startsWith on strings
IE11 doesn't support startsWith yet

fixes #240
2019-07-15 10:58:51 +02: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
77a63cb94e Upgrade Sortable.js
Now on tag/1.8.3
2019-02-27 14:01:44 +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
0a5ada9bf1 js: Suspend Web 2's autorefresh while dragging items
If a refresh happens while dragging the drop wont trigger
any events and the change is not applied.
2019-02-25 15:50:42 +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
a1bb91a999 js: Remove redundant handling for non-node tiles 2019-02-22 12:26:24 +01:00
Johannes Meyer
4995dc39d0 js: Don't use icinga.utils.addUrlParams, that's broken and not necessary here
broken? Try to keep sequenced parameters when adding different ones. Good luck.
2019-02-22 12:26:24 +01:00
Johannes Meyer
c73cd65f6f js: Correctly identify a node's parent in case of first level sub-trees 2019-02-22 12:26:24 +01:00
Johannes Meyer
673135c0f3 Don't redirect after a successful move action but refresh 2019-02-22 12:26:24 +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
e4d802b709 js: Prevent the user from issuing further changes while a request is running
Icinga Web 2 has the peculiarity to abort previous requests which are directed
to the same container. In this case, this may lead to inconsistencies with the
ui and the backend.
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
987f576d76 Upgrade Sortable.js
Now on d373ea05e22da265b5f6fc8f218251b78f00ba71
2019-02-22 12:26:24 +01:00
Johannes Meyer
c63e235489 js: Make auto-scroll to the top working 2019-02-22 12:26:24 +01:00
Johannes Meyer
14998958a3 sortable.js upgrade 2019-02-22 12:26:24 +01:00
Johannes Meyer
c3a2d72a3b js: Remove obsolete delegation target for rowDropped 2019-02-22 12:26:24 +01:00