Thomas Gelf
c0c7a815f8
Merge remote-tracking branch 'origin/master' into feature/query-interfaces-6018
2014-06-20 19:18:38 +02:00
Thomas Gelf
916c9c027e
forms: fix isSubmitted
...
Implementation made wrong assumptions. A form is submitted when the
submit button has been pressed. It's value is then filled, it also
is when you're just pressing "RETURN". RETURN triggers the FIRST
submit button in a form. This way we are also able to find out which
form button has been pressed.
Current implementation is still poor, however isSubmitted works as
expected right now - and so does autosubmission.
fixes #5967
2014-06-20 14:32:22 +02:00
Thomas Gelf
76219b025b
js/events: multiple multiselect fixes
...
* Removed obsolete checks (event is only triggered for multiselect tables)
* allows deselecting last row, closing "detail view"
* fix bug when unselecting one of two rows, it used to keep the wrong one
* play nice with other involved non-row-level links
2014-06-20 13:43:18 +02:00
Matthias Jentsch
aae49ce0c0
Do not show tooltips for piechart areas that indicate empty or free areas
...
refs #6117
2014-06-18 17:38:25 +02:00
Matthias Jentsch
6555d347a7
Escape InlinePie html and adjust chart size
...
fixes #6117
2014-06-18 14:43:14 +02:00
Matthias Jentsch
be0c5d4b23
Add more meaningful tooltip labels to InlinePies
...
Show current title, a well-formated value and a label for each area in a
tooltip and add the ability to customize tooltip labels of InlinePies
refs #6117
2014-06-18 14:43:14 +02:00
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