12088 Commits

Author SHA1 Message Date
Johannes Meyer
ffec2ebd4c collapsible.js: Utilize storage.js 2019-07-17 13:12:41 +02:00
Johannes Meyer
e2cddc2d46 js: Introduce storage.js, a localStorage abstraction layer 2019-07-17 13:12:41 +02:00
Florian Strohmaier
b45b38d73d CSS: Calculate hover effect offset correctly 2019-07-17 13:12:41 +02:00
Florian Strohmaier
12aa079e5c CSS: Fix collapsible-control icon alignment in Firefox 2019-07-17 13:12:41 +02:00
Johannes Meyer
beae5b5921 collapsible.js: Update collapsible states when the layout changes 2019-07-17 13:12:41 +02:00
Johannes Meyer
0140fdf485 collapsible.js: Use scrollHeight to measure a container's actual height 2019-07-17 13:12:41 +02:00
Johannes Meyer
9f858a9073 ui.js: Trigger event layout-change when the layout changes 2019-07-17 13:12:41 +02:00
Johannes Meyer
a99f653a63 collapsible.js: Don't process collapsible containers multiple times 2019-07-17 13:12:41 +02:00
Johannes Meyer
fc782b59a9 collapsible.js: Don't collapse containers which are near to the maximum 2019-07-17 13:12:41 +02:00
Johannes Meyer
c5ebaa2bde main.less: Don't use unset, IE11 does not support it 2019-07-17 13:12:41 +02:00
Johannes Meyer
754f45566a collapsible.js: Make storage working with multiple tabs 2019-07-17 13:12:41 +02:00
Johannes Meyer
a642117c8a collapsible.js: Remove superflous spaces after the function keyword 2019-07-17 13:12:41 +02:00
Johannes Meyer
9a6b1cffd6 collapsible.js: Don't use Set features which IE11 doesn't support 2019-07-17 13:12:41 +02:00
Johannes Meyer
ec2a6b5c78 collapsible.js: Use namespace behavior for local storage entries 2019-07-17 13:12:41 +02:00
Johannes Meyer
1748404efe collapsible.js: Enhance how we'll utilize localStorage 2019-07-17 13:12:41 +02:00
Johannes Meyer
6f28a5c3e1 collapsible.js: Rename height to visible-height 2019-07-17 13:12:41 +02:00
Johannes Meyer
1ae1dc387f collapsible.js: Rename numofrows to visible-rows 2019-07-17 13:12:41 +02:00
Johannes Meyer
b8bdd743a2 collapsible.js: Remove useless > tbody > th row selector 2019-07-17 13:12:41 +02:00
Johannes Meyer
ba44240b68 collapsible.js: Store and load states form localStorage 2019-07-17 13:12:41 +02:00
Johannes Meyer
3122af2838 collapsible.js: Properly track a collapsible's state across navigation 2019-07-17 13:12:41 +02:00
Johannes Meyer
0ed030410f collapsible.js: Listen for rendered events on all containers
not just #col2
2019-07-17 13:12:41 +02:00
Johannes Meyer
0574f44bd9 colllapsibleContainer.js: Rename to collapsible.js 2019-07-17 13:12:41 +02:00
Johannes Meyer
d6f7582df6 collapsibleContainer.js: Update documentation 2019-07-17 13:12:41 +02:00
Johannes Meyer
1032a944b4 collapsibleContainer.js: Properly set an collapsible's height 2019-07-17 13:12:41 +02:00
Johannes Meyer
fb83bee924 css: Make collapsible styles work with the new markup 2019-07-17 13:12:41 +02:00
Johannes Meyer
618ca25aec collapsibleContainer.js: Simplify implementation and make it more flexible
Handling is ok though the styles are outdated now and not working
2019-07-17 13:12:41 +02:00
Johannes Meyer
ffe638ee36 collapsibleContainer.js: Don't expect a data attribute for a container's id 2019-07-17 13:12:41 +02:00
Johannes Meyer
e6e43d07bf collapsibleContainer.js: Cleanup and streamline behavior implementation 2019-07-17 13:12:41 +02:00
Johannes Meyer
66084d6d94 collapsibleContainer.js: Adjust id handling
Id's are unique. Making this assumption is fine since anyone
not abiding by this isn't my problem.
2019-07-17 13:12:41 +02:00
Florian Strohmaier
b73a608742 JS: Check collapsible containers for unique collapsible-id 2019-07-17 13:12:41 +02:00
Florian Strohmaier
e375822ef1 CSS: Add hover effect for collapsible control 2019-07-17 13:12:41 +02:00
Florian Strohmaier
d3e4fb6552 JS: Add code documentation 2019-07-17 13:12:41 +02:00
Florian Strohmaier
168cc33a69 CSS: Fade collapsed containers 2019-07-17 13:12:41 +02:00
Florian Strohmaier
545d3355a9 JS: Use can-collapse to flag containers with sufficient height 2019-07-17 13:12:41 +02:00
Florian Strohmaier
b07ffd4987 JS: Implement collapsible-container behavior 2019-07-17 13:12:41 +02:00
Florian Strohmaier
14caccc384 CSS: Style for collapsible control 2019-07-17 13:12:41 +02:00
Florian Strohmaier
9a1b7f0cf8 Add ifont icons for collapsible button 2019-07-17 13:12:21 +02:00
Florian Strohmaier
a1ef28460d Layout: Create collapsible ghost 2019-07-17 12:50:57 +02:00
Johannes Meyer
5145de6b50
Merge pull request #3852 from Icinga/feature/cli-load-enabled-modules
CLI: Automatically load enabled modules if not disabled
2019-07-15 08:39:57 +02:00
Johannes Meyer
8ad3754c55
Merge pull request #3857 from Icinga/fix/wrong-window-title-on-some-pages-3851
Fix wrong window title on some pages
2019-07-15 08:37:29 +02:00
Johannes Meyer
67c8053dc9 login: Override the default title instead of setting a title
refs #3851
2019-07-15 08:26:23 +02:00
Johannes Meyer
066aa0ef03 setup: Set a proper title for the wizard
refs #3851
2019-07-15 08:24:44 +02:00
Johannes Meyer
7ba998c6b1 monitoring: Set a proper title for all controller actions
refs #3851
2019-07-15 08:24:44 +02:00
Johannes Meyer
fb48731978 Set a proper title for all controller actions
refs #3851
2019-07-15 08:24:44 +02:00
Johannes Meyer
3edda43bca ActionController: Utilize view variable $defaultTitle instead of the constant
Allows controllers to also customize the default title with translated contents.

refs #3851
2019-07-15 08:24:44 +02:00
Johannes Meyer
b0b4f08797 layout.phtml: Also include the default title in any title just like for XHR
refs #3851
2019-07-15 08:24:44 +02:00
Johannes Meyer
f6d40a9d1c loader.js: Directly set the window's title for full layout requests
refs #3851
2019-07-15 08:24:44 +02:00
Johannes Meyer
d52cc07d41 body.phtml: Also set data-icinga-title for full layout requests
refs #3851
2019-07-15 08:24:44 +02:00
Johannes Meyer
0a55df0fcf
Merge pull request #3862 from Icinga/feature/config-form-events-hook-3768
Provide ConfigFormEventsHook
2019-07-15 08:03:26 +02:00
Eric Lippmann
5b450c270c Update German translation 2019-07-15 07:55:23 +02:00