Commit graph

132 commits

Author SHA1 Message Date
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
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
d42548216b js: Cleanup and make tree collapse handling work with the new layout 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
fe8f4d8c15 js: Don't permit to create loops 2019-02-22 12:26:24 +01:00
Johannes Meyer
493328ff20 Make moving non-root tiles working again 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
d2c858ddf8 js: Fix case of the desired method when submitting order changes 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
c804177ca4 Also save user defined order of processes nodes while in tree view 2019-02-22 12:26:23 +01:00
Johannes Meyer
67ba5205e2 js: Upgrade Sortable.js to latest version (1.8.0-rc1) 2019-02-22 12:26:23 +01:00
Johannes Meyer
f4298034b9 js: Add drag&drop functionality 2019-02-22 12:26:23 +01:00
Johannes Meyer
4c0136eec8 Beautify displayed message for restricted hosts/services
refs #147
2019-02-18 15:20:42 +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
302a041b30 js: Don't "fix" the fullscreen if content is being rendered in the dashboard
fixes #127
2019-01-09 15:28:28 +01:00
Eric Lippmann
ac4e217d78 Fix UI bug for node names that exceed the viewport width 2018-08-14 10:38:07 +02:00
Eric Lippmann
146ad0171f Display root nodes in the dashboard 2018-08-01 13:53:01 +02:00