Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Make by tools (01.00.01) - action=clean_macro_parameter
Scroll Ignore
scroll-viewporttrue
scroll-pdftrue
scroll-officetrue
scroll-chmtrue
scroll-docbookhtmltruefalse
scroll-eclipsehelpdocbooktrue
scroll-epubeclipsehelptrue
scroll-htmlepubtrue
Panel
titleSommaire

Table of Contents
stylenone

Présentation

Voici un exemple de la structure JSON de la configuration de la météo.


Note

Certains copier/-coller peuvent ne pas fonctionner correctement ( problème de format d'origine, encodage des espaces et des retours à la ligne, etc... )

Pour coller sur le formulaire de votre du navigateur, on vous conseille il est conseillé d'utiliser le "Copier en texte brut" de votre du navigateur => ( raccourci = Ctrl+Maj+V)

Code Block
languagebash
themeRDarkyml
{
    "grids"         : [
        {
            "nb_tiles_in_width":  60,
            : 60,
            "nb_tiles_in_height"             : 120,
            "separation_grid_element_min"    : 3,
            "separation_grid_element_max"    : 10,
            "separation_grid_element_percent": 0.5,
            "type": "grid",
         "grid_elements": [
        {
         : "position_x": 0grid",
            "positiongrid_yelements":  0,
          "width": "all",
     : [
    "height": 3,
          "content": {
            "type": "title_widget",
           "position_x": 0,
     "layout": {
              "informationposition_to_displayy": {0,
                    "title_area": {
width"     : "all",
                    "labelheight"    : "MON TITRE"3,
                    "text_color"content"   : "black",
{
                        "text_aligntype"  : "defaulttitle_widget",
                  "font_zoom_percent": "default"
      "layout": {
         }
              }
     "information_to_display": {
      }
          }
        },
        "title_area": {
          "position_x": 0,
               "position_y": 3,
          "widthlabel": "all",
            : "height": 2MON TITRE",
          "content": {
            "type": "separator_widget",
            "layouttext_color":  {
     : "black",
        "information_to_display": {
                "left_area": {
          "text_align"       : "displayeddefault": true,
                  "width_percent": 20
                },
   "font_zoom_percent": "default"
              "title_area": {
                  "label": "MON SEPARATEUR",
}
                           "font_zoom_percent": "default",
 }
                      "text_color": "black",
  }
                   "text_align": "center" }
                },
                "right_area": {
                    "displayedposition_x": true0,
                    "widthposition_percenty": 203,
                }
    "width"     : "all",
    }
            }
    "height"    :  }2,
        },
        {
    "content"   : {
  "position_x": 0,
          "position_y": 5,
          "widthtype"  : 15"separator_widget",
          "height": 5,
              "contentlayout": {
            "type": "weather_widget",
                "iteminformation_to_display": {
                "item_uuid": "00000000000000000000000000000001",
                "itemleft_namearea" : "Le{
  nom de mon hote",
                  "item_type": "host"
            },
 "displayed"    : true,
      "layout": {
              "background": "default",
              "informationwidth_to_displaypercent": {20
                 "left_area": {
              },
    "icon_type": "default"
                },
                "top_right"title_area": {
                  "displayed": "default",
                  "icon_type": "defaultlabel"
            :    }"MON SEPARATEUR",
                "sla_area": {
                    "displayedfont_zoom_percent": "default",
                  "show_icon": "default"
                },
  "text_color"          : "black",
     "name_area": {
                  "property_used_as_name": "default",
           "text_align"       "nb_lines_max": "defaultcenter",
                  "vertical_align": "default",
             },
     "font_zoom_percent": "default"
                }
          "right_area": {
   }
            }
          }
        },
   "displayed"    : {true,
          "position_x": 15,
               "position_y": 5,
          "width_percent": 15,20
            "height": 5,
          "content": {
        }
    "type": "weather_widget",
            "item": {
          }
    "item_uuid": "00000000000000000000000000000002",
              "item_name": "Le nom de mon cluster",}
              "item_type": "cluster"
      }
         },
       },
      "layout": {
         {
     "background": "default",
              "informationposition_to_displayx": {0,
                    "leftposition_areay": {5,
                   "icon_type": "defaultwidth"
     :  15,
         },
           "height"     "top_right_area": {5,
                    "displayedcontent"   : "default",{
                  "icon_      "type": "defaultweather_widget",
                },
        "item": {
         "sla_area": {
                  "displayeditem_uuid": "default10000000000000100000000000000001",
                     "show_icon       "item_name": "default"
Le nom de mon hote",
            },
                "nameitem_areatype": {"host"
                    "property_used_as_name": "default",
    }
                "nb_lines_max": "default",
   }
               "vertical_align": "default" },
                {
  "font_zoom_percent": "default"
                }
   "position_x": 15,
            }
        "position_y": 5,
   }
          }
       "width" }
    :  ]15,
      "layouts": {
           "weather_widget_layout": {
      "height"    "width": "default"5,
          "height": "default",
          "content"   : {
            "layout": {
              "backgroundtype": "defaultweather_widget",
               "information_to_display         "item": {
                "left_area": {
                   "icon_type"item_uuid": "default10000000000000100000000000000002",
                },
                "topitem_right_areaname": {
"Le nom de      mon cluster",
          "displayed": "default",
                  "iconitem_type": "defaultcluster"
                },
        }
        "sla_area": {
            }
        "displayed": "default",
       }
           "show_icon": "default" ]
        }
    ],
    },
