Eric Lippmann
bfec423eae
Compat: Provide empty LESS mixin .code()
...
Some 3rd party modules (e.g. vsphere) use this mixin (though we never had it).
With lessphp version 0.5.0 using undefined mixins now throws exceptions.
Since we can't rely that users upgrade those modules first,
we provide the mixin for compatibility here.
2019-07-30 08:31:03 +02:00
Johannes Meyer
d13cade0f3
Merge pull request #3871 from Icinga/feature/add-servicegrid-problem-toggle-3793
...
Servicegrid: Add toggle to show problems only or everything
2019-07-30 08:26:46 +02:00
Johannes Meyer
b31dd77812
Merge pull request #3676 from Icinga/feature/form-styling
...
Improve look of our forms
2019-07-30 08:26:08 +02:00
Johannes Meyer
ac03ea67b3
Merge pull request #3880 from Icinga/feature/sidebar-state-per-tab
...
Maintain sidebar state per tab/window
2019-07-30 08:24:37 +02:00
Johannes Meyer
5849c06314
storage.js: Don't try and allow to register events for non-local backends
2019-07-30 08:17:29 +02:00
Eric Lippmann
62d4e73d5a
Use session storage for sidebar state
...
The sidebar state is now maintained per tab/window because users view
different things in different tabs/windows. E.g. users work with a
specific module constantly clicking through the menu while having
other tabs/windows with some important dashboards open.
When the sidebar is closed in one tab/widnow, it should not close
the sidebar in the other tabs/windows.
2019-07-30 08:14:49 +02:00
Eric Lippmann
a1a18feb04
js/storage: Allow to set the storage backend
2019-07-30 08:14:49 +02:00
Markus Frosch
c66d206042
Cleanup executable flags on files
...
Some or scripts, but if so just vendor artifacts
2019-07-30 07:53:54 +02:00
Johannes Meyer
f22d759858
RoleForm: Fully hide a fieldset's content if collapsed
2019-07-29 16:02:48 +02:00
Johannes Meyer
eb0d808aec
collapsible.js: Enhance height calculations
...
`data-visible-height` now only covers the actual content height
2019-07-29 16:02:48 +02:00
Johannes Meyer
27cd34dd2d
js: Add new jQuery plugin `getData()`
2019-07-29 16:02:48 +02:00
Johannes Meyer
9e3c9bbab7
css: Don't apply .collapsible-control style to custom controls
2019-07-29 16:02:48 +02:00
Florian Strohmaier
1d5cfef78d
CSS: Fix input height in filter editor
2019-07-29 14:19:59 +02:00
Eric Lippmann
a94e8fb211
monitoring: Clone the filter for the grid links
...
Before, it was impossible to change an existing filter via the filter
editor in the host and service group views because of an exception about
wrong IDs.
The filter editor sets the IDs correctly. But since we're adding the
filter again to another URL, FilterChain::addFilter() overrides the IDs
because it is not working with a clone.
2019-07-29 13:22:55 +02:00
Johannes Meyer
d2a2eae600
css: Re-add `margin:0` removed by 9d0ef4cf3
to `.overview-plugin-output`
2019-07-29 12:24:52 +02:00
Johannes Meyer
9cdf37410c
ApplicationStateMessages: Fix message layout
2019-07-29 10:19:39 +02:00
Johannes Meyer
c884a9b61d
forms.less: Add general style for fieldsets
2019-07-29 10:19:39 +02:00
Johannes Meyer
23d9eb8f38
forms.less: Move role-form related styles to widgets.less
2019-07-29 10:19:39 +02:00
Johannes Meyer
66c436b98c
BackendConfigForm: Don't wrap resource elements twice with .control-group
2019-07-29 10:19:39 +02:00
Johannes Meyer
6fbae2d1c0
user/show: Fix wrong class for the limiter and sort control container
2019-07-29 10:19:39 +02:00
Johannes Meyer
ad16fffa94
group/show: Fix wrong class for the limiter and sort control container
2019-07-29 10:19:39 +02:00
Johannes Meyer
4f507d9672
SelectBox: Also use the default form classes
2019-07-29 10:19:39 +02:00
Johannes Meyer
775f5cd3b5
Remove `.icinga-form` and `.icinga-controls` from all inline remove forms
2019-07-29 10:19:39 +02:00
Florian Strohmaier
faca0962ef
Navigation: Hide search clear button when value is empty
...
refs #3676
2019-07-29 10:19:39 +02:00
Florian Strohmaier
d4c7566aad
CSS: Fix menu search input styles
...
refs #3676
2019-07-29 10:19:39 +02:00
Florian Strohmaier
4235d4a392
CSS: Prevent collapsible fieldset headings in form to be selected on open
2019-07-29 10:19:39 +02:00
Johannes Meyer
dd1a3dfb31
monitoring: Align object feature toggles with baseline
2019-07-29 10:19:39 +02:00
Florian Strohmaier
3c48daf022
CSS: Style role form
2019-07-29 10:19:39 +02:00
Johannes Meyer
83c386ea15
RoleForm: Don't wrap the h4's in a control-group
2019-07-29 10:19:39 +02:00
Florian Strohmaier
f57fc96b57
Add styles for roles form
2019-07-29 10:19:39 +02:00
Johannes Meyer
1b4b42a465
RoleForm: Use an `<h3>` for set headers, not legend
...
legend and `overflow:hidden` are bugged in safari..
2019-07-29 10:19:39 +02:00
Johannes Meyer
37387b603f
RoleForm: Use a fieldset's legend as collapsible control
2019-07-29 10:19:39 +02:00
Johannes Meyer
8cd6a46388
collapsible.js: Add support for custom control elements
2019-07-29 10:19:29 +02:00
Johannes Meyer
5a10b06200
RoleForm: Show a header for permissions and restrictions
2019-07-29 10:17:59 +02:00
Johannes Meyer
616f1fe2c8
RoleForm: Wrap module prefixes of permissions and restrictions in `<em>`
2019-07-29 10:17:59 +02:00
Johannes Meyer
f871caeecd
RoleForm: Show *General Module Access* instead of `module/...`
2019-07-29 10:17:59 +02:00
Johannes Meyer
c7a3783034
css: Avoid that toggle switches break onto a new line in minimal layout
2019-07-29 10:17:59 +02:00
Johannes Meyer
b1881c6a53
forms.less: Enhance differentiation between layout and style
2019-07-29 10:17:59 +02:00
Johannes Meyer
4675d24a03
css: Re-add hover effect for .control-info elements
2019-07-29 10:17:59 +02:00
Johannes Meyer
13ad506393
css: Rename class `icinga-forms` to `icinga-form`
2019-07-29 10:17:59 +02:00
Johannes Meyer
ded84a410a
applicationlog: Fix placement of the limiter control
2019-07-29 10:17:59 +02:00
Johannes Meyer
f841c3d42f
Apply icinga form style to remaining form classes
2019-07-29 10:17:59 +02:00
Johannes Meyer
eaeda473e5
forms.less: Ensure that spinners are properly aligned..
...
..no matter how big the font size is
2019-07-29 10:17:59 +02:00
Johannes Meyer
212606de78
setup: Apply new icinga form style
2019-07-29 10:17:59 +02:00
Johannes Meyer
47a4d8d410
Fix form layout/button placement when responsive
2019-07-29 10:17:59 +02:00
Johannes Meyer
e327a978e8
LoginForm: Remove class `icinga-forms`, it's got already special rules
2019-07-29 10:17:59 +02:00
Johannes Meyer
1b8501d5b7
ToggleInstanceFeaturesCommandForm: Apply icinga form style
2019-07-29 10:17:59 +02:00
Johannes Meyer
0bc70a840c
SortBox: Apply icinga form style
2019-07-29 10:17:59 +02:00
Johannes Meyer
721dab93a0
ToggleObjectFeaturesCommandForm: Apply icinga form style
2019-07-29 10:17:59 +02:00
Johannes Meyer
297e6fc71d
forms.less: Remove negative margin from .control-group elements
2019-07-29 10:17:59 +02:00