922 Commits

Author SHA1 Message Date
Eric Lippmann
459768ba4e Fix JS issues with our new menu 2017-11-27 13:26:28 +01:00
Eric Lippmann
544e92ac4a Fix issues w/ scrollbars in the menu 2017-11-27 13:26:23 +01:00
Eric Lippmann
4c32935c48 Increase header logo height 2017-11-21 23:04:12 +01:00
Florian Strohmaier
147587da90 Allow to collapse/expand the sidebar via a toggle button at the bottom of the sidebar 2017-11-21 23:04:12 +01:00
Eric Lippmann
807fbdb131 Reduce flyout menu JS complexity 2017-11-21 23:04:12 +01:00
Alexander A. Klimov
bc4b9fb4e0 Make flyover responsive 2017-11-21 18:11:05 +01:00
lippserd
df1e7683c8
Merge pull request #3041 from Icinga/feature/auto-detaching-dom-elements-3039
Implement auto-detaching DOM elements
2017-11-21 16:48:59 +01:00
Alexander A. Klimov
e9c189fa38 Close all flyovers on click outside a flyover 2017-11-21 16:37:52 +01:00
lippserd
7fd9f23f6c
Merge pull request #3116 from Icinga/fix/no-debug-rendering-while-disabled-3115
icinga/ui.js: don't spend time for UI debug...
2017-11-21 14:09:12 +01:00
Alexander A. Klimov
c7ffb41b02 Implement togglable flyover
refs #3024
2017-11-21 14:05:12 +01:00
Alexander A. Klimov
b000c1ae4a Implement auto-detaching DOM elements
refs #3039
2017-11-21 13:17:55 +01:00
Thomas Gelf
0edcfdee33 icinga/ui.js: don't spend time for UI debug...
...while not being shown.

fixes #3115
2017-11-21 12:27:15 +01:00
lippserd
27867494ff
Merge pull request #2798 from towolf/suspend-autorefresh-when-invisible
Disable auto-refresh when page is not visible
2017-11-06 09:48:31 +01:00
Jennifer Mourek
3a8ba39abd Disable auto-refresh when page is not visible
credits to @towolf

Icinga offers the user to enable or disable 'auto-refresh' with a
static preference.

But 'auto-refresh' is the default and our users often have dozens of
Icinga tabs open in their browser, which they are not looking at.

The background tabs lead to significant load on the database to to
repeated queries to keep the invisible UI fresh.

This change adds a visibility listener, which disables auto-refresh when the
page is not visible.

refs #2761
2017-10-26 13:53:25 +02:00
Florian Strohmaier
aab32214d6 JS: Close menu correctly after searching on iOS
fixes #2922
2017-09-21 17:52:51 +02:00
Eric Lippmann
fe12ed05e3 Fix menu height when switching back from mobile layout
Fixes #2841
2017-07-28 13:44:21 +02:00
Alexander A. Klimov
cb2093513a Icinga.Timer: use setTimeout() instead of setInterval()
refs #11693
2017-02-10 10:14:14 +01:00
Michael Friedrich
08a82daea3 Update to icinga.com
refs #2687
2017-01-18 12:04:43 +01:00
Florian Strohmaier
e56b568050 Merge branch 'master' of git.icinga.org:icingaweb2 2016-12-13 13:53:53 +01:00
Florian Strohmaier
14b325aff4 Fix header height when announces shown 2016-12-13 13:53:23 +01:00
Eric Lippmann
08571ce01c Fix exception in navigation.js 2016-12-13 13:31:46 +01:00
Florian Strohmaier
f0bc12d2c0 Fix jumping header when reloading
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-12-13 12:14:01 +01:00
Eric Lippmann
e030229d7f Fix CSS issues when rerendering the layout
fixes #13467
2016-12-12 15:02:51 +01:00
Eric Lippmann
67e41af308 Fix navigation behavior not clearing active items properly 2016-12-12 15:02:28 +01:00
Eric Lippmann
aa559c4636 Merge branch 'bugfix/actiontable-row-handling-13115'
fixes #13115
2016-12-09 13:49:27 +01:00
Eric Lippmann
626afbd5ec Merge branch 'bugfix/always-use-the-jquery-find-method-w/-node-context-10704'
fixes #10704
2016-12-08 17:15:02 +01:00
Eric Lippmann
177d4c770d JS: Optimize navigation behavior by using the #menu selector for the onRendered event
refs #10704
2016-12-08 16:56:25 +01:00
Eric Lippmann
eef982f3c3 Don't stop auto-refresh when a form button has focus 2016-12-08 10:40:22 +01:00
Eric Lippmann
39c7451664 Implement announcements
refs #11198
2016-11-29 15:24:34 +01:00
Eric Lippmann
e9e66930d5 Remove obsolete dropdown methods from the navigation behavior 2016-11-28 12:13:10 +01:00
Florian Strohmaier
bd5a2ebaa3 Move status summary in the host and service list views to the bottom of the page
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-11-24 10:42:14 +01:00
Eric Lippmann
875d42c0a6 Revert "Merge branch 'bugfix/always-use-the-jquery-find-method-w/-node-context-10704'"
This reverts commit f517c62fdec880d5b905212ef4dbfe23a5cd033e, reversing
changes made to d1fd7e4be78f3dda9734027dda53114b71a7a46d.

