Commit Graph

111 Commits

Author SHA1 Message Date
Marius Hein 06296f29d8 UI/Sparklines: Change sparkline code to serverside only
fixes #6124
2014-06-06 16:35:33 +02:00
Thomas Gelf 2d228ce83d JS for IE8: even more JS fixes
refs #6417
2014-06-05 18:11:19 +00:00
Thomas Gelf ca6b373be2 JS: fix multiselect burning resources
Especially on browsers with slow JS like IE8 iterating again and again
over all rows used to harm response rendering. Immagine a dasboard with
a total of a few hundred rows refreshing every 10 seconds while taking
3 secs to render one dashlet... it's far better right now.

refs #6417
2014-06-05 15:16:03 +00:00
Thomas Gelf 6d321d67cd JS/CSS: Get IE8 working
Just a bunch of JS and CSS improvements / fixes

refs #6417
2014-06-05 15:03:59 +00:00
Thomas Gelf ce220c5ea7 sidebar/menu: menu should be scrollable
This allows us to scroll menus not fitting into available screen height.
Plays nice with menu hovering, however once you scroll down your menu
you'll temporarily disable the hover-menu-feature.

fixes #6283
2014-05-26 08:18:47 +00:00
Thomas Gelf f32eab627a js/forms: treat buttons like input-buttons
This fixes a few autosubmission-detection woes.
2014-05-20 23:55:18 +00:00
Thomas Gelf 194914917a js/events: initialize only existing search field
Formlerly JS failed on layouts without menu, should be fixed now.
2014-05-20 21:55:32 +00:00
Thomas Gelf de0b97b4ca js/events: improve search field change detection
This used to be nasty since "search" is the field with the initial
focus. Right now we detect "real" changes, this might be implemented
in a more generic way for all autocompleting fields later on.
2014-05-20 14:07:19 +00:00
Thomas Gelf 67144407e6 js/events: do temporarily not respect tab focus
This has been added for keyboard navigation but caused some trouble.
Postponed for now.
2014-05-20 14:05:30 +00:00
Thomas Gelf 03e8ba88e4 Restore click behaviour for table links and rows
Multiselect handlers should influence only multiselect tables. Still
unhappy with current behaviour, but links should work fine right now.

refs #6162
2014-05-09 14:53:34 +00:00
Thomas Gelf 19220a5a44 Initial "click" handling for dropdown tabs
Still uncomplete, there are a number of edge cases that need to be
handled. Keyboard navigation is one of them, hover/click distinction
is another one.

refs #6167
2014-05-09 11:49:15 +00:00
Thomas Gelf 23679c0078 Completely ignore remote links
There are no issues with "returning true" so this should be the
preferred way. No need to fall back on "window.open" here.

fixes #6159
2014-05-09 11:41:18 +00:00
Thomas Gelf e70ca26427 Detect and handle remote links
Currently they trigger XHR requests if not given a special target.

fixes #6159
2014-05-09 11:04:00 +00:00
Matthias Jentsch d0c56126b8 Fix inline pie reload.
refs #6124
2014-05-07 17:03:27 +02:00
Matthias Jentsch 661dbea740 Fix query that finds the nearest container of a table row and stores it. 2014-04-28 09:48:06 +02:00
Matthias Jentsch c641988233 Preserve multiselection during refresh
refs #5765
2014-04-28 09:48:06 +02:00
Matthias Jentsch b791883fa8 Fix configuration checkboxes and colors in piecharts
refs #5765
2014-04-28 09:48:06 +02:00
Matthias Jentsch b16c6efa05 Add PieChart to display hosts and services, improve layout and fix flag
checkboxes

refs #5765
2014-04-28 09:48:06 +02:00
Matthias Jentsch 081b5072a6 Fix layout of MultiController views
refs #5765
2014-04-28 09:48:06 +02:00
Matthias Jentsch cb630d45ad Fix issues issues with javascript multiselection
refs #5765
2014-04-28 09:48:05 +02:00
Matthias Jentsch 3b2bb3c4fc Move functions to perform single, multi and range-selection into the ui module
refs #5765
2014-04-28 09:48:05 +02:00
Matthias Jentsch 6d303f1c42 Add abillity for multi and range-selection to events.js
Add the abillity to select multiple rows, with a multi-selection using the
CTRL-key or a range-selection using the shift-key. Also fix several issues in
the Multi-Controller of the Backend.

