Commit graph

124 commits

Author SHA1 Message Date
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
Eric Lippmann
c741d52a89
Merge pull request #155 from Icinga/bugfix/tile-view-info-url
Show the info URL also in the tile view
2018-07-02 17:20:54 +02:00
Eric Lippmann
14211fc3f7
Merge pull request #176 from Icinga/feature/update-styles
Feature/update styles
2018-07-02 17:19:15 +02:00
Jennifer Mourek
2bc2ae2e26 Remove top margins on icons in tree view
refs #111
2018-07-02 10:15:01 +02:00
Jennifer Mourek
ae1dd8a2a4 Fix badges background in tree view 2018-06-29 09:21:51 +02:00
Jennifer Mourek
3a71cb6c34 Change border radius of outer badge container 2018-06-28 15:55:50 +02:00
Jennifer Mourek
f7c30d0da3 Adapt badge background 2018-06-28 13:57:59 +02:00
Jennifer Mourek
b9102b21e9 Calculate text-shadow to reduce the colour noise 2018-06-26 16:54:19 +02:00
Jennifer Mourek
862bd40d8b Fix badge position and icon opacity 2018-06-26 16:15:00 +02:00