981 Commits

Author SHA1 Message Date
Matthias Jentsch
15723f088b Include SVG piecharts in perfData helpers
When no JavaScript is available, SVG piecharts will be shown instead of the
jQuery sparklines.

fixes #5865
2014-03-26 14:56:35 +01:00
Thomas Gelf
8d888b3396 Do not hammer web server on auto-refreshing failures 2014-03-26 10:35:45 +00:00
Thomas Gelf
632616671d Log jQuery info at startup, fix JS reload 2014-03-26 10:30:45 +00:00
Thomas Gelf
e4c268ca92 Add legacy jQuery, we need it for IE8 2014-03-26 10:29:20 +00:00
Thomas Gelf
965ae4e5bb Initial commit of icinga.reload, this allows as to replace JS at runtime
* Works only with minified JS right now as it loads only a single file file
2014-03-26 09:28:03 +00:00
Thomas Gelf
6e9ea3a5d1 Avoid flickering when replacing CSS 2014-03-26 09:26:37 +00:00
Thomas Gelf
070573b9c0 Fix event handler declaration accessing global icinga object 2014-03-26 09:25:57 +00:00
Thomas Gelf
c846c7c3f8 Check for constructor before trying to load module JS 2014-03-26 09:25:31 +00:00
Thomas Gelf
e28f7a05eb Pass jQuery object to icinga/utils.js 2014-03-26 09:25:01 +00:00
Thomas Gelf
b54326bf5d Improve form submission, make use of serializeObject 2014-03-26 07:48:22 +00:00
Thomas Gelf
8dbf7b0729 Allow IcingaWeb to trigger a browser-side CSS reload 2014-03-26 07:41:23 +00:00
Thomas Gelf
48913767d3 Add a serializeObject jQuery funtion 2014-03-26 07:40:41 +00:00
Thomas Gelf
ac90ccfd22 Activate menu search form on URL path match and ignore params 2014-03-25 12:30:05 +00:00
Thomas Gelf
36f31f9f02 Fix search form autosubmission and response handling 2014-03-25 12:13:42 +00:00
Thomas Gelf
e36fb2558e Add JS helper extending url params 2014-03-25 12:11:39 +00:00
Thomas Gelf
d8c758056f Fix UI controls AFTER detecting a layout change 2014-03-25 07:51:33 +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
01f94c574d Handle window-id requests, allowing us to identify distinct windows 2014-03-21 13:27:44 +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
e1de4e384a Rudimentary anchor name escaping 2014-03-20 14:07:43 +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
77e88b24dd Merged old bug, sorry 2014-03-17 16:34:37 +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
2febbdd7d5 One more safety measure for IEs weird way of providing a JS console 2014-03-17 17:06:31 +01:00
Thomas Gelf
f1f1813b04 Activate only the first match if multiple menu items carry the same URL 2014-03-12 00:44:30 +01:00
Thomas Gelf
e0be89a1dc Apply history also on page load 2014-03-10 14:48:40 +00: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
Michael Friedrich
0598930b09 Fix minus null minutes again. 2014-03-09 22:27:36 +01:00
Michael Friedrich
ef73bb13d3 Refactor timeUntil for negative values. 2014-03-09 22:19:05 +01:00
Thomas Gelf
ee01b28646 Replace tabs with whitespaces 2014-03-09 21:16:56 +01:00
Michael Friedrich
2883fa0bd0 Fix JS Time unless counter.
There is still a small glitch with the global refresh of 10s
sometimes setting an empty string for next_check.

Try check_interval = 5s with Icinga 2.
2014-03-09 20:27:10 +01:00
Thomas Gelf
bd0c36ad7a Allow to enable / disable running counters with a simple JS call 2014-03-09 18:02:12 +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
959967c646 Fix logout button "sometimes not working" and similar 2014-03-08 23:58:19 +01:00
Thomas Gelf
a03f24b7ed Temporary fix for 1px issue with controls header on FF 2014-03-08 20:07:00 +01:00
Thomas Gelf
09e2055df4 Lower history API log level as it works fine right now 2014-03-08 18:36:15 +01:00
Thomas Gelf
485222492b Removed on noisy chatter from JS debug 2014-03-08 17:21:39 +01:00
Thomas Gelf
ac0980b111 Just comments 2014-03-08 16:20:30 +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
7e2d6cd5c2 ui.js indentation 2014-03-08 15:04:09 +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
d1c5e6da14 Sorry, no default values for JS functions 2014-03-08 12:17:56 +01:00
Thomas Gelf
71aea4dfc7 Responses with not output (container: ignore) must of course be handled in JS 2014-03-08 12:07:49 +01:00