Florian Strohmaier
9e0bee5006
Fix mispositioned mobile menu icon
...
fixes #11099
2016-03-31 14:00:27 +02:00
Thomas Gelf
b6fd4f5584
events.js: do not apply event handlers without...
...
...an Icinga object. Added a log line, eventually we'll catch this one
far day :)
2016-02-29 22:11:30 +01:00
Thomas Gelf
28204762ab
js: fix urls for dynamic css/js reloads
2016-02-29 21:40:48 +01:00
Thomas Gelf
96f50c5dfa
loader.js: fix JS error on IE
2016-02-29 21:18:46 +01:00
Thomas Gelf
29eedc1d4a
navigation.js: remove forgotten console.log
2016-02-29 21:08:26 +01:00
Florian Strohmaier
0c34c20640
Prepare close-container for behavior implementation
...
refs #8590
2016-02-27 15:07:10 +01:00
Alexander A. Klimov
af18334e3e
Cookie icingaweb2-tzo: use `-' as separator
...
fixes #11126
2016-02-25 13:21:34 +01:00
Alexander A. Klimov
a2a96be8c9
Display ISO date and time when a connection was lost
...
refs #10625
2016-02-22 11:24:19 +01:00
Alexander A. Klimov
c4a69191a3
JS: implement Icinga.Utils.padString()
...
refs #10625
2016-02-22 11:14:41 +01:00
Alexander A. Klimov
dc6ea11415
JS: Encode URLs shown in responsive debug element
2016-02-19 14:27:14 +01:00
Alexander A. Klimov
11ea7d99d7
Escape messages of notifications loaded by JavaScript
2016-02-19 14:10:58 +01:00
Alexander A. Klimov
a493c3469c
JS: implement Icinga.Utils.escape()
2016-02-19 14:05:05 +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
e468329051
JS: Keep search field focus
...
fixes #11029
2016-02-02 08:40:35 +01:00
Eric Lippmann
b5cbf49433
JS: Fix login autofocus
2016-01-28 12:29:42 +01:00
Eric Lippmann
41c942d197
JS: Maintain auto-refresh interval over redirects
...
This is far from beautiful. But JS needs a revamp anyway.
Request should be an object and should be passed from function to function in order to maintain state.
2016-01-27 09:19:12 +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
4c4e8e4ac2
monitoring: Re-focus check now and alike
2016-01-22 13:33:59 +01:00
Eric Lippmann
2f9ffa65d7
JS: Ignore ids forms and form controls in getCSSPath()
...
Id generation is unreliable.
refs #10992
2016-01-20 18:10:04 +01:00
Eric Lippmann
e1eb505986
JS: Maintain autosubmit focus
2016-01-18 13:28:36 +01:00
Eric Lippmann
ebab4e8473
JS: Ignore ids startings w/ form_ in getCSSPath
...
protectId makes ids change over subsequent requests.
2016-01-18 13:27:02 +01:00
Eric Lippmann
7a6d61ceaa
JS: Re-focus visible elements only
...
Don't try to re-focus links from dropdown tabs example because they're no longer visible if the page has been loaded.
2016-01-18 12:50:27 +01:00
Eric Lippmann
3ab5b5b721
Fix skip to content jump link
2016-01-18 12:50:27 +01:00
Eric Lippmann
81d73bb5e4
JS: Try to maintain focus
2016-01-18 12:50:27 +01:00
Eric Lippmann
b515eaa076
JS: Introduce getCSSPath
...
getCSSPath returns the CSS path to a given jQuery element. We have getDomPath which is not robust enough and
getElementByDomPath which makes no sense because getDomPath could already return a selector suitable for jQuery.
getCSSPath is meant to replace both of them.
The function is far from perfect, as its lacking class consideration and optimization.
2016-01-18 12:50:27 +01:00
Eric Lippmann
a262d13f86
Interpret onload ajax requests for the detail column as auto-refresh
...
This is a preperation for programmatically focusing the target container of a followed link for accessibility reasons.
Automated focusing of the target container must not happen if the request is a auto-refreshing one. Thus onload requests
are now flagged as auto-refresh.
2016-01-18 12:50:27 +01:00
Eric Lippmann
66c4b9a3da
Fix dropdown losing focus when navigating w/ the keyboard
2016-01-12 08:52:30 +01:00
Eric Lippmann
7c1ccc685f
Rename close-toggle to close-container-control
2016-01-12 08:52:30 +01:00
Eric Lippmann
267aa0d3a2
Remove forgotten console.log from ui.js
2016-01-12 08:52:30 +01:00
Eric Lippmann
b1049f2aed
Prepare .controls for removing padding
...
refs #10871
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
447ebeb0b6
JS: Optimize mobile menu code
2015-12-22 14:01:45 +01:00
Eric Lippmann
887a688781
Quick-fix mobile menu
...
Will be reworked asap.
2015-12-21 14:06:42 +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
8006090108
Merge branch 'feature/theming-10705'
...
resolves #10705
2015-12-16 12:49:11 +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
99f0a348c5
Disable transitions on page load
2015-12-15 13:29:30 +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
583a4985c0
Add mobile menu
...
fixes #8999
2015-11-16 14:21:08 +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