Hi!
Is it possible to add buttons to the settings of a task plugin screen?
I'm doing a new plugin whereby it would be great to have some plus minus buttons on the plugin settings web screen to set plugin values...
Buttons in task settings
Moderators: grovkillen, Stuntteam, TD-er
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Buttons in task settings
Yes but you might need to add some HTML functions to make it work the way you want.
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: Buttons in task settings
Can this be done in the plugin without modifying the web server or other standard code?
My current plugin relied on my changes to the webserver.ino to add a few new webserver.on events you see and I want to rewrite for mega version and make it a standard plugin at the same time...
My current plugin relied on my changes to the webserver.ino to add a few new webserver.on events you see and I want to rewrite for mega version and make it a standard plugin at the same time...
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Buttons in task settings
So you should study current form implementation of plugins. Many examples are already present.
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: Buttons in task settings
Ah right, sorry vould you point me to a plugin which has plus minus buttons in the web page? Can't see one for looking lol!
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Buttons in task settings
Plus/minus no but it's plain HTML so feel free to be inspired by it. Simple numerical input got plus/minus out of the box.
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: Buttons in task settings
Cool, used the html like you suggested as I wanted the clicking of +- to have immediate effect, cheers
Who is online
Users browsing this forum: Google [Bot] and 73 guests