Commit Graph

1617 Commits

Author SHA1 Message Date
Markus Frosch 032622a4dc php-fpm: Add config file examples and templates 2017-11-17 11:37:36 +01:00
Markus Frosch 0a188740d3 Solazired theme: Improve colors and module styles
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2017-11-07 09:10:20 +01:00
Tomas Barton 751da3c762 Add solarized dark theme
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2017-11-07 09:10:20 +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
Florian Strohmaier c48f69915b CSS: Add safe area paddings for iPhone X landscape orientation
fixes #2966
2017-09-20 11:47:39 +02:00
Florian Strohmaier 75b6d5009a Provide Pinned Tab Icon for Safari
refs #2853
2017-08-09 11:13:10 +02:00
Eric Lippmann fe12ed05e3 Fix menu height when switching back from mobile layout
Fixes #2841
2017-07-28 13:44:21 +02:00
Eric Lippmann 74c90b8f77 Merge pull request #2739 from Icinga/bugfix/icinga-timer-can-lock-up-the-browser-11693
Icinga.Timer: use setTimeout() instead of setInterval()
2017-06-02 09:38:44 +02:00
Eric Lippmann d56c7b308e Increase height for textareas 2017-05-04 13:53:20 +02:00
Alexander A. Klimov a0917148e8 CSS: make text of input.placeholder and input.value differentiable
refs #2767

Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2017-03-28 09:38:17 +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
Noah Hilverling 19f2c813f1 Wizard: Add restart button
refs #9658
2017-01-09 11:01:15 +01:00
Eric Lippmann 3ba1d9ea56 CSS: Reset line-height in the button mixin 2016-12-14 12:22:35 +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 752891ef80 Fix executeable files 2016-12-13 13:49:21 +01:00
Eric Lippmann 08571ce01c Fix exception in navigation.js 2016-12-13 13:31:46 +01:00
Florian Strohmaier 634656be7e Fix missing header logo in IE8
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-12-13 12:14:09 +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 293dd2b576 Remove icon-strikethrough in history views 2016-12-12 12:11:57 +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 2156eb1a8c Remove gap between header and content on site reloads 2016-12-08 10:40:22 +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 0c2e8abc0e Reintroduce control separation 2016-11-29 15:23:42 +01:00
Eric Lippmann 425c6da47f CSS: Change the menu's search placeholder's color only when focussed 2016-11-28 14:53:01 +01:00
Eric Lippmann e9e66930d5 Remove obsolete dropdown methods from the navigation behavior 2016-11-28 12:13:10 +01:00
Florian Strohmaier a7a23be1c8 Update icon font
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-11-25 15:11:42 +01:00
Eric Lippmann c33816f6a5 Remove the command-spacer 2016-11-24 11:38:28 +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
Florian Strohmaier 6e319aeac7 Fix icinga header logo svg size and adapt ie8 fallback file 2016-11-22 15:46:47 +01:00
Florian Strohmaier d305018058 Optimize image to reduce file size 2016-11-22 15:33:18 +01:00
Florian Strohmaier 12834de87e Extend icinga header logo to boundaries 2016-11-22 15:32:51 +01:00
Florian Strohmaier c0c2bddc69 CSS: Reduce header height
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-11-22 15:14:52 +01:00
Florian Strohmaier de7d409377 Replace icinga header logos with pixel optimized SVGs
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-11-22 15:12:18 +01:00
Eric Lippmann 509707dd43 Remove unused icinga images 2016-11-22 15:12:10 +01:00
Eric Lippmann f94b6be8c6 Merge branch 'bugfix/history-separate-hard-soft-state-11859'
fixes #11859
2016-11-22 10:40:08 +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
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
Eric Lippmann 48e1a2cf4b CSS: Remove class pull-left
Usage as class is discouraged. pull-right still in use. Should also be removed.
2016-11-17 10:59:31 +01:00
Eric Lippmann ec07ef2647 CSS: Reduce color mixins to fg-stateful and bg-stateful 2016-11-17 10:58:21 +01:00
Eric Lippmann 1d21597999 CSS: Introduce color-up and color-down
refs #11050
2016-11-17 10:54:10 +01:00
Eric Lippmann 4d60bc9c3f CSS: Reduce letter-spacing for centered-ghost 2016-11-17 10:21:17 +01:00
Eric Lippmann ecdf96c588 CSS: Fix typo in mixins.less 2016-11-16 14:16:09 +01:00
Eric Lippmann a668731ef7 CSS: Remove obsolete rules for the opacity mixin 2016-11-16 14:15:40 +01:00
Eric Lippmann 8fca2cd9b2 CSS: Remove search field's border transition in the menu 2016-11-16 14:11:32 +01:00
Eric Lippmann 63bf9e20cd CSS: Disable invalid glow of the search field
refs #11835
2016-11-16 13:28:46 +01:00
Eric Lippmann 436cc89fb1 Merge branch 'feature/clear-search-field-11835'
resolves #11835
2016-11-16 12:55:19 +01:00
Eric Lippmann 5805e5d675 CSS: Fix skip-links positioning 2016-11-16 12:54:38 +01:00
Eric Lippmann c0e92c2bc5 CSS: Use color gray-light for the search placeholder in the menu 2016-11-16 12:34:55 +01:00
Thomas Gelf ce6fa235cb js/loader: do not steal focus placed by module 2016-11-16 10:49:28 +00:00
Eric Lippmann 6b06e05c04 CSS: Add clear button to the search field in the menu
refs #11835
2016-11-16 11:43:21 +01:00
Eric Lippmann 3c8e41d4f6 CSS: Remove rule for inputs having the placeholder attribute
This was meant to style the input's placeholder but it is just wrong.
2016-11-16 11:37:13 +01:00
Thomas Gelf 0f58776b4e actiontable: gracefully clear and improve...
...state preservation