refs #5765
2014-04-28 09:48:05 +02:00
Johannes Meyer 758fd06cfe Trigger 'rendered' event also on page loads 2014-04-01 11:46:44 +02:00
Thomas Gelf ce1e4a73eb Remove hove menu slightly faster 2014-03-28 19:57:04 +00:00
Thomas Gelf 234bdbd46b Remove siblings hover-menu when moving over active entry 2014-03-28 15:34:08 +00:00
Thomas Gelf a5e41f6c08 Detect form button in JS form submission handler 2014-03-28 14:53:37 +00:00
Thomas Gelf 0c9695992f Fine-tune hoverable menu 2014-03-27 19:55:19 +00:00
Thomas Gelf fa903e10b6 Add menu hover support 2014-03-27 19:39:04 +00:00
Thomas Gelf 070573b9c0 Fix event handler declaration accessing global icinga object 2014-03-26 09:25:57 +00:00
Thomas Gelf b54326bf5d Improve form submission, make use of serializeObject 2014-03-26 07:48:22 +00:00
Thomas Gelf 36f31f9f02 Fix search form autosubmission and response handling 2014-03-25 12:13:42 +00:00
Thomas Gelf ff3d351c8f Fix all ampersands before XHR-submitting a form 2014-03-25 07:44:24 +00:00
Thomas Gelf 4ce35b5b95 Delay tab dropdown disappearance 2014-03-24 09:22:20 +00:00
Thomas Gelf 8a7ac587d9 Get rid of hardcoded target for action-tables 2014-03-21 10:27:46 +00:00
Thomas Gelf e8a783a44a Better JS link target detection, fix a few edge cases 2014-03-20 15:41:36 +00:00
Thomas Gelf edc3deeec8 Handle anchors in links 2014-03-20 11:25:10 +00:00
Thomas Gelf 9561096f4a Take care of module JS respecting recent module container changes
* Also improves generic tree behaviour
2014-03-20 09:58:28 +00:00
Thomas Gelf a8cecfa162 Shorten tree-specific event handler 2014-03-17 16:17:10 +00:00
Thomas Gelf e0c93d6ca7 JS cleanup
* Precedence rules: skip autorefresh if click is pending
* Clean up the attr VS data mess
* More steps towards a column-count-ignorant GUI
2014-03-17 17:10:03 +01:00
Thomas Gelf 347186e282 No automagic button for autosubmitted form 2014-03-09 23:38:55 +01:00
Thomas Gelf fcd05dfe81 Improve click/site behaviour 2014-03-09 23:30:37 +01:00
Thomas Gelf f31e697d72 Handle _blank and similar links in JS as 'return true' seems unreliable 2014-03-09 00:58:49 +01:00
Thomas Gelf 227b65558c Move link / form action target detection to one central place 2014-03-08 15:25:10 +01:00
Thomas Gelf 8de42139d3 Move layout functions to ui.js 2014-03-08 15:08:03 +01:00
Thomas Gelf 415193f9de Just a comment 2014-03-08 15:01:57 +01:00
Thomas Gelf 62dd827ce2 Cleanup, shorten and document the onClick event handler 2014-03-08 14:53:17 +01:00
Thomas Gelf 269b93432d Clean up button click handler on JS destroy 2014-03-07 23:39:06 +00:00
Thomas Gelf d60d3d4193 Event handler for form buttons, overrides table actions etc 2014-03-07 17:12:44 +00:00
Alexander Klimov b410ebeed6 Remove unnecessary spaces at end of line 2014-03-06 13:08:11 +01:00
Alexander Klimov a3ce5f2e52 JS hotfix 2014-03-06 13:01:52 +01:00
Alexander Klimov d2ec3c9509 Re-design configuration interface
Conflicts:
	public/js/icinga/events.js
2014-03-06 12:32:55 +01:00
Thomas Gelf 6286e15441 HistoryColorGrid events should be "live" 2014-03-06 09:47:53 +00:00
Thomas Gelf f8540d079c Relax hardcoded link target detection, more TBD 2014-03-06 09:42:29 +00:00
Matthias Jentsch 819e7e9806 Implement Widget to display problems as matrix over time
refs #5703
2014-03-05 20:19:09 +01:00
Thomas Gelf 9a485df81a Lot's of JS changes 2014-03-04 13:08:29 +00:00
Thomas Gelf 1d278617ab Whatever your browser prefers, we want to unload Icinga if you leave 2014-02-21 14:05:28 +00:00
Thomas Gelf a0e6a73ecc Added sparkline support 2014-02-21 14:03:50 +00:00
Thomas Gelf f20f27927d Window unload event support for most browsers
* Also fixes "Webserver gone away" sometimes appearing on page reload
2014-02-21 14:03:50 +00:00
Thomas Gelf 072eda70c4 Better link target discovery, support _blank 2014-02-21 14:03:49 +00:00
Eric Lippmann 8f4d062cbc JS/Dashboard: Initial XHRs must not push the URL loaded to the browser's history stack 2014-02-21 14:03:49 +00:00
Thomas Gelf ed2b330843 A few JS files where missing 2014-02-21 14:03:49 +00:00