refs #10704
2016-11-21 14:34:58 +01:00
Eric Lippmann
f517c62fde Merge branch 'bugfix/always-use-the-jquery-find-method-w/-node-context-10704'
fixes #10704
2016-11-21 14:33:43 +01:00
Thomas Gelf
d1fd7e4be7 loader.js: place focus at the end of text inputs 2016-11-21 11:39:03 +00:00
Alexander A. Klimov
3363e6795f JS: use $(parent).find(child) instead of $(child, parent)
refs #10704

Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-11-21 10:46:31 +01:00
Thomas Gelf
ce6fa235cb js/loader: do not steal focus placed by module 2016-11-16 10:49:28 +00:00
Thomas Gelf
0f58776b4e actiontable: gracefully clear and improve...
...state preservation

refs #13115
2016-11-16 09:38:44 +00:00
Jennifer Mourek
3338040952 actiontable.js: Update row counter when detail area is closed
refs #10691
2016-10-28 08:08:42 +02:00
Eric Lippmann
118c435bc5 JS: Fix usage of global variable self used to reference icinga in events.js
refs #10703
2016-09-09 13:22:10 +02:00
Eric Lippmann
7e47a2965c JS: Fix usage of global variable self used to reference icinga in loader.js::onComplete()
refs #10703
2016-09-09 13:22:08 +02:00
Alexander A. Klimov
cf5e26c56c Avoid local variable name `self' in ui.js
refs #10703
2016-09-01 16:32:31 +02:00
Alexander A. Klimov
4f52beb32a Avoid local variable name `self' in module.js
refs #10703
2016-09-01 16:30:01 +02:00
Alexander A. Klimov
56c10ffdd5 Avoid local variable name `self' in loader.js
refs #10703
2016-09-01 16:28:57 +02:00
Alexander A. Klimov
e726f10e68 Avoid local variable name `self' in history.js and timer.js
refs #10703
2016-09-01 16:16:55 +02:00
Alexander A. Klimov
3c43d38171 Avoid local variable name `self' in events.js
refs #10703
2016-09-01 16:16:55 +02:00
Alexander A. Klimov
4e2c626ae0 Avoid local variable name `self' in eventlistener.js
refs #10703
2016-09-01 16:16:49 +02:00
Alexander A. Klimov
060a82fa4a Avoid local variable name `self' in tooltip.js and tristate.js
refs #10703
2016-09-01 15:58:32 +02:00
Alexander A. Klimov
0d7f8148de Avoid local variable name `self' in navigation.js
refs #10703
2016-09-01 15:49:39 +02:00
Alexander A. Klimov
0059622bba Avoid local variable name `self' in form.js
refs #10703
2016-09-01 15:42:54 +02:00
Alexander A. Klimov
311fd36326 Avoid local variable name `self' in actiontable.js
refs #10703
2016-09-01 15:21:45 +02:00