Johannes Meyer
4d7df037d3
Drop Component\StateBall and use ipl\Web\Widget\StateBall instead
2021-12-17 13:10:19 +01:00
Johannes Meyer
ad2ea6f8c5
NodeTile: Add plural support to the Children label
...
closes Icinga/L10n#18
2021-12-13 15:28:50 +01:00
Johannes Meyer
49ebbc4cdb
Apply state overrides on demand instead of directly
...
Internally non-process children are only instantiated once.
This means when applying state overrides directly they're
used everywhere and do not differ between the containing
process. State overrides are now applied explicitly and
on demand, decoupling them from children.
2020-07-01 08:54:34 +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
Christian Menapace
98b6b2c6d0
Add Service Override
2020-06-26 11:32:09 +02:00
Ravi Kumar Kempapura Srinivasa
b3686906a5
Use the correct state-balls for critical/down-handled nodes in NodeTile::render()
...
Use the state-balls that are added for critical/down-handled nodes in NodeTile::render(), in case the nodes are critical/down and handled.
2020-05-27 08:23:16 +02:00
Ravi Kumar Kempapura Srinivasa
1bc6bf6236
Use gray tiles and state-balls for the entire branch of empty BpNode
...
The node state is recursively calculated in case the node contains only BpNodes as its children and are empty. The gray tiles and state-balls are used for the entire branch if the children are empty.
2020-05-11 11:45:33 +02:00
Ravi Kumar Kempapura Srinivasa
51c7fdf6c9
Fix 'Trying to access a missing business process node <$name>'
...
If the imported node is empty or was deleted at a later time, then in NodeTile::render() $link should not be rendered. Also, NodeTile::addDetailsAction() should not add a `href` to this tile.
2020-05-11 11:45:05 +02:00
mdkamijo
3ffbce0709
Make it possible to delete imported nodes ( #248 )
...
It is possible to import process nodes from other processes. But there
are no way, via the GUI, to remove the imported process nodes from the
current process/process node.
This commit makes it possible to remove imported process nodes, no matter
where which process they comes from.
2020-02-26 14:53:34 +01:00
Eric Lippmann
125bf37ba8
Fix superfluous base target overrides
...
* Fix drill down of the tile/tree action icon links
* Set base target only on parent containers
This also fixes the dashboard integration where we only override the
base target of the div.tiles containers.
fixes #243
2020-02-26 14:17:39 +01:00
Eric Lippmann
a2854e8cf4
Use display_name as alias for host and service nodes
2020-02-05 15:01:22 +01:00
Johannes Meyer
b932fa8415
TreeRenderer: Open info urls in a new tab
...
refs #187
2019-02-28 11:19:13 +01:00
Johannes Meyer
cad29d4d32
NodeTile: Add current path to the add action url
...
fixes #212
2019-02-28 09:12:38 +01:00
Johannes Meyer
a941052efa
NodeTile: Don't show action links for imported nodes
...
refs #209
2019-02-28 07:48:42 +01:00
Johannes Meyer
885064b577
Provide links to jump to an imported node's source configuration
...
refs #209
2019-02-28 07:48:35 +01:00
Johannes Meyer
670a29e5f7
Breadcrumb: Show a node's state
2019-02-26 13:15:14 +01:00
Johannes Meyer
3431540700
NodeTile: Don't use a node's identifier if it's the same config anyway
2019-02-25 14:23:41 +01:00
Johannes Meyer
eaf5b85538
Change how imported nodes are recognized
...
Since configurations are cached this cannot be done by using
a flag. Instead the rendering and path aggregation are now able
to distinguish nodes themselves.
2019-02-25 13:58:18 +01:00
Johannes Meyer
1529ec4602
NodeTile: Hash ids the same way as in the tree view
2019-02-22 12:26:24 +01:00
Johannes Meyer
6cdaa48f68
TileRenderer: Use the correct action urls for imported nodes
2019-02-22 12:26:24 +01:00
Johannes Meyer
c19854d05c
TileRenderer: Make the navigation through imported nodes fluent
2019-02-22 12:26:24 +01:00
Johannes Meyer
431a5e0085
Streamline usage of a node's name
2019-02-22 12:26:24 +01:00
Johannes Meyer
00b88055f7
BpConfig: Delay processing of imported configurations
...
Solves the issue that two processes cannot import each other
2019-02-22 12:26:24 +01:00
Johannes Meyer
2123b41f83
Properly integrate imported nodes
...
* Fixed navigation flow
* Full tree rendering
2019-02-22 12:26:24 +01:00
Johannes Meyer
fb8c3c5a33
Redesign breadcrumbs
2019-02-22 12:26:24 +01:00
Johannes Meyer
8c2f0e30bb
TileRenderer: Allow to reorder tiles by using drag&drop
2019-02-22 12:26:23 +01:00
Dominik Riva
c7e24d27de
Fix misspelled delete / cancel icon name.
2019-02-01 14:49:38 +01:00
Johannes Meyer
6c83fee2d6
NodeTile: Show total amount of children beneath a parent's name
2019-01-17 14:57:38 +01:00
Johannes Meyer
c40a192078
NodeTile: Allow to add sub nodes directly from a parent's overview
2019-01-17 14:57:38 +01:00
Johannes Meyer
19ae300aca
lib: Remove all traces of Icinga\Module\Businessprocess\Html
...
refs #130
2019-01-17 13:21:46 +01:00
Thomas Gelf
20b957a999
Tiles: navigate in place when drilling down
...
fixes #192
2018-12-12 16:36:09 +01:00
Thomas Gelf
8b7311591f
Revert "Adjust tile navigation"
...
This reverts commit 50e18766f6 .
refs #192
2018-12-12 16:36:09 +01:00
Thomas Gelf
5c08a71bd7
NodeTile: open external URLs in a new browser tab
...
fixes #187
2018-11-08 11:36:16 +01:00
Eric Lippmann
50e18766f6
Adjust tile navigation
...
* Left to right tile drill down
* Actions redirect to main
2018-08-15 09:37:43 +02:00
Eric Lippmann
7cb7f40e87
Don't show edit actions for the unbound nodes tile
2018-08-14 10:37:44 +02:00
Jennifer Mourek
87b1d961bc
Add functionality to edit node
2018-07-31 12:50:25 +02:00
Jennifer Mourek
5391dff635
Change info URL icon
2018-06-26 16:11:29 +02:00
Jennifer Mourek
a544f25551
Remove help from node detail view
2018-06-25 15:31:34 +02:00
Alexander A. Klimov
89347648e1
Show the info URL also in the tile view
2017-12-04 14:13:28 +01:00
Thomas Gelf
f5d551bbf0
ImportedNode: improve link targets, fix rendering
...
refs #108
2017-02-16 14:05:16 +01:00
Thomas Gelf
d88522eb85
Renderers: do not show links and buttons...
...
...pointing to readwrite actions in case such are not allowed
refs #107
2017-02-08 17:59:03 +01:00
Thomas Gelf
d87edba377
Just a couple of newlines to satisfy latest PSR2
...
...checks in phpcs
2017-01-11 23:56:17 +01:00
Thomas Gelf
65524e7a8b
NodeTile: tweak some links
2017-01-03 11:20:01 +01:00
Thomas Gelf
ac7fa5654f
TileRenderer: improve behavior, link targets
2016-12-17 19:18:15 +01:00
Thomas Gelf
6f33705173
TileRenderer, Node: change rendering again...
...
...use a container div and provide multiple links now, this gives more
flexibility
2016-12-16 19:39:48 +01:00
Thomas Gelf
e1d0996cef
NodeTile: accept any renderer
2016-11-28 22:12:56 +01:00
Thomas Gelf
d92198fa10
Img and Icon introduced, used in NodeTile
2016-11-28 02:09:11 +01:00
Thomas Gelf
d17b0efaa7
Html, Renderer: phpcs
2016-11-28 00:24:36 +01:00
Thomas Gelf
fbd6aef886
Businessprocess/Renderer: prepare new renderers
2016-11-28 00:12:07 +01:00