Commit Graph

75 Commits

Author SHA1 Message Date
Thomas Gelf 29eedc1d4a navigation.js: remove forgotten console.log 2016-02-29 21:08:26 +01:00
Alexander A. Klimov 474803fee4 Change all license headers to only reflect a file's year of creation
refs #11000
2016-02-08 15:41:00 +01:00
Eric Lippmann b5cbf49433 JS: Fix login autofocus 2016-01-28 12:29:42 +01:00
Eric Lippmann c963ee23ff JS: Ignore autosubmit elements in the form behavior 2016-01-27 09:12:42 +01:00
Eric Lippmann 7ede8124cb Pagination: Focus active after next or prev exceeded
I'd like to see behaviors for components instead of patching loader/events all the time.
2016-01-25 07:23:12 +01:00
Eric Lippmann 66c4b9a3da Fix dropdown losing focus when navigating w/ the keyboard 2016-01-12 08:52:30 +01:00
Eric Lippmann 1c5ada2531 Remove hover effects from mobile menu 2015-12-22 14:32:04 +01:00
Eric Lippmann 1b196e61a6 Ignore application-state requests on setup 2015-12-21 13:03:58 +01:00
Eric Lippmann 6e9b9cb8d6 JS: Add autofocus behavior
refs #10671
2015-12-21 13:03:08 +01:00
Eric Lippmann f5dac49330 Don't fire application-state requests if not authenticated
fixes #10749
2015-12-16 12:55:41 +01:00
Eric Lippmann 30124f384e JS: Improve selector used in the selectable behavior 2015-12-16 12:48:02 +01:00
Eric Lippmann 755f361e4c Add behavior for dropdown navigation items
Dropdown navigation is not yet accessible. The added behavior listens for activity on dropdown-navigation-item for toggling the CSS class active.
2015-12-16 12:48:02 +01:00
Eric Lippmann 12a39568b7 JS: Remove unused variable in sparkline behavior 2015-12-16 12:48:02 +01:00
Eric Lippmann 5b898d5f3b JS: Don't activate a menu item if only a part of the current URL matches
Else, navigating to user -> preferences -> navigation activates configuration -> shared navigation for example.
2015-11-20 09:39:53 +01:00
Eric Lippmann 0cc54ce34b Refresh session every 10 minutes
Quick and dirty fix.

fixes #10229
2015-11-16 14:19:33 +01:00
Eric Lippmann fefdfe3d7b JS: Reduce code for the sparkline behavior
refs #5543
2015-11-11 15:23:45 +01:00
Eric Lippmann e1e1a535ee JS: Remove unnecessary space in Navigation::onRendererd()
refs #5543
2015-11-10 09:31:52 +01:00
Eric Lippmann 68777b2b6a JS: Don't use deprecated jQuery function size() in navigation.js
refs #5543
2015-11-09 16:44:37 +01:00
Eric Lippmann 70d7f7f669 JS: Fix doc of navigation::onRendered()
refs #5543
2015-11-09 16:44:19 +01:00
Eric Lippmann bb432fcc68 JS: Use _this when saving a reference to this in Navigation::onRendered()
There a tons of places where we use self instead of _this. self is a global variable in modern browsers.

refs #5543
2015-11-09 15:55:23 +01:00
Thomas Gelf ed69bd5d99 Tables: rename action-table to table-row-selectable 2015-11-04 15:39:35 +01:00
Matthias Jentsch cb81916a2c Support defining row actions that do not show up in any of the links 2015-10-01 14:54:01 +02:00
Eric Lippmann 231c63b703 Merge branch 'master' into feature/dope-layout-5543 2015-09-30 18:52:52 +02:00
Eric Lippmann a932bad2dc JS: Support rowaction on action-table
refs #5543
2015-09-29 18:05:49 +02:00
Eric Lippmann 301b0a8cc9 JS: Support actiontable behavior for action-table too
refs #5543
2015-09-28 17:27:33 +02:00
Eric Lippmann d03647f2e6 JS: Rename dblclickselect to selectable
refs #9826
2015-09-28 15:44:25 +02:00
Eric Lippmann 2ff822c2ac Merge branch 'master' into feature/ipv6-addresses-9645-9826 2015-09-28 13:09:30 +02:00
Matthias Jentsch 1b6f5861b7 Highlight selected table rows in related actions
Allow declaring related controllers for action tables and highlight table rows based on the queries in links pointing to those actions.

