maakbaas / esp8266-iot-framework

Framework for IoT projects implementing HTTPS requests, a React web interface, WiFi manager, live dashboard, configuration manager, file manager and OTA updates.
GNU General Public License v3.0
417 stars 113 forks source link

Separator and titol in config page #147

Closed marcolino7 closed 2 years ago

marcolino7 commented 2 years ago

Hi, it would be great to have separator line and/or title in config page, to better group settings, in example General, MQTT, etc To achieve this, a special json could be added to configuration.json, for example:

{
        "name": "-separator-"
},
{
        "name": "-heading-",
        "value": "MQTT",
},

This could be rendered and added to config page.

Thanks in advance Marco

maakbaas commented 2 years ago

The fields below can be used for purposes of the HTML page (both in configuration.json and dashboard.json) and will have no functional impact:

{
    "type": "separator"
},
{
    "type": "header",
    "text": "Header text here"
},
{
    "type": "label",
    "text": "Label text here"
},