refs #13115
2016-11-16 09:38:44 +00:00
Eric Lippmann bdeeec50bb CSS: Add icon warning-empty
refs #11859
2016-11-14 15:09:46 +01:00
Florian Strohmaier bf809ef7c8 Update font stack
Try to use the OS font instead of providing a custom one.

Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-11-14 13:56:01 +01:00
Eric Lippmann 2e13754ba1 Hide controls in PDF exports 2016-11-10 15:01:55 +01:00
Eric Lippmann da9e90b1a9 Don't use border-style: auto because its not supported by dompdf
fixes #12776
2016-11-10 15:00:47 +01: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
Alexander A. Klimov f72411c628 Avoid local variable name `self' in icinga.js
refs #10703
2016-09-01 15:09:50 +02:00
Johannes Meyer 1993ae2ed2 js: Fix that the menu is not reloaded in case no search is available
fixes #12541
2016-08-25 08:54:04 +02:00
Eric Lippmann cefdc496ef Forms: Remember submit from click event before
This helps Safari to determine the correct clicked or pressed submit button in case the form has more than one.
2016-06-27 10:41:16 +02:00
Florian Strohmaier 825499662d Menu: Reduce left padding for submenu hover flyout 2016-06-07 14:15:46 +02:00
Eric Lippmann c37275c9e2 Merge branch 'bugfix/mobile-meta-tags-11910'
fixes #11910
2016-06-07 14:09:29 +02:00
Florian Strohmaier c7b4ef00e2 Replace multiple touch icon images with universal image
refs #11910
2016-06-07 11:26:28 +02:00
Florian Strohmaier de61e0c703 CSS: Remove border-radius on focussed input on login screen 2016-06-03 15:37:08 +02:00
Alexander A. Klimov 4a78fa6a66 List views: handle clicks on mailto: and http:// links as expected
refs #11267
2016-06-02 10:43:34 +02:00
Eric Lippmann ba5fe61fa9 monitoring: Make timeline colors accessible
fixes #11871
2016-06-01 14:40:55 +02:00
Florian Strohmaier a8bf78b054 CSS: Optimize button link styles 2016-04-13 15:16:48 +02:00
Florian Strohmaier 6168828878 CSS: Change font to Lucida Grande on OS X 2016-04-13 13:58:50 +02:00
Florian Strohmaier 8034e9de23 Accessibility: Increase focus visibility in tactical overview
fixes #11516
2016-04-13 13:48:32 +02:00
Marc DeTrano 621c0dbcad Support data URIs in href
resolves #11495

Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2016-04-13 12:59:09 +02:00
Florian Strohmaier 7e15f68a7a CSS: Beautify state-badges 2016-04-13 12:42:52 +02:00
Eric Lippmann 93b50fe484 Refresh menu but keep search text if not focused
fixes #11128
2016-04-11 14:24:23 +02:00
Eric Lippmann 25a85ca36b Help IE to outline the focus 2016-04-11 14:13:37 +02:00
Eric Lippmann 7ea9ae8305 CSS: Remove redundant hover styles for a 2016-04-11 14:12:32 +02:00
Florian Strohmaier 8792cfdf72 Fix alignment of backend selection in user and group lists 2016-04-07 12:52:27 +02:00
Florian Strohmaier 0a9c0925cb CSS: Add space before the autosubmit info in forms 2016-04-07 12:46:13 +02:00
Florian Strohmaier ab626c211b CSS: Fix alignment of action icon in tables 2016-04-07 11:42:57 +02:00
Eric Lippmann 31adfb8a9f Don't add the port twice when reloading CSS 2016-04-06 12:09:49 +02:00
Eric Lippmann 862fddd705 Reduce font-size in login 2016-03-31 16:29:16 +02:00
Florian Strohmaier 9e0bee5006 Fix mispositioned mobile menu icon
fixes #11099
2016-03-31 14:00:27 +02:00
Eric Lippmann 793acd8475 CSS: Move styles related to controls to controls.less
refs #11145
2016-03-31 12:38:25 +02:00
Florian Strohmaier a492839097 CSS: add style for backend-selection
refs #11145
2016-03-31 10:45:42 +02:00
Florian Strohmaier 13f8da254c CSS: Fix controls floating
refs #11145
2016-03-31 10:33:11 +02:00
Marius Hein 25369b6de5 Remove button style from action links 2016-02-29 22:41:39 +01:00
Thomas Gelf ed8c66e84c css/base: apply impact style to full container 2016-02-29 22:17:54 +01:00
Thomas Gelf b6fd4f5584 events.js: do not apply event handlers without...
...an Icinga object. Added a log line, eventually we'll catch this one
far day :)
2016-02-29 22:11:30 +01:00
Thomas Gelf 28204762ab js: fix urls for dynamic css/js reloads 2016-02-29 21:40:48 +01:00
Thomas Gelf 96f50c5dfa loader.js: fix JS error on IE 2016-02-29 21:18:46 +01:00
Thomas Gelf 29eedc1d4a navigation.js: remove forgotten console.log 2016-02-29 21:08:26 +01:00
Eric Lippmann 7188a82a4c Fix that the close-container-control is not immediately shown for #col1
refs #8590
2016-02-27 15:09:11 +01:00
Florian Strohmaier 0c34c20640 Prepare close-container for behavior implementation
refs #8590
2016-02-27 15:07:10 +01:00
Eric Lippmann 5a76895105 CSS: Disable :hover transition on tr (WIP)
If any tr is hovered and auto-refresh kicks in, the tr will be hovered again which leads to "flickering".

We should find good a way to use transitions w/o flickering.

refs #11073
2016-02-25 14:52:54 +01:00
Alexander A. Klimov af18334e3e Cookie icingaweb2-tzo: use `-' as separator
fixes #11126
2016-02-25 13:21:34 +01:00
Eric Lippmann 23b5777b05 CSS: Left-align text in link-button
If the text in a link-button consumes more than one line, text would be center-aligned else.
2016-02-25 10:18:41 +01:00
Eric Lippmann ff3aa43070 CSS: Set tr background transition only for hover
fixes #11073
2016-02-23 15:40:47 +01:00
Alexander A. Klimov a2a96be8c9 Display ISO date and time when a connection was lost
refs #10625
2016-02-22 11:24:19 +01:00
Alexander A. Klimov c4a69191a3 JS: implement Icinga.Utils.padString()
refs #10625
2016-02-22 11:14:41 +01:00
Eric Lippmann 17d0f7be5e CSS: Avoid !important for gutter in .controls
fixes #11143
2016-02-22 09:26:53 +01:00
Thomas Gelf f9a10bc345 layout: no left/right margin for tabs
refs #11143
2016-02-20 15:12:40 +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 11ea7d99d7 Escape messages of notifications loaded by JavaScript 2016-02-19 14:10:58 +01:00
Alexander A. Klimov a493c3469c JS: implement Icinga.Utils.escape() 2016-02-19 14:05:05 +01:00
Eric Lippmann dc80fe59ef CSS: Avoid (in)visible mixins 2016-02-16 17:21:07 +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 e468329051 JS: Keep search field focus
fixes #11029
2016-02-02 08:40:35 +01:00
Eric Lippmann 2ae88130f7 Fix that the filter editor overlaps the dropdown menu 2016-01-28 14:27:11 +01:00
Eric Lippmann b5cbf49433 JS: Fix login autofocus 2016-01-28 12:29:42 +01:00
Eric Lippmann 41c942d197 JS: Maintain auto-refresh interval over redirects
This is far from beautiful. But JS needs a revamp anyway.
Request should be an object and should be passed from function to function in order to maintain state.
2016-01-27 09:19:12 +01:00
Eric Lippmann c963ee23ff JS: Ignore autosubmit elements in the form behavior 2016-01-27 09:12:42 +01:00
Eric Lippmann 5b7f4cd91a CSS: Fix colors used in layout.less 2016-01-25 09:01:26 +01:00
Eric Lippmann 134061f3db CSS: Fix colors used in widgets.less 2016-01-25 08:50:37 +01:00
Eric Lippmann f7ba48eaac CSS: Remove main-content.less
Not in use anymore.
2016-01-25 08:50:18 +01:00
Eric Lippmann f5945ff908 CSS: Move colors to mixins 2016-01-25 08:20:58 +01:00
Eric Lippmann ec177e78e5 Make error messages accessible 2016-01-25 07:44:48 +01:00
Eric Lippmann 7ede8124cb Pagination: Focus active after next or prev exceeded
I'd like to see behaviors for components instead of patching loader/events all the time.
2016-01-25 07:23:12 +01:00
Eric Lippmann 4c4e8e4ac2 monitoring: Re-focus check now and alike 2016-01-22 13:33:59 +01:00
Eric Lippmann 1682d8dd67 UI: Fix wobbling spinners
fixes #11008
2016-01-22 12:59:29 +01:00
Eric Lippmann 2cf8471a00 CSS: Fix input widths
refs #10995
2016-01-20 18:17:32 +01:00
Eric Lippmann 2b183a370b Revert "css/forms: do not set with for ALL inputs"
This reverts commit 323c1e3ebb.

refs #10995
2016-01-20 18:10:10 +01:00
Eric Lippmann 2f9ffa65d7 JS: Ignore ids forms and form controls in getCSSPath()
Id generation is unreliable.

refs #10992
2016-01-20 18:10:04 +01:00
Thomas Gelf 323c1e3ebb css/forms: do not set with for ALL inputs
refs #10995
2016-01-20 17:33:01 +01:00
Eric Lippmann 89bf2b53a9 Add high-contrast theme 2016-01-18 13:32:48 +01:00
Eric Lippmann e1eb505986 JS: Maintain autosubmit focus 2016-01-18 13:28:36 +01:00
Eric Lippmann ebab4e8473 JS: Ignore ids startings w/ form_ in getCSSPath
protectId makes ids change over subsequent requests.
2016-01-18 13:27:02 +01:00
Eric Lippmann a65398d5c9 Fix outline of form controls 2016-01-18 13:19:08 +01:00
Eric Lippmann 074477b452 Show outline in the filter editor 2016-01-18 13:16:16 +01:00
Eric Lippmann 7a6d61ceaa JS: Re-focus visible elements only
Don't try to re-focus links from dropdown tabs example because they're no longer visible if the page has been loaded.
2016-01-18 12:50:27 +01:00