Module: check_mk
Branch: master
Commit: 719ad392751e205a3599cbbc3dd24dad15e46e1e
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=719ad392751e20…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Apr 11 12:13:07 2019 +0200
Add specific visualization for labels depending on their source
Labels can be created explicit by host config, rulesets and can
be discovered automatically by Check_MK. Depending on the source
of a label it is now colorized in different ways to make the origin
of the label transparent to the user.
We may need to work a bit on the colors. That will be the difficult
part ;-).
CMK-1817
Change-Id: I4c52509408159ffd97c61150126f9ea94f1863c0
---
cmk/gui/plugins/views/__init__.py | 1 +
cmk/gui/plugins/views/inventory.py | 5 ++-
cmk/gui/plugins/views/painters.py | 17 +++++++---
cmk/gui/plugins/views/utils.py | 8 ++++-
cmk/gui/plugins/wato/builtin_attributes.py | 2 +-
cmk/gui/plugins/wato/check_mk_configuration.py | 2 ++
cmk/gui/valuespec.py | 16 ++++++++--
cmk/gui/view_utils.py | 17 ++++++----
cmk/gui/wato/pages/folders.py | 7 +++-
cmk/gui/wato/pages/object_parameters.py | 11 ++++---
cmk_base/automations/check_mk.py | 21 +++++++++---
cmk_base/config.py | 10 ++++++
tests/unit/cmk_base/test_config.py | 12 +++++++
tests/unit/cmk_base/test_unit_automations.py | 22 +++++++++++--
web/htdocs/themes/classic/scss/_pages.scss | 44 ++++++++++++++++++++------
web/htdocs/themes/facelift/scss/_pages.scss | 44 ++++++++++++++++++++------
16 files changed, 193 insertions(+), 46 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=719ad39275…