Commit Graph

126 Commits

Author SHA1 Message Date
Johannes Meyer f98f988aff Remove tristate form element 2019-09-23 08:36:24 +02:00
Johannes Meyer f1db972cc5 ui.js: Only set tabindex=-1 on elements which are otherwise not focusable 2019-07-22 13:41:52 +02:00
Johannes Meyer ec3a6b0572 ui.js: Don't use jquery blur shorthand but the element's native method 2019-07-18 07:57:14 +02:00
Johannes Meyer b168c3d7db js: Don't use jquery.focus shorthand anymore, but icinga.ui.focusElement 2019-07-18 07:57:14 +02:00
Johannes Meyer f844094475 ui.js: Don't use deprecated .size() method but property .length 2019-07-18 07:57:14 +02:00
Johannes Meyer 9f858a9073 ui.js: Trigger event `layout-change` when the layout changes 2019-07-17 13:12:41 +02:00
Florian Strohmaier 574c76ab42 Improve mobile menu 2019-05-06 14:49:41 +02:00
Johannes Meyer f72aa291bc
Merge pull request #3610 from Icinga/fix/window-id-cannot-be-used-to-differentiate-containers-3609
Fix window id cannot be used to differentiate containers
2019-04-17 11:38:48 +02:00
Johannes Meyer 4900040d47 js: Restore previous title when closing right column
fixes #3654
2019-04-16 09:29:42 +02:00
Johannes Meyer d8c4fcc517
Merge pull request #3661 from Icinga/feature/preserve-scroll-position-upon-form-submits
Preserve scroll position upon form submits
2019-04-16 08:04:15 +02:00
Johannes Meyer f54f2f8627 js: Prevent flickering when refreshing scrolled content 2019-04-15 14:27:14 +02:00
Jennifer Mourek b3b80fdc31 Make active first-level nav items better distinguishable 2019-03-20 11:07:39 +01:00
Eric Lippmann f8295ea825 Revert "Fix menu flickering on reload and broken layout w/o JS"
This reverts commit 3b06f06a04.

Breaks announcements.
2018-11-20 10:17:27 +01:00
Eric Lippmann 3b06f06a04 Fix menu flickering on reload and broken layout w/o JS
fixes #3629
fixes #3630
2018-11-20 10:06:41 +01:00
Johannes Meyer c8a49414b1 js: Append a unique container id to the Window-Id
Generates a semi-random id for containers other than the menu and col1.
This id is then appended to the Window-Id of every request separated by
an underscore: `window-id_container-id`

refs #3609
2018-11-07 12:44:25 +01:00
Johannes Meyer 8212c51f8d js: Already set `window.name` prior bootstrapping our js runtime
Makes sure that the Window-Id already generated and utilized by the
server on the first request is used by subsequent requests instead
of a new one.

Also avoids that concurrent running id-less requests compete about
which one may set his assigned id. Now any subsequent request
already transmits the id assigned to the first one.

And it resets `window.name` in case the user performs a manual
refresh so that the id used by the server is set/utilized.

refs #3609
2018-11-07 09:13:16 +01:00
Eric Lippmann e77c3c8169 Don't take fullscreen into account when detecting the layout
The fullscreen-layout class is just a layout modifier.
2017-11-29 15:12:51 +01:00
Eric Lippmann 47ca9bd32f JS: Fix sidebar position 2017-11-27 15:12:15 +01:00
Thomas Gelf cc41fc25f3 js, layout: detect initial layout on load
fixes #3107
2017-11-27 13:45:43 +01:00
Eric Lippmann 459768ba4e Fix JS issues with our new menu 2017-11-27 13:26:28 +01:00
Eric Lippmann 4c32935c48 Increase header logo height 2017-11-21 23:04:12 +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
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
Florian Strohmaier 14b325aff4 Fix header height when announces shown 2016-12-13 13:53:23 +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 aa559c4636 Merge branch 'bugfix/actiontable-row-handling-13115'
fixes #13115
2016-12-09 13:49:27 +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 f517c62fde, reversing
changes made to d1fd7e4be7.

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
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 0f58776b4e actiontable: gracefully clear and improve...
...state preservation

refs #13115
2016-11-16 09:38:44 +00:00
Alexander A. Klimov cf5e26c56c Avoid local variable name `self' in ui.js
refs #10703
2016-09-01 16:32:31 +02:00
Eric Lippmann 31adfb8a9f Don't add the port twice when reloading CSS 2016-04-06 12:09:49 +02:00
Florian Strohmaier 9e0bee5006 Fix mispositioned mobile menu icon
fixes #11099
2016-03-31 14:00:27 +02:00
Thomas Gelf 28204762ab js: fix urls for dynamic css/js reloads 2016-02-29 21:40:48 +01:00
Florian Strohmaier 0c34c20640 Prepare close-container for behavior implementation
refs #8590
2016-02-27 15:07:10 +01:00
Alexander A. Klimov dc6ea11415 JS: Encode URLs shown in responsive debug element 2016-02-19 14:27:14 +01:00
Alexander A. Klimov 474803fee4 Change all license headers to only reflect a file's year of creation
refs #11000
2016-02-08 15:41:00 +01:00
Eric Lippmann 3ab5b5b721 Fix skip to content jump link 2016-01-18 12:50:27 +01:00
Eric Lippmann 7c1ccc685f Rename close-toggle to close-container-control 2016-01-12 08:52:30 +01:00
Eric Lippmann 267aa0d3a2 Remove forgotten console.log from ui.js 2016-01-12 08:52:30 +01:00
Eric Lippmann b1049f2aed Prepare .controls for removing padding
refs #10871
2016-01-12 08:52:30 +01:00
Eric Lippmann 1c5ada2531 Remove hover effects from mobile menu 2015-12-22 14:32:04 +01:00
Eric Lippmann 447ebeb0b6 JS: Optimize mobile menu code 2015-12-22 14:01:45 +01:00
Eric Lippmann 887a688781 Quick-fix mobile menu
Will be reworked asap.
2015-12-21 14:06:42 +01:00
Eric Lippmann 583a4985c0 Add mobile menu
fixes #8999
2015-11-16 14:21:08 +01:00
Matthias Jentsch 1c38fdd9c8 Fix control width
refs #5543
2015-10-01 18:24:51 +02:00
Matthias Jentsch a7a93803ee Cleanup and conform to coding guidelines 2015-08-25 16:58:14 +02:00
Matthias Jentsch 96e3845f46 Improve handling of navigation on link closes
Do not drop active menu when closing the left column, unless there is a different active menu that matches the current state.

fixes #9761
2015-08-25 16:55:10 +02:00