Excerpt |
---|
The reference shows the full usage of the custom widgets for Squirro dashboards. |
In this reference the command line utility squirro_widget
and it's usage for uploading widgets to a Squirro cluster is explained. Then each of the main components of a widget has its own section: JavaScript, CSS, HTML.
...
File | Type | Explanation |
---|---|---|
widget.js | JavaScript | The executable code of the widget. This file is loaded when the widget is used on a dashboard. |
widget.css | CSS | Styling of the widget. This file must exist even when no styles are used for the widget. |
widget.html | HTML | Template for the HTML code of the widget. Even if no custom template is used, this file must exist. |
widget.ini widget.ini.orig | Config | Automatically created file - do not create yourself. These files keep track of the widget metadata. |
...