fixes #10155
2015-09-16 15:31:53 +02:00
Matthias Jentsch 8e554684af Fix multi-selection in combination with anchors
refs #9844
2015-09-10 16:49:18 +02:00
Matthias Jentsch ef6debfa32 Allow selecting form elements in action table rows
fixes #10045
2015-09-07 11:27:46 +02:00
Matthias Jentsch d88336dc39 Fix activating search items in navigation
Support activating search input fields in navigation.js,
improve setActiveByUrl to recognize search input urls.

refs #9761
2015-08-26 11:49:50 +02:00
Matthias Jentsch 6a43dd9e0e Improve comments and clean up 2015-08-26 11:38:12 +02:00
Matthias Jentsch 96e3845f46 Improve handling of navigation on link closes
Do not drop active menu when closing the left column, unless there is a different active menu that matches the current state.

fixes #9761
2015-08-25 16:55:10 +02:00
Matthias Jentsch 47d8b45e6a Store active menu item as HTML5 history state information
Introduce new interface to allow behaviors to handle state in the HTML5 history and adapt the behavior implementation.

refs #9761
2015-08-25 16:51:55 +02:00
Matthias Jentsch 2541b0eba4 Restore hover menu on reload
Remember the hovered menu and restore it on each reload.

fixes #8969
2015-08-18 11:42:42 +02:00
Johannes Meyer a6fb3d59f8 js: Disable text selection for multiselect tables only 2015-08-17 16:06:23 +02:00
Alexander Fuhr 3d846ea270 js/actiontable: Fix the wrong parentheses encoding in multiselect
fixes #9347
2015-08-04 16:49:35 +02:00
Markus Frosch 083900dae0 Implement DblClickSelect as a Icinga Behavior
refs #9826
2015-08-04 14:06:33 +02:00
Matthias Jentsch 6db79a72d5 Display the rows in the auth backend configuration as active without any delay
refs #8623
2015-07-29 15:21:29 +02:00
Matthias Jentsch 1de1f119d6 Fix range selection in IE
Cancel selectstart event on all selectable rows in the action table.

fixes #8768
2015-07-28 17:54:08 +02:00
Matthias Jentsch cbb9ef10a2 Remove single selections correctly when going back in the history 2015-07-28 15:21:14 +02:00
Matthias Jentsch 8dbd671b0d Conform to coding guidelines, update docstrings and cleanup unused code
refs #8623
2015-07-28 15:21:02 +02:00
Matthias Jentsch f2d253f508 Assure that rows are refreshed correctly on reload
Assure that all links are initialized when the selection is applied after a request. Move action table code into the actiontable behavior.

refs #8623
2015-07-27 10:34:17 +02:00
Matthias Jentsch 6a7e3fe440 Document multi selection and use clearer names
refs #9054
2015-06-30 13:03:41 +02:00
Matthias Jentsch e0d588cda3 Fix look and feel of row selection
Always refresh all tables on render and click events, to display or remove active rows without any delay.

refs #9054
refs #9346
2015-06-30 11:53:38 +02:00
Matthias Jentsch aec59d9941 Use current filter to highlight active rows instead of storing active rows in JS
Clean up selection code and move it into separate behavior and parse filter query to fetch selectable rows.

refs #9054
refs #9346
2015-06-29 18:48:42 +02:00
Matthias Jentsch ce6be0cc0f Only use JS tooltips when non-native tooltip behavior is required
Only display JS tooltips when there are specific requirements for delay, there is a specific alignment or HTML markup can be rendered in the tooltip.

fixes #9025
2015-04-20 11:21:10 +02:00
Matthias Jentsch 6898a4e0d5 Display icon tooltips without delay
Original functionality was broken when changing the icon library.
2015-04-16 18:32:47 +02:00
Matthias Jentsch f07c0d83e8 Add option to change tooltip settings from data attributes
refs #9025
2015-04-16 18:32:47 +02:00
Johannes Meyer d6e5afa6d5 Fix that a menu section is not expanded in a popup when hovered
fixes #8695
2015-03-13 15:01:47 +01:00