Hi All,
I need some advice on making changes to WebServer.ino so that the web GUI ONLY displays the "Config" page, all other menu buttons are not shown as i do not want users to mess around with the units settings. Any pointers to this are most welcome
Regards
Ray
Mega web GUI
Moderators: grovkillen, Stuntteam, TD-er
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Mega web GUI
Remove all other URL responses. Search through the source for those.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: Mega web GUI
Many thanks, ill take a look.
Re: Mega web GUI
So i can just comment out the menu items i do not need here?
else if (varName == F("menu"))
{
static const __FlashStringHelper* gpMenu[8][3] = {
// See https://github.com/letscontrolit/ESPEasy/issues/1650
// Icon, Full width label, URL
F("⌂"), F("Main"), F("/"), //0
F("⚙"), F("Config"), F("/config"), //1
F("💬"), F("Controllers"), F("/controllers"), //2
F("📌"), F("Hardware"), F("/hardware"), //3
F("🔌"), F("Devices"), F("/devices"), //4
F("⧴"), F("Rules"), F("/rules"), //5
F("✉"), F("Notifications"), F("/notifications"), //6
F("🔧"), F("Tools"), F("/tools"), //7
};
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Mega web GUI
Yes that should do it... but you might want to update the HTML to not show those tabs in the GUI just to not confuse anyone.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: Mega web GUI
Got it! Ill make a donation in the near future to you guys toward your continuing work on this excellent project.
Keep up the good work and Many thanks
Keep up the good work and Many thanks
Who is online
Users browsing this forum: No registered users and 118 guests