La barre d'information peut être configurée de différentes manières ( voir le chapitre exemple de la page Edition des liens externes - Edition -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 - Météo ).
La configuration de la disposition de la barre d'information se trouve par défaut dans le fichier :
Vous trouverez aussi un exemple de configuration dans :
# ─────────────────────────────────────────────────────────────────────────────────────────────────────── # # 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 sanatize, may not work properly. # __OVERRIDE_TYPE__ webui_module_service_weather__default_info_bar_layout # ─────────────────────────────────────────────────────────────────────────────────────────────────────── # # ┌─────────────────────────────────────────────────────────────────────────────────────────────────────┐ # # │ ────────────────────────────────── DEFAULT INFO BAR LAYOUT ────────────────────────────────── │ # # └─────────────────────────────────────────────────────────────────────────────────────────────────────┘ # # ─── NOTE: Change these parameters to customize the default info bar layout ─── # ─── This option allows you to choose if the info bar will be displayed on top or bottom of the page. ─── # ─── # Default : top ─── # ... : bottom ─── # ─── # broker__module_webui__module_service_weather__default_info_bar_layout__position top # ─── This option allows you to choose the color of the info bar background. ─── # ─── You can use this option to make the weather page more integrated in your tools. ─── # ─── The value format is a web colors ( css color ) see https://en.wikipedia.org/wiki/Web_colors ─── # ─── # Default : #343434 ( same color of the Shinken nav bar, the bar on top of the page ) ─── # ─── # broker__module_webui__module_service_weather__default_info_bar_layout__background_color #343434 # ─── This option allows you to display the Shinken logo ─── # ─── NOTE: You can't put your logo here. Use the dedicated widget to display your company logo. ─── # ─── NOTE: The Shinken logo will not be displayed on the Visualisation interface, ─── # ─── this option is only for the external links ─── # ─── # ... : 0 ( hidden ) ─── # Default : 1 ( displayed ) ─── # ─── # broker__module_webui__module_service_weather__default_info_bar_layout__logo_displayed 1 # ─── This option allows you to display the timer that represents ─── # ─── the refresh period of the weather data. ─── # ─── # ... : 0 ( hidden ) ─── # Default : 1 ( displayed ) ─── # ─── # broker__module_webui__module_service_weather__default_info_bar_layout__refresh_chrono 1 # ─── This option allows you to display the text that gives ─── # ─── the date of the generation of the weather data ─── # ─── # Default : 0 ( hidden ) ─── # ... : 1 ( displayed ) ─── # ─── # broker__module_webui__module_service_weather__default_info_bar_layout__refresh_text 0 |
Nom | Type | Unité | Défaut | Commentaire | |||
|---|---|---|---|---|---|---|---|
| Texte | --- | top | Cette option vous permet de choisir le positionnement de la barre d'information de la vue. Les valeurs possibles sont :
| |||
| Texte | web color | #343434 | Cette option vous permet de choisir la couleur de l'arrière-plan de la barre d'information, et ainsi rendre la page météo plus intégrée à vos outils. La couleur par défaut est la couleur de la barre de navigation de Shinken | |||
| Texte | --- | 1 | Cette option vous permet d'afficher le logo de Shinken dans la barre d'information. Valeurs possibles :
| |||
| Booléen | --- | 1 | Cette option vous permet d'afficher le minuteur qui représente la période de rafraîchissement des données de la page. Valeurs possibles :
| |||
| Booléen | --- | 0 | Cette option vous permet d'afficher le texte qui donne la date de la génération des données de la page. Valeurs possibles :
|