Commit Graph

1809 Commits

Author SHA1 Message Date
Johannes Meyer 5333bbf04d loader.js: Also set title directly if layout is base target 2019-08-02 15:42:58 +02:00
Johannes Meyer 5a57903f6c forms.less: Fix element error layout 2019-07-30 10:17:57 +02:00
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 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 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 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
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
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
Florian Strohmaier 3c48daf022 CSS: Style role form 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 8cd6a46388 collapsible.js: Add support for custom control elements 2019-07-29 10:19:29 +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 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 297e6fc71d forms.less: Remove negative margin from .control-group elements 2019-07-29 10:17:59 +02:00
Johannes Meyer 346083109a Apply new form style to the filter editor 2019-07-29 10:17:59 +02:00
Johannes Meyer 05613c413d Enhance toggle-switch, spinner and control-info placement
tested with Chromium, IE11 (Win7), Edge (Win10)
2019-07-29 10:17:59 +02:00
Johannes Meyer d0eca387ee js: Also handle spinner elements which are not direct descendants of an element 2019-07-29 10:17:59 +02:00
Johannes Meyer bc2e7588d7 FormNotifications: Don't ignore warning and error notifications 2019-07-29 10:17:59 +02:00
Johannes Meyer 5c6d04f5d7 LimiterControlForm: Remove class inline and update css 2019-07-29 10:17:59 +02:00
Johannes Meyer 02565ec326 user/list: Make backend selection look good again 2019-07-29 10:17:59 +02:00
Johannes Meyer cb51d9cf55 forms.less: Only apply form layout and design to our own forms
See the file's header for more details.
2019-07-29 10:17:59 +02:00
Johannes Meyer 923582c5de mixins.less: To pass css lists to less mixins a trailing semicolon is required 2019-07-29 10:17:59 +02:00
Florian Strohmaier 24723b662c CSS: Add spacing below .filter 2019-07-29 10:17:59 +02:00
Florian Strohmaier ace9fe6526 CSS: Add styles for graphite date and timepicker
refs #3676
2019-07-29 10:17:59 +02:00
Florian Strohmaier 3ec11f3bf9 CSS: Fix submit button jumping on submit
refs #3676
2019-07-29 10:17:59 +02:00
Florian Strohmaier f14256a7ee CSS: Adapt form design with filter editor
refs #3676
2019-07-29 10:17:59 +02:00
Florian Strohmaier b21c9d6ebd CSS: Optimize filter editor layout 2019-07-29 10:17:59 +02:00
Florian Strohmaier f70f996085 Announcements: Increase font-size and align control layout
refs #3676
refs #3560
refs #3839
2019-07-29 10:17:59 +02:00
Florian Strohmaier 7eca14386a CSS: Align menu search input icon 2019-07-29 10:17:59 +02:00
Eric Lippmann b8c607b6a6 CSS: Fix comments and add missing semicolons 2019-07-29 10:17:59 +02:00
Florian Strohmaier 70a891825e CSS: Grant filter icon some space to breathe 2019-07-29 10:17:59 +02:00
Florian Strohmaier 9caa345948 CSS: Fix Detail view inline check now button 2019-07-29 10:17:59 +02:00
Florian Strohmaier d125b44188 CSS: Fix multiselect inputs 2019-07-29 10:17:59 +02:00
Florian Strohmaier 7d68212962 CSS: Fix select line height in controls 2019-07-29 10:17:59 +02:00
Florian Strohmaier 0fa97ea420 CSS: Align control-group elements to vertical top 2019-07-29 10:17:59 +02:00
Florian Strohmaier 7d8cdefc7d CSS: Prevent selects with long option values from exceeding the container 2019-07-29 10:17:59 +02:00