Module: check_mk
Branch: master
Commit: 58e6da2f5ba7624b72c7b779b636ee1fddddd209
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=58e6da2f5ba762…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Jan 18 13:17:36 2019 +0100
Refactored painter options to plugin registry
Change-Id: If2be1ea2ba0d2b7e68ccc128a74c5ad23d07c519
---
cmk/gui/plugins/views/__init__.py | 3 +-
cmk/gui/plugins/views/bi.py | 120 ++++++++++++++++++++++++-------------
cmk/gui/plugins/views/inventory.py | 24 +++++---
cmk/gui/plugins/views/painters.py | 98 +++++++++++++++++++-----------
cmk/gui/plugins/views/utils.py | 38 +++++++++---
cmk/gui/views.py | 33 ++++++----
tests/unit/cmk/gui/test_views.py | 27 +++++++++
7 files changed, 241 insertions(+), 102 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=58e6da2f5b…