Commit Graph

85 Commits

Author SHA1 Message Date
David Gauchard 62b4b56a4d Merge branch 'master' into lambda-with-examples 2023-09-22 22:18:34 +02:00
David Gauchard 0b22328bd8 introduce lambda 2023-09-15 00:59:10 +02:00
David Gauchard 93d0bf7d27 some more minor changes before #249 2023-09-11 13:29:32 +02:00
David Gauchard 03c30fa75c more minor changes for #249 2023-09-06 22:50:42 +02:00
David Gauchard 68c251226d minor fixes for restoring warning-less emulation on host for debugging (using emuAsync, see main readme) 2023-09-06 22:35:41 +02:00
David Gauchard b45f4f7356 update examples with esp8266 specifics 2023-07-19 12:07:25 +02:00
David Gauchard cc69f8a469 pointers can always be be casted to long 2023-01-17 14:53:02 +01:00
Nick Reynolds 004a374d79 Add a little more feedback to the user and make it list the files. 2022-10-13 19:52:50 +01:00
Nick Reynolds 79b9acf9f4 Changes per suggestions by maintainer (Lukas Bachschwell). 2022-09-21 08:58:05 +01:00
Nick Reynolds e81cd1f7f5 Add captive portal functionality, update examples and documentation. 2022-09-19 17:38:10 +01:00
Martin Mueller 511840fa97 Added an example for using the new extended parameter callback 2022-06-11 10:56:35 -04:00
Ian Gray a797ae1afa Update example with vertical controls and more documentation 2022-01-28 16:47:19 +00:00
Ian Gray ba048185db Add major new example 2022-01-25 21:35:33 +00:00
Lukas Bachschwell e3638beb14
Some example improvements by @thomastech
Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
2022-01-08 17:31:39 +01:00
Lukas Bachschwell 3cbae2ff1b
Reformat examples
Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
2022-01-04 11:20:04 +01:00
Lukas Bachschwell 8c0161b181
Fix prepare fs example
Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
2020-10-16 14:47:32 +02:00
Lukas Bachschwell 71576d7686
More ducumentation 2019-12-29 14:35:54 +01:00
Lukas Bachschwell c5dd493cb0
fixing compile issues 2019-12-28 22:28:55 +01:00
Lukas Bachschwell daede8799a
sync up examples 2019-12-28 21:30:57 +01:00
Lukas Bachschwell f00f7601f4
Some updates to gui example 2019-12-28 15:08:23 +01:00
Lukas Bachschwell 9764db9789
Increase timeout for connecting existing network and add continuous slider mode #60 2019-12-28 14:54:41 +01:00
Lukas Bachschwell 0323920a0d
Rename new api and some readme cleaning 2019-12-27 15:43:36 +01:00
Lukas Bachschwell fcc80b5843
Remove accel from example 2019-12-27 15:37:08 +01:00
Lukas Bachschwell 043ba99ea9 Adding basic structure for new widgets 2019-03-26 16:22:21 +01:00
Lukas Bachschwell 3c69f013fc Proper wrappers
- update order of params of create functions to be simillar
- changed all numbers to be numbers
- split pad creation function
- updated examples
2019-03-24 19:18:53 +01:00
Christian Riggenbach 7125374fa3 Color of elementes are now updateable, reformatted control.js 2019-03-08 22:24:20 +01:00
Christian Riggenbach 6178e4fc22 Added the dropdown-Control
* added the Control
* added the frontend-code
* added the control to the examples "gui-newAPI.ino" and "tabbedGui.ino"
2019-03-04 21:07:39 +01:00
Christian Riggenbach 3c42b43fe6 Changed signature of the callback
Call the callback with a pointer instead of a copy of the Control.
Changed all the examples
2019-03-04 21:05:13 +01:00
Christian Riggenbach 2b31e81f50 instantiate ESPUI in prepareFileSystem.ino too 2019-03-03 23:38:29 +01:00
Christian Riggenbach 4ea7928fd5 Added Tabbed View
* new member of Control: parentControl
* changed addControl() to add children of elements
* added some styles in the css
* two new divs in index.html
* added frontend code to controls.js
* added new demo to demonstrate the tabbed view
2019-03-03 23:33:15 +01:00
Christian Riggenbach 6c8f113861 Added a Demo with the new API 2019-03-03 23:27:04 +01:00
Christian Riggenbach 6810f7432f Moved examples/gui/data to data/ and adjusted tools/*.py 2019-03-03 21:23:39 +01:00
Christian Riggenbach e542ce0178 Updated Demo for changes in the API
updated the gui.ino to reflect the changes in the API:
* reformated/reindented, minor cleanups
* instantation of ESPUI in the users application
* automatic swichtover to station mode if given network is not found
2019-03-03 21:17:49 +01:00
Christian Riggenbach 8865416331 Updated API
* Sourcecode reindented/reformated, added scopes to all the ifs
* Linked list for holding all the controls
* IDs are autogenerated, Control is now a class
* generalised API for creating controls, removed a lot of redundant code
* a lot of glue for the old API
* check if callback exists before calling it
* Instantation moved out of ESPUI.cpp, must be in the users application
* verbose printing on the serial line dependent of instantation ESPUI(...)
* streamlined begin(...), make authentification optional
2019-03-03 21:13:45 +01:00
Lukas Bachschwell 2fae44f387 remove color dark, version bump 2019-02-26 16:04:41 +01:00
Lukas Bachschwell 4f421c84d5 #47 Adding Dark Color, correcting wrong numbering for colors 2019-02-26 12:08:37 +01:00
Lukas Bachschwell 7a10457f99 #44 Adding Basic Auth
- Also authing websockets
- Implemented on begin and beginSpiffs
- Added notes to Gui example
2018-12-26 13:38:38 +01:00
Lukas Bachschwell f31575b50c #43 Sending Initial GUI as one big array
- Added new  INITIAL_GUI Type
- spliting GUI Blob to events in controls js
- formating the json in jsonDom into one big array
2018-12-26 12:35:35 +01:00
Dave Kliczbor 1d7da26dcd Input style now similar to switches, fixed max-width 2018-11-27 22:01:59 +01:00
Lukas Bachschwell 7d46a4de96 #9 #21 Adds Text input / Number input Support
also loads of reformating
2018-11-26 18:25:10 +01:00
Lukas Bachschwell 870e8a06a2 Closes #25 Adding captive Portal to example 2018-11-26 17:02:08 +01:00
Lukas Bachschwell 8fa4456fa3
Merge pull request #37 from orithena/cleanup-git-and-minifier
Some cleanups and documentation updates
2018-11-26 09:09:57 +01:00
Dave Kliczbor 3aae5954f2 Cleaned up git status, cleaned prepare_static_ui_sources.py, mentioned the latter in README 2018-11-24 17:20:35 +01:00
Dave Kliczbor d38dac9c4d Bugfix: Inserting htmlentities via jquery requires .html(), not .text() 2018-11-20 20:00:39 +01:00
Dave Kliczbor 3a905e646a Feature: UI reinit on page visible 2018-11-19 22:23:10 +01:00
Lukas Bachschwell 11422a3b43 Changing text for no connection box 2018-10-28 22:19:14 +01:00
Lukas Bachschwell ec0b519fe3 Merge branch 'feature-restart-ui' of github.com:orithena/ESPUI 2018-10-28 21:47:51 +01:00
Lukas Bachschwell 74d984128b Merge branch 'feature-largetouch' of github.com:orithena/ESPUI 2018-10-28 21:47:06 +01:00
Dave Kliczbor 82adb0f1e1 Enlarge slider controls for touchscreen devices 2018-10-28 13:32:27 +01:00
Dave Kliczbor 6219d4302b 'No Connection' label is now clickable to reinitialize 2018-10-28 13:27:31 +01:00