200 Commits

Author SHA1 Message Date
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