"external_links": {
        "links": [
           "name_area": {
                  "propertylink_used_as_name"             : "defaultLien 01",
                  "nblink_lines_max"uuid"             : "default49872e4e-ffee-7084-fb91-b52346c3dcca",
                  "verticallink_align"protocol"         : "default",
                  "fontlink_zoombase_percent"url"         : "default",
                }
"link_external_part_url": "default",
               }
 "authentication_needed" : "default",
             }
   "info_bar"       }
       : },{
           "separator_widget_layout": {
          "widthbackground_color": "default",
          "height": "default",
          "contentlogo_displayed"  : {"default",
            "layout": {
       "position"        : "information_to_display": {default",
                "left_area": {
   "refresh"         : {
     "displayed": "default",
                  "widthchrono_percentdisplayed":  "default"
       : "default",
        },
                "titlegeneration_time_areadisplayed": {"default"
                   "font_zoom_percent": "default", }
                  "text_color": "default"},
                  "text_alignnotifications": "default"
        :    {
    },
                "right_areasound" : {
                  "displayed      "enabled": "default",
                   "width_percent": "default"
 },
                    "visual": }{
              }
            }"blink": {
          }
        },
          "title_widget_layoutenabled": {"default"
            "width": "default",
          "height": "default", }
          "content": {
         }
   "layout": {
             }
   "information_to_display": {
        }
        "title_area": {
                  "text_color": "default",
                  "text_align": "default",
                  "font_zoom_percent": "default"
                }
              }
            }
          }
        }
      }
    }
  ],
  "external_links": {
    "default_link": {
      "link_protocol": "default",
      "link_base_url": "default",
      "link_external_part_url": "default",
      "authentication_needed": "default",
      "info_bar": {
        "background_color": "default",
        "logo_displayed": "default",
        "position": "default",
        "refresh": {
          "chrono_displayed": "default",
          "generation_time_displayed": "default"
        }
      }
    },
    "links": [
      {
        "link_name": "Lien 01",
        "link_uuid": "default",
        "link_protocol": "default",
        "link_base_url": "default",
        "link_external_part_url": "default",
        "authentication_needed": true,
        "info_bar": {
          "background_color": "default",
          "logo_displayed": "default",
          "position": "default",
          "refresh": {
            "chrono_displayed": "default",
            "generation_time_displayed": "default"
          }
        }
      }
    ]
  },
  "users": {
    "owner_user": {
      "user_name": "Le nom du propriétaire actuel",
      "user_uuid": ""
    },
    "previous_owner_user": {
      "user_name": "Le nom du précédent propriétaire",
      "user_uuid": "default"
    },
    "creator_user": {
      "user_name": "Le nom du créateur de la météo",
      "user_uuid": "default"
    }
]
    }
}

Le JSON d'exemple comporte :


Panel
Image Removed

Image Added