| Scroll Ignore | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
|
Concept
Le format et l'apparence des widgets peuvent être prédéfinis pour l'ensemble de vos météos ( voir la page Concept et paramétrage de Configurer la grille - Edition Édition JSON - Météo ) .
Cette partie permet de définir les valeurs utilisées quand un champ de configuration n'est pas défini ( voir le chapitre Concept et paramétrage des widgets - Edition Configurer un widget - Édition JSON - Météo ).
Configuration
La configuration de la disposition par défaut des widgets se trouve par défaut dans le fichier :
- /etc/shinken-user/configuration/daemons/brokers/modules/webui/modules/webui_module_service_weather/webui_module_service_weather__default_widgets_layout.cfg
Vous trouverez Il y a aussi un exemple de configuration dans :
- /etc/shinken-user-example/configuration/daemons/brokers/modules/webui/modules/webui_module_service_weather/webui_module_service_weather__default_widgets_layout.cfg
Exemple de fichier de configuration
| Code Block | ||||
|---|---|---|---|---|
| ||||
# ─────────────────────────────────────────────────────────────────────────────────────────────────────── # # This comment is used by Shinken to recognize this file, please do not edit or remove it. # If done so, several parts of Shinken, like sanitize, may not work properly. # __OVERRIDE_TYPE__ webui_module_service_weather__default_widgets_layout # ─────────────────────────────────────────────────────────────────────────────────────────────────────── # # ┌─────────────────────────────────────────────────────────────────────────────────────────────────────┐ # # │ ─────────────────────────────── DEFAULT WEATHER WIDGET LAYOUT ─────────────────────────────── │ # # └─────────────────────────────────────────────────────────────────────────────────────────────────────┘ # # ─── NOTE: Change these parameters to customize the default weather widget layout ─── # ───────────────────── NAME AREA ───────────────────────────────────────────────────────────────────── # # ─── This option selects what name will be used in weather widget layout. ─── # ─── Possible values are : ─── # ─── # ... : item_name ( Will use the field "host_name" for host and cluster ) ─── # Default : visualisation_name ( Will use the field "visualisation_name" ) ─── # ─── ─── # broker__module_webui__module_service_weather__default_weather_widget_layout__name_area__property_used_as_name visualisation_name # ─── This option allows you to choose the number of lines maximum on which the name can be displayed. ─── # ─── In any case if the name is too long, it will be cut. Three small dots will be added. ─── # ─── # Default : 2 ─── # ─── ─── # broker__module_webui__module_service_weather__default_weather_widget_layout__name_area__nb_lines_max 2 # ─── This option allows you to choose the vertical alignment preference for the name area. ─── # ─── # ... : bottom ( Name will be align on the bottom ) ─── # Default : middle ( Name will be align on the middle ) ─── # ... : top ( Name will be align on the top ) ─── # ─── ─── # broker__module_webui__module_service_weather__default_weather_widget_layout__name_area__vertical_align middle # ─── This option allows you to zoom the font ( in or out ) the name area. ─── # ─── Format is in percent. ─── # ─── # Default : 100 ( no zoom ) ─── # ─── ─── ─── # broker__module_webui__module_service_weather__default_weather_widget_layout__name_area__font_zoom_percent 100 # ───────────────────── LEFT AREA ───────────────────────────────────────────────────────────────────── # # ─── This option allows you to choose the information that will be in the left area. ─── # ─── Possible values are : ─── # ─── # ... : context_then_status ( context on big icon, status on small icon. ) ─── # Default : status_context_from_webui ( Use the WebUI configuration. ) ─── # ... : only_status ( status on big icon, context is not display. ) ─── # ... : quality_service_icon ( The quality of service indicator. ) ─── # ... : sla_trend tendency ( SLA trend arrow. ) ─── # ... : status_then_context ( status on big icon, context on small icon. ) ─── # ─── ─── # ─── The status_context_from_webui value will use the value "tiles_background" from WebUI ─── # ─── Mapping of the tiles_background values will be : ─── # ─── -> context : context_then_status ─── # ─── -> context_and_status : context_and_status ─── # ─── -> status : only_status ─── # ─── # broker__module_webui__module_service_weather__default_weather_widget_layout__left_area__icon_type status_context_from_webui # ─────────────────── TOP RIGHT AREA ────────────────────────────────────────────────────────────────── # # ─── This option allows you to display the information that will be shown in the top right area. ─── # ─── Possible values are : ─── # ─── # Default : false0 ─── # ... : true1 ─── # ─── ─── # broker__module_webui__module_service_weather__default_weather_widget_layout__top_right_area__displayed false0 # ─── This option allows you to choose the information that will be in the top right area. ─── # ─── Possible values are : ─── # ─── # ... : context_then_status ( context on big icon, status on small icon. ) ─── # ... : status_context_from_webui ( Use the WebUI configuration. ) ─── # ... : only_status ( status on big icon, context is not display. ) ─── # Default : quality_service_icon ( The quality of service indicator. ) ─── # ... : status_then_context ( status on big icon, context on small icon. ) ─── # ─── ─── # ─── The status_context_from_webui value will use the value "tiles_background" from WebUI ─── # ─── Mapping of the tiles_background values will be : ─── # ─── -> context : context_then_status ─── # ─── -> context_and_status : context_and_status ─── # ─── -> status : only_status ─── # ─── # broker__module_webui__module_service_weather__default_weather_widget_layout__top_right_area__icon_type quality_service_icon # ────────────────────── SLA AREA ───────────────────────────────────────────────────────────────────── # # ─── This option allows you to display the information that will be shown in the sla area. ─── # ─── Not displaying SLA information will free MongoDB resources. ─── # ─── Possible values are : ─── # ─── # ... : 0 false ─── # Default : true1 ─── # ─── ─── # broker__module_webui__module_service_weather__default_weather_widget_layout__sla_area__displayed true1 # ─── This option allows you to choose the display of the SLA icons. ─── # ─── # Default : false0 ─── # ... : 1 true ─── # ─── ─── # broker__module_webui__module_service_weather__default_weather_widget_layout__sla_area__show_icon false0 # ────────────────────── GENERAL ────────────────────────────────────────────────────────────────────── # # ─── This option allows you to select how the background color is set. ─── # ─── Possible values are : ─── # ─── # Default : status_context_from_webui ( Use the WebUI configuration. ) ─── # ... : context_then_status ( Use the context (if present) else the status. ) ─── # ... : context_and_status ( Use the context color and the status. ) ─── # ... : only_status ( Use the only status. ) ─── # ... : no_background ( The background will be blank. ) ─── # ─── ─── # ─── The status_context_from_webui value will use the value "tiles_background" from WebUI ─── # ─── Mapping of the tiles_background values will be : ─── # ─── -> context : context_then_status ─── # ─── -> context_and_status : context_and_status ─── # ─── -> status : only_status ─── # ─── # broker__module_webui__module_service_weather__default_weather_widget_layout__background status_context_from_webui # ─── This option allows you to choose the default size the weather widget. ─── # ─── Format is WIDTH,HEIGHT. Size is in number of casecell. ─── # ─── Value "all" in width makes the widget take all the width. ─── # ─── # Default : 15,4 ( width:15 height:4 ) ─── # ─── ─── # broker__module_webui__module_service_weather__default_weather_widget_layout__size 15,4 # ┌─────────────────────────────────────────────────────────────────────────────────────────────────────┐ # # │ ────────────────────────────── DEFAULT SEPARATOR WIDGET LAYOUT ────────────────────────────── │ # # └─────────────────────────────────────────────────────────────────────────────────────────────────────┘ # # ───────────────────── LEFT AREA ───────────────────────────────────────────────────────────────────── # # ─── This option allows you to display the left area of the separator widget. ─── # ─── Possible values are : ─── # ─── # ... : false0 ─── # Default : true1 ─── # ─── ─── # broker__module_webui__module_service_weather__default_separator_widget_layout__left_area__displayed true1 # ─── This option allows you to choose the width percent of left area. ─── # ─── Format is in percent of the width of the widget. ─── # ─── # Default : 10 ( The width of the left area is 10 percent of the widget width. ) ─── # ─── ─── # broker__module_webui__module_service_weather__default_separator_widget_layout__left_area__width_percent 10 # ───────────────────── TEXT AREA ───────────────────────────────────────────────────────────────────── # # ─── This option allows you to choose the text position in the zone text. ─── # ─── # Default : center ( text will be centred ) ─── # ... : left ( text will be align on the left ) ─── # ... : right ( text will be align on the right ) ─── # ─── ─── # broker__module_webui__module_service_weather__default_separator_widget_layout__title_area__text_align center # ─── This option allows you to choose the default color of the text in title area. ─── # ─── The value format is a web colors ( css color ) see https://en.wikipedia.org/wiki/Web_colors ─── # ─── # Default : #000000 ( black ) ─── # ─── ─── # broker__module_webui__module_service_weather__default_separator_widget_layout__title_area__text_color #000000 # ─── This option allows you to zoom the font ( in or out ) of the label. ─── # ─── Format is in percent. ─── # ─── # Default : 100 ( no zoom ) ─── # ─── ─── # broker__module_webui__module_service_weather__default_separator_widget_layout__title_area__font_zoom_percent 100 # ───────────────────── RIGHT AREA ──────────────────────────────────────────────────────────────────── # # ─── This option allows you to display the right area of the separator widget. ─── # ─── Possible values are : ─── # ─── # ... : 0 false ─── # Default : 1 true ─── # ─── ─── # broker__module_webui__module_service_weather__default_separator_widget_layout__right_area__displayed true1 # ─── This option allows you to choose the width percent of right area. ─── # ─── Format is in percent of the width of the widget. ─── # ─── # Default : 10 ( The width of the right area is 10 percent of the widget width. ) ─── # ─── ─── # broker__module_webui__module_service_weather__default_separator_widget_layout__right_area__width_percent 10 # ────────────────────── GENERAL ────────────────────────────────────────────────────────────────────── # # ─── This option allows you to choose the default size the separator widget. ─── # ─── Format is WIDTH,HEIGHT. Size is in number of casecell. ─── # ─── Value "all" in width makes the widget take all the width. ─── # ─── # Default : all,2 ( width:all height:2 ) ─── # ─── ─── # broker__module_webui__module_service_weather__default_separator_widget_layout__size all,2 # ┌─────────────────────────────────────────────────────────────────────────────────────────────────────┐ # # │ ──────────────────────────────── DEFAULT TITLE WIDGET LAYOUT ──────────────────────────────── │ # # └─────────────────────────────────────────────────────────────────────────────────────────────────────┘ # # ───────────────────── TEXT AREA ───────────────────────────────────────────────────────────────────── # # ─── This option allows you to choose the default color of the text in title widget. ─── # ─── The value format is a web colors ( css color ) see https://en.wikipedia.org/wiki/Web_colors ─── # ─── # Default : #000000 ( black ) ─── # ─── ─── # broker__module_webui__module_service_weather__default_title_widget_layout__title_area__text_color #000000 # ─── This option allows you to zoom the font ( in or out ) of the label. ─── # ─── Format is in percent. ─── # ─── # Default : 100 ( no zoom ) ─── # ─── ─── # broker__module_webui__module_service_weather__default_title_widget_layout__title_area__font_zoom_percent 100 # ────────────────────── GENERAL ────────────────────────────────────────────────────────────────────── # # ─── This option allows you to choose the defaulttext position sizein the titlezone widgettext. ─── # ─── Format is WIDTH,HEIGHT. Size is in number of case. ─── # ─── Value "all" in width makes the widget take all the width. ─── # Default : left ( text will be align on the left ) ─── # ─── # ... : center ( text will be centred ) ─── # Default... : all,3 ( width:all height:3 )right ( text will be align on the right ) ─── # ─── ─── # broker__module_webui__module_service_weather__default_title_widget_layout__size all,5 |
| Info |
|---|
La configuration décrite ci-dessous n'est que la configuration par défaut, il est tout à fait possible de modifier la disposition des widgets pour chaque météo. |
Détails des sections composant le fichier de configuration
Disposition par défaut des widgets titre
title_area__text_align left
# ────────────────────── GENERAL ────────────────────────────────────────────────────────────────────── #
# ─── This option allows you to choose the default size the title widget. ───
# ─── Format is WIDTH,HEIGHT. Size is in number of cell. ───
# ─── Value "all" in width makes the widget take all the width. ───
# ───
# Default : all,3 ( width:all height:3 ) ───
# ─── ───
# broker__module_webui__module_service_weather__default_title_widget_layout__size all,5 |
| Info |
|---|
La configuration décrite ci-dessous n'est que la configuration par défaut, il est tout à fait possible de modifier la disposition des widgets pour chaque météo. |
| Anchor | ||||
|---|---|---|---|---|
|
Détails des sections composant le fichier de configuration
Disposition par défaut des widgets titre
| Code Block | ||||
|---|---|---|---|---|
| ||||
# ┌─────────────────────────────────────────────────────────────────────────────────────────────────────┐ #
# │ ──────────────────────────────── DEFAULT TITLE WIDGET LAYOUT ──────────────────────────────── │ #
# └─────────────────────────────────────────────────────────────────────────────────────────────────────┘ #
# ───────────────────── TEXT AREA ───────────────────────────────────────────────────────────────────── #
# ─── This option allows you to choose the default color of the text in title widget. ───
# ─── The value format is a web colors ( css color ) see https://en.wikipedia.org/wiki/Web_colors ───
# ───
# Default : #000000 ( black ) ───
# ─── ───
# broker__module_webui__module_service_weather__default_title_widget_layout__title_area__text_color #000000 | ||||
| Code Block | ||||
| ||||
# ┌─────────────────────────────────────────────────────────────────────────────────────────────────────┐ # # │ ──────────────────────────────── DEFAULT TITLE WIDGET LAYOUT ──────────────────────────────── │ # # └─────────────────────────────────────────────────────────────────────────────────────────────────────┘ # # ───────────────────── TEXT AREA ───────────────────────────────────────────────────────────────────── # # ─── This option allows you to choose the default color of the text in title widget.zoom the font ( in or out ) of the label. ─── # ─── Format is in percent. ─── # ─── The value format is a web colors ( css color ) see https://en.wikipedia.org/wiki/Web_colors ─── # ─── # Default : #000000100 ( blackno zoom ) ─── # ─── ─── # broker__module_webui__module_service_weather__default_title_widget_layout__title_area__font_textzoom_colorpercent #000000100 # ─── This option allows you to zoomchoose the fonttext (position in or out ) of the label.the zone text. ─── # ─── # ─── Format is in percent. ─── # Default : left ( text will be align on the left ) ─── # ... : center ( text will be centred ) ─── # Default : 100─── ( no zoom )# ... : right ( text will be align on the right ) ─── # ─── ─── # broker__module_webui__module_service_weather__default_title_widget_layout__title_area__fonttext_zoom_percentalign 100left # ────────────────────── GENERAL ────────────────────────────────────────────────────────────────────── # # ─── This option allows you to choose the default size the title widget. ─── # ─── Format is WIDTH,HEIGHT. Size is in number of casecell. ─── # ─── Value "all" in width makes the widget take all the width. ─── # ─── # Default : all,3 ( width:all height:3 ) ─── # ─── ─── # broker__module_webui__module_service_weather__default_title_widget_layout__size all,5 |
Nom | Type | Unité | Défaut | Commentaire | ||
|---|---|---|---|---|---|---|
| Texte | --- | #000000 | Cette option vous permet de choisir la couleur par défaut du texte dans le widget titre. Le format de la valeur est une couleur web ( Voir : https://en.wikipedia.org/wiki/Web_colors ) | ||
| Entier positif | % | 100 | Zoom en pourcentage de la taille de la police. Doit être supérieur à 0 Une valeur de 200 affiche un texte deux fois plus gros Une valeur de 50 affiche un texte deux fois plus petit | ||
| Texte | --- | left | Cette option permet de choisir l'alignement du texte.
| ||
| Taille | --- | all,3 | Cette option vous permet de choisir la taille par défaut du widget titre. La taille est en nombre de cases. |
| Anchor | ||||
|---|---|---|---|---|
|
Disposition par défaut des widgets séparateur
| Code Block | ||||
|---|---|---|---|---|
| ||||
# ┌─────────────────────────────────────────────────────────────────────────────────────────────────────┐ #
# │ ────────────────────────────── DEFAULT SEPARATOR WIDGET LAYOUT ────────────────────────────── │ #
# └─────────────────────────────────────────────────────────────────────────────────────────────────────┘ #
# ───────────────────── LEFT AREA ───────────────────────────────────────────────────────────────────── #
# ─── This option allows you to display the left area of the separator widget. ───
# ─── Possible values are : ───
# ───
# ... : false0 ───
# Default : 1 true ───
# ─── ───
# broker__module_webui__module_service_weather__default_separator_widget_layout__left_area__displayed true1
# ─── This option allows you to choose the width percent of left area. ───
# ─── Format is in percent of the width of the widget. ───
# ───
# Default : 10 ( The width of the left area is 10 percent of the widget width. ) ───
# ─── ───
# broker__module_webui__module_service_weather__default_separator_widget_layout__left_area__width_percent 10
# ───────────────────── TEXT AREA ───────────────────────────────────────────────────────────────────── #
# ─── This option allows you to choose the text position in the zone text. ───
# ───
# Default : center ( text will be centred ) ───
# ... : left ( text will be align on the left ) ───
# ... : right ( text will be align on the right ) ───
# ─── ───
# broker__module_webui__module_service_weather__default_separator_widget_layout__title_area__text_align center
# ─── This option allows you to choose the default color of the text in title area. ───
# ─── The value format is a web colors ( css color ) see https://en.wikipedia.org/wiki/Web_colors ───
# ───
# Default : #000000 ( black ) ───
# ─── ───
# broker__module_webui__module_service_weather__default_separator_widget_layout__title_area__text_color #000000
# ─── This option allows you to zoom the font ( in or out ) of the label. ───
# ─── Format is in percent. ───
# ───
# Default : 100 ( no zoom ) ───
# ─── ───
# broker__module_webui__module_service_weather__default_separator_widget_layout__title_area__font_zoom_percent 100
# ───────────────────── RIGHT AREA ──────────────────────────────────────────────────────────────────── #
# ─── This option allows you to display the right area of the separator widget. ───
# ─── Possible values are : ───
# ───
# ... : false0 ───
# Default : true1 ───
# ─── ───
# broker__module_webui__module_service_weather__default_separator_widget_layout__right_area__displayed true1
# ─── This option allows you to choose the width percent of right area. ───
# ─── Format is in percent of the width of the widget. ───
# ───
# Default : 10 ( The width of the right area is 10 percent of the widget width. ) ───
# ─── ───
# broker__module_webui__module_service_weather__default_separator_widget_layout__right_area__width_percent 10
# ────────────────────── GENERAL ────────────────────────────────────────────────────────────────────── #
# ─── This option allows you to choose the default size the separator widget. ───
# ─── Format is WIDTH,HEIGHT. Size is in number of casecell. ───
# ─── Value "all" in width makes the widget take all the width. ───
# ───
# Default : all,2 ( width:all height:2 ) ───
# ─── ───
# broker__module_webui__module_service_weather__default_separator_widget_layout__size all,2
|
Nom | Type | Unité | Défaut | Commentaire | ||
|---|---|---|---|---|---|---|
| Entier positif | --- | 1 | Affichage ou non de la zone de gauche :
| ||
| Entier positif | % | 10 | Taille en pourcentage de la largeur de la zone de gauche. Doit être compris entre 0 et 100 | ||
| Texte | --- | center | Cette option vous permet de choisir la position du texte dans la zone texte définie. ( zone restant entre start_zone_text_percent et end_zone_text_percent ) Valeurs possibles :
| ||
| Texte | --- | #000000 | Cette option vous permet de choisir la couleur par défaut du texte dans le widget séparateur. Le format de la valeur est une couleur web ( Voir : https://en.wikipedia.org/wiki/Web_colors ) | ||
| Entier positif | % | 100 | Zoom en pourcentage de la taille de la police. Doit être supérieur à 0 Une valeur de 200 affiche un texte deux fois plus gros Une valeur de 50 affiche un texte deux fois plus petit | ||
| Entier positif | --- | 1 | Affichage ou non de la zone de droite :
| ||
| Entier positif | % | 10 | Taille en pourcentage de la largeur de la zone de gauche. Doit être compris entre 0 et 100 | ||
| Taille | --- | all,2 | Cette option vous permet de choisir la taille par défaut du widget séparateur. La taille est en nombre de cases. |
| Anchor | ||||
|---|---|---|---|---|
|
Disposition par défaut des widgets météo
| Code Block | ||||
|---|---|---|---|---|
| ||||
# ┌─────────────────────────────────────────────────────────────────────────────────────────────────────┐ #
# │ ─────────────────────────────── DEFAULT WEATHER WIDGET LAYOUT ─────────────────────────────── │ #
# └─────────────────────────────────────────────────────────────────────────────────────────────────────┘ #
# ─── NOTE: Change these parameters to customize the default weather widget layout ───
# ───────────────────── NAME AREA ───────────────────────────────────────────────────────────────────── #
# ─── This option selects what name will be used in weather widget layout. ───
# ─── Possible values are : ───
# ───
# ... : item_name ( Will use the field "host_name" for host and cluster ) ───
# Default : visualisation_name ( Will use the field "visualisation_name" ) ───
# ─── ───
# broker__module_webui__module_service_weather__default_weather_widget_layout__name_area__property_used_as_name visualisation_name
# ─── This option allows you to choose the number of lines maximum on which the name can be displayed. ───
# ─── In any case if the name is too long, it will be cut. Three small dots will be added. ───
# ───
# Default : 2 ───
# ─── ───
# broker__module_webui__module_service_weather__default_weather_widget_layout__name_area__nb_lines_max 2
# ─── This option allows you to choose the vertical alignment preference for the name area. ───
# ───
# ... : bottom ( Name will be align on the bottom ) ───
# Default : middle ( Name will be align on the middle ) ───
# ... : top ( Name will be align on the top ) ───
# ─── ───
# broker__module_webui__module_service_weather__default_weather_widget_layout__name_area__vertical_align middle
# ─── This option allows you to zoom the font ( in or out ) the name area. ───
# ─── Format is in percent. ───
# ───
# Default : 100 ( no zoom ) ───
# ─── ───
# broker__module_webui__module_service_weather__default_weather_widget_layout__name_area__font_zoom_percent 100
# ───────────────────── LEFT AREA ───────────────────────────────────────────────────────────────────── #
# ─── This option allows you to choose the information that will be in the left area. ───
# ─── Possible values are : ───
# ───
# ... : context_then_status ( context on big icon, status on small icon. ) ───
# Default : status_context_from_webui ( Use the WebUI configuration. ) ───
# ... : only_status ( status on big icon, context is not display. ) ───
# ... : quality_service_icon ( The quality of service indicator. ) ───
# ... : sla_trendtendency ( SLA trend arrow. ) ───
# ... : status_then_context ( status on big icon, context on small icon. ) ───
# ─── ───
# ─── The status_context_from_webui value will use the value "tiles_background" from WebUI ───
# ─── Mapping of the tiles_background values will be : ───
# ─── -> context : context_then_status ───
# ─── -> context_and_status : context_and_status ───
# ─── -> status : only_status ───
# ───
# broker__module_webui__module_service_weather__default_weather_widget_layout__left_area__icon_type status_context_from_webui
# ─────────────────── TOP RIGHT AREA ────────────────────────────────────────────────────────────────── #
# ─── This option allows you to display the information that will be shown in the top right area. ───
# ─── Possible values are : ───
# ───
# Default : false0 ───
# ... : 1 true ───
# ─── ───
# broker__module_webui__module_service_weather__default_weather_widget_layout__top_right_area__displayed false0
# ─── This option allows you to choose the information that will be in the top right area. ───
# ─── Possible values are : ───
# ───
# ... : context_then_status ( context on big icon, status on small icon. ) ───
# ... : status_context_from_webui ( Use the WebUI configuration. ) ───
# ... : only_status ( status on big icon, context is not display. ) ───
# Default : quality_service_icon ( The quality of service indicator. ) ───
# ... : status_then_context ( status on big icon, context on small icon. ) ───
# ─── ───
# ─── The status_context_from_webui value will use the value "tiles_background" from WebUI ───
# ─── Mapping of the tiles_background values will be : ───
# ─── -> context : context_then_status ───
# ─── -> context_and_status : context_and_status ───
# ─── -> status : only_status ───
# ───
# broker__module_webui__module_service_weather__default_weather_widget_layout__top_right_area__icon_type quality_service_icon
# ────────────────────── SLA AREA ───────────────────────────────────────────────────────────────────── #
# ─── This option allows you to display the information that will be shown in the sla area. ───
# ─── Not displaying SLA information will free MongoDB resources. ───
# ─── Possible values are : ───
# ───
# ... : 0 false ───
# Default : true1 ───
# ─── ───
# broker__module_webui__module_service_weather__default_weather_widget_layout__sla_area__displayed true1
# ─── This option allows you to choose the display of the SLA icons. ───
# ───
# Default : 0 false ───
# ... : true1 ───
# ─── ───
# broker__module_webui__module_service_weather__default_weather_widget_layout__sla_area__show_icon false0
# ────────────────────── GENERAL ────────────────────────────────────────────────────────────────────── #
# ─── This option allows you to select how the background color is set. ───
# ─── Possible values are : ───
# ───
# Default : status_context_from_webui ( Use the WebUI configuration. ) ───
# ... : context_then_status ( Use the context (if present) else the status. ) ───
# ... : context_and_status ( Use the context color and the status. ) ───
# ... : only_status ( Use the only status. ) ───
# ... : no_background ( The background will be blank. ) ───
# ─── ───
# ─── The status_context_from_webui value will use the value "tiles_background" from WebUI ───
# ─── Mapping of the tiles_background values will be : ───
# ─── -> context : context_then_status ───
# ─── -> context_and_status : context_and_status ───
# ─── -> status : only_status ───
# ───
# broker__module_webui__module_service_weather__default_weather_widget_layout__background status_context_from_webui
# ─── This option allows you to choose the default size the weather widget. ───
# ─── Format is WIDTH,HEIGHT. Size is in number of casecell. ───
# ─── Value "all" in width makes the widget take all the width. ───
# ───
# Default : 15,4 ( width:15 height:4 ) ───
# ─── ───
# broker__module_webui__module_service_weather__default_weather_widget_layout__size 15,4
|
Nom | Type | Unité | Défaut | Commentaire | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Texte | --- | visualisation_name | Propriété des éléments utilisés pour afficher le nom sur le widget météo. 2 valeurs possibles :
| ||||||||||||||||||||||||||||||
| Entier positif | --- | 2 | Définit le nombre de lignes attendu pour l'affichage du nom avant de mettre une ellipsis | ||||||||||||||||||||||||||||||
| Texte | --- | middle | Définit l'alignement du texte. 3 valeurs possibles :
| ||||||||||||||||||||||||||||||
| Entier positif | % | 100 | Zoom en pourcentage de la taille de la police. Doit être supérieur à 0 Une valeur de 200 affiche un texte deux fois plus gros Une valeur de 50 affiche un texte deux fois plus petit | ||||||||||||||||||||||||||||||
| Texte | --- | status_context_from_webui | Cette option permet de choisir quel type d'icône sera affiché. 6 options sont disponibles :
Pour la valeur status_context_from_webui on prendra la valeur du paramètre : tiles_background Avec la correspondance suivante :
| ||||||||||||||||||||||||||||||
| Entier positif | --- | 0 | Définit si la zone en haut à droite est affichée :
| ||||||||||||||||||||||||||||||
| Texte | --- | quality_service_icon | Cette option permet de choisir quel type d'icône sera affiché. 5 options sont disponibles :
Pour la valeur status_context_from_webui on prendra la valeur du paramètre : tiles_background Avec la correspondance suivante :
| ||||||||||||||||||||||||||||||
| Entier positif | --- | 1 | Définit si la zone SLA est affichée :
| ||||||||||||||||||||||||||||||
| Entier positif | --- | 0 | Définit si l'icône SLA est affiché dans la zone SLA :
| ||||||||||||||||||||||||||||||
| Texte | --- | status_context_from_webui | Cette option permet de choisir le type d'affichage de la couleur de fond d'un widget météo. 5 options sont disponibles :
| ||||||||||||||||||||||||||||||
| Taille | --- | 15,4 | Cette option permet de choisir la taille par défaut du widget météo. La taille se définit en nombre de cases. |