Module: check_mk
Branch: master
Commit: 8d921d20276451a655e937effc66d9767d3e643a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8d921d20276451…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Mar 6 15:36:21 2018 +0100
wato module registering now supports sorting
changed the following other things:
* registering of new modules is now done using the new register_modules() function
* the modules are now represented by watomodule() instances instead of tuples
* the modules now have a new optional field: sort_index to define the
sort order. modules without explicit sort_index default to 100.
modules with equal sort_index will be sorted by their title.
* added missing "menus" to host- and servicegroup pages when no group defined
yet
Change-Id: Id1dd3ef8b88635b0c18b0f83df73be2162c51c62
---
web/htdocs/wato.py | 128 +++++++++++++++++++++++++++---------
web/htdocs/watolib.py | 4 +-
web/plugins/sidebar/wato.py | 19 +++---
web/plugins/wato/background_job.py | 12 ++--
web/plugins/wato/bi.py | 11 +++-
web/plugins/wato/builtin_modules.py | 85 ++++++++++++------------
web/plugins/wato/mkeventd.py | 6 +-
7 files changed, 169 insertions(+), 96 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=8d921d2027…