Commit Graph

58 Commits

Author SHA1 Message Date
Christian Riggenbach 6810f7432f Moved examples/gui/data to data/ and adjusted tools/*.py 2019-03-03 21:23:39 +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 98d1215d7a #44 Adding define to reenable WS BasicAuth 2018-12-27 11:34:28 +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
Felix Eckhardt e9aca78c9c
udpateSlider implementation with label was missing 2018-12-02 11:41:45 +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
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
Dave Kliczbor 3b3dee7e9a Fixed touchmove problem for at least some mobile browsers 2018-10-26 19:04:05 +02:00
wvdv2002 600e46c457 refactored debug define into DEBUG_ESPUI 2018-07-03 17:43:58 +02:00
Lukas Bachschwell 9093e8d01e fix typo 2018-05-27 11:48:51 +02:00
Lukas Bachschwell e771320e6a #9 adjusting labels for wraping
renaming datafiles
going on for numbers
2018-05-27 11:47:53 +02:00
Lukas Bachschwell cb5f00cbc0 Adding Backendcode for #10 graph and #9 number controls 2018-05-27 10:42:29 +02:00
Lukas Bachschwell 845ee0f2cd Adding Memory mode an Gzipdata as default 2018-05-27 10:35:37 +02:00
Lukas Bachschwell 35336208de Cleaning up prepareFileSystem, changing button style 2018-05-27 00:16:53 +02:00
Lukas Bachschwell f1012b2fe2 Closes #12 implementing all events for websockets 2018-05-13 19:44:56 +02:00
Lukas Bachschwell cc633a7c85 Closes #11 Bugfix for retrun values on error 2018-05-13 19:39:21 +02:00
Lukas Bachschwell 40b13430cb #9 adding control id as return value 2018-04-17 19:54:07 +02:00
Lukas Bachschwell 5f7f8dd4e5 ixing filelist functions for esp8266 2018-01-14 12:22:26 +01:00
Lukas Bachschwell 6dabc32905 #6 adding list() debug function for fs and commenting out deleteFile operations 2018-01-08 12:26:32 +01:00
Lukas Bachschwell c72bff5b2e #5 fixing textThem to function properly 2017-12-26 21:10:54 +01:00
Lukas Bachschwell 679bf1a5c1 fixed single quotes 2017-12-26 19:35:53 +01:00
Lukas Bachschwell 4af48ce87d fixing prepareFileSystem zepto name 2017-12-25 17:01:55 +01:00
Lukas Bachschwell bf8c19c3fc Fixing ESP8266 file format 2017-12-25 16:39:54 +01:00
Lukas Bachschwell 9ec0f20f2a Closes #4 all references to minimized zepto 2017-12-25 16:02:35 +01:00
Lukas Bachschwell f7be52d075
made sure filesystem is properly formated 2017-12-17 19:02:03 +01:00
Lukas Bachschwell 479792e335 ESP8266 Compatibility, finally 2017-12-01 17:11:16 +01:00
Lukas Bachschwell 489ba045fb File system upload highly simplified and documented 2017-11-29 14:36:19 +01:00
Lukas Bachschwell aedeb2b2d1 Adding constants for all dta files 2017-11-29 12:40:42 +01:00
Lukas Bachschwell 079ecf7c16 Minimized all files 2017-11-29 12:37:24 +01:00
Lukas Bachschwell 09e3a9c71b Adding all the rest for sliderfeature 2017-11-29 11:32:07 +01:00
Lukas Bachschwell ba06ff5fbf Adding Slider Related functions and cleaning up 2017-11-28 13:48:58 +01:00
Lukas Bachschwell fa4499c7ca Adding files for data upload feature 2017-11-27 16:03:19 +01:00
Lukas Bachschwell 7e948c34fc codeformating 2017-11-14 12:14:59 +01:00
Lukas Bachschwell 6da6c3841b Color none, update example 2017-11-14 12:12:12 +01:00
Lukas Bachschwell fa45d9033b Color feature, and API changes 2017-11-14 12:09:52 +01:00
Lukas Bachschwell 6d206d21f9 send button value for button text 2017-11-13 17:22:02 +01:00
Lukas Bachschwell 0dc231bc9c Added possibility to update without ID 2017-11-13 16:10:56 +01:00
Lukas Bachschwell 404bf89f60 removed src/HTML_PAGE.h 2017-11-13 15:06:48 +01:00
Lukas Bachschwell b895cc7fcc starting integrated data upload feature 2017-11-13 11:42:40 +01:00
Lukas Bachschwell a072a162c1 Refactoring to ESPUI 2017-10-19 17:43:39 +02:00