Skip to content
Arjen van Bochoven edited this page Apr 24, 2020 · 5 revisions

Since MunkiReport 5.3.1 it is possible and advised to configure widgets using the built-in widget templates. You can use the widgets by adding your widgets as YAML files with an extension of .yml

At the moment there are three types of widgets available:

Scrollbox widget

Use this widget to show a list of entries with counts. The scrollbox widget takes in the following properties:

property required description
type yes to determine the widget type
widget_id. yes unique id, prefix with module name
api_url yes url to get the data from
i18n_title no i18n string that points to the localised title
icon. no icon for the widget
listing_link no link to the relevant listing
search_key no key to search for in the data

Example

type: scrollbox
widget_id: hardware-model-widget
api_url: /module/machine/get_model_stats
i18n_title: machine.hardware_widget_title
icon: fa-laptop
listing_link: /show/listing/machine/hardware
search_key: label
Clone this wiki locally