[Feature] Split Interfaces page into separate tab per interface#5498
Conversation
…feature/Menu-interfaces-split-into-tabs
…hub.com/tonhuisman/ESPEasy-1 into feature/Menu-interfaces-split-into-tabs
…feature/Menu-interfaces-split-into-tabs
|
@chromoxdor Are you available for testing this PR, especially the collapsible sections, and the overall look and feel on non-Windows platform(s)? |
|
I have not so much time but I am willing to procrastinate for a good cause 🙂 |
|
If you want to test my css: |
You probably changed something more than just the css, as I don't get the same submenu display you have in your screenshot 🤔 |
Sorry, I meant using the css with the HTML structure I recommended |
|
Well, yeah, but to reduce code I used the |
Not quite. You change the whole body classname and put the sub menu in the header of the main menu. |
|
It is much harder with the given html structure to style the menubars in a way that it looks halfway consistent |
|
I wa playing around and it seems there could be a way to style it with your structure... |
|
just updated the css file |
|
I got late yesterday, so I did not write anything anymore. |
|
Some refinements: espeasy_default.css |
|
sorry ton... I made another small change 😬: |
|
@chromoxdor You haven't made any comments (yet) about the collapsible sections, does that mean it is completely broken and not visible on your browser, or just working as expected? |
Ahhh, true... You might consider adding the following for completeness, but it's not absolutely necessary: summary {
cursor: pointer;
} |
|
...also not really necessary but nice when adding some padding. input,
select,
textarea,
summary {
margin: 4px;
padding: 4px 8px
}But it all adds to the size, so I leave the decision to you. ;) |
|
Looks much better, and also more (mobile) touch-friendly, those margins/paddings. |
…e Details... label
…feature/Menu-interfaces-split-into-tabs
|
I'll do some more fine-tuning 👍 |
|
@chromoxdor I've restored the dark borders in dark mode, as by your adjustments, and slightly adjusted the height/top to achieve a more clean menu layout. |
|
Here the version that works perfectly on my side: |
|
I'm quite pleased with your corrections, so I'd say let's do this 😄 |
I'm not using a MacBook, so don't have a Retina display, just a mere Full-HD display, and aging eyes... Used Zoom-it magnifying tool, but it didn't reveal that misalignment. Guess we'll have to leave the high-res graphics stuff to you 🤣 |
Hey Ton, it's 2026! Retina displays are not exclusively an Apple thing anymore. Please go outside and treat yourself to a new computer...
...one with a big screen. |
Ehhmm... it is 2026... have you seen the prices of RAM and a videocard? |
I did not. It has been a while since I bought myself a dedicated video card or RAM. Probably it's bad, and it gets worse. Can you add the following (best after line 476) for compatibility (browser before 2024)? [class^="menubar"]::-webkit-scrollbar {
display: none;
} |
Most of the work I put into ESPEasy is done with a lap-top laptop 🤣, there's a set of 27" QHD screens in my home-office, but those aren't welcome in the living room, and working in the home-office during the evenings and weekends also isn't 'socially accepted'... 😨 |
So you are allowed to work in the living room.... that's something 😁
I totally understand. These Apple products are eyewatering expensive, and if I hadn't had help, I wouldn't have bought a new one in 2023. It’s a 16" M2 MacBook Pro. But I am so happy with it and see no urge to upgrade anytime soon. It's still more than fast enough and the battery lasts almost the whole day. Most importantly, compiling ESPEasy is incredibly fast and the fan is even not turning on while doing it... |
…feature/Menu-interfaces-split-into-tabs
…feature/Menu-interfaces-split-into-tabs










Features:
User-defined SPI3_HOSTi2cscannercommandFor each available Interfaces type a configuration page is available, currently I2C, SPI and Modbus (though the last one is still empty/TODO):


And in dark mode:
Additional features:
TODO:
Screenshots updated: 2026-03-10