Commit Graph

212 Commits

Author SHA1 Message Date
Lukas Bachschwell 36fce6bf25
Final Updates for 2.0 Readme 2019-12-29 15:03:52 +01:00
Lukas Bachschwell e0ee932fff
new tab image 2019-12-29 14:50:09 +01:00
Lukas Bachschwell 71576d7686
More ducumentation 2019-12-29 14:35:54 +01:00
Lukas Bachschwell 2b4141fed3
Readme getting ready for 2.0 2019-12-28 23:32:45 +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 bd7e324a31
fix sliderupdate 2019-12-28 15:05:27 +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 681a00b3ed
reformate slider 2019-12-28 14:17:29 +01:00
Lukas Bachschwell 79046d7bd0
remove graph logging 2019-12-27 20:27:10 +01:00
Lukas Bachschwell 4b0f8e86b4
#10 Enable storing to localstorage 2019-12-27 16:57:11 +01:00
Lukas Bachschwell bcddcfc311
#63 add variabbles to public scope of espui 2019-12-27 16:30:15 +01:00
Lukas Bachschwell fe45ed8010
#63 Add variables for jsonDynamicDocument Sizes 2019-12-27 16:27:42 +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 9e5756ceef
Update Roadmap 2019-12-27 15:36:54 +01:00
Lukas Bachschwell e317d25977
Make AsyncServer instance Pubblic 2019-12-27 15:36:24 +01:00
Lukas Bachschwell 75ec2590f6
Update js stuff 2019-12-27 15:36:12 +01:00
Lukas Bachschwell 80621bda22
update version in properties file 2019-12-27 15:33:55 +01:00
Lukas Bachschwell 79f509da74 #10 Graph points working
- timestap still not great
2019-04-15 15:32:14 +02:00
Lukas Bachschwell bff259008f Graph Frontend work
- Adds graph js file
- Adds graph styles
2019-04-15 13:49:15 +02:00
Lukas Bachschwell 36cfe78205 Knowing websocket msg string length 2019-04-15 12:41:22 +02:00
Lukas Bachschwell 2c6aaf82f4 two strings less 2019-04-15 12:38:09 +02: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
Lukas Bachschwell 650411bac4 Consistent use of updateControl on websocket event
- rename updateControl to updateControlValue
- some earlie returns
2019-03-24 18:46:34 +01:00
Lukas Bachschwell b66d41a98b more reformating 2019-03-24 18:18:08 +01:00
Lukas Bachschwell 218ebc67d9 Style change again 2019-03-24 18:10:21 +01:00
Lukas Bachschwell 70288fc69f Hide tabsnav on :empty 2019-03-24 16:15:30 +01:00
Lukas Bachschwell 1bb5d16082 Update name 2019-03-24 16:08:05 +01:00
Lukas Bachschwell a37ae5eb70 readme update 2019-03-24 16:06:42 +01:00
Lukas Bachschwell 63b6761044 Cleanup and reformat header
- Construct inside library
- Adds setVerbosity
2019-03-24 16:06:35 +01:00
Lukas Bachschwell b9a087c169 Use ArduinoJson 6.10.0 2019-03-24 15:44:27 +01:00
Lukas Bachschwell fd12f7ad2a Version Bump 2019-03-24 15:37:47 +01:00
Lukas Bachschwell 41563454af Update readme with roadmap for 2.0.0 2019-03-24 15:37:37 +01:00
Christian Riggenbach 6873052b6e Added new features, removed dependency on unique labels
- added Min/Max/Step for numbers and sliders
- labels don't have to be unique anymore; controls can't be updated by labels
- new Slider: JS + CSS
2019-03-19 09:34:16 +01:00
Christian Riggenbach 7125374fa3 Color of elementes are now updateable, reformatted control.js 2019-03-08 22:24:20 +01:00
Christian Riggenbach 00d996d8dd The Pad works again
Don't set the style of all the <ul> and <li> in the css, use the class
2019-03-08 21:17:28 +01:00
Christian Riggenbach b987828a25 Preselect the right option in the select-input 2019-03-06 00:18:19 +01:00
Christian Riggenbach d0c59ac659 Small bug: don't set the type to Button in ESPUIClass::slider() 2019-03-04 21:08:52 +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 50de3dad87 Added tabbedcontent.js (from https://github.com/elboletaire/tabbedcontent) 2019-03-03 23:27:11 +01:00
Christian Riggenbach acce17b82c IDs are uint16_t, removed not used member ESPUIClass::cIndex 2019-03-03 23:27:11 +01:00
Christian Riggenbach 6c8f113861 Added a Demo with the new API 2019-03-03 23:27:04 +01:00
Christian Riggenbach a4989b4eb0 Reordered arguments of ESPUIClass::addControl
The arguments value, color and callback have defaults
2019-03-03 21:50:06 +01:00
Christian Riggenbach 37ce571b9c added ESPUI::updateLabel (works like ESPUI::print) 2019-03-03 21:46:38 +01:00