1
0
mirror of https://github.com/s00500/ESPUI.git synced 2024-11-04 18:50:54 +00:00
Commit Graph

175 Commits

Author SHA1 Message Date
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
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
1529874094 Note on Arduino JSON 2019-02-26 16:15:37 +01:00
2fae44f387 remove color dark, version bump 2019-02-26 16:04:41 +01:00
4f421c84d5 #47 Adding Dark Color, correcting wrong numbering for colors 2019-02-26 12:08:37 +01:00
b21c5d3b2c 1.6.1 2018-12-27 11:37:50 +01:00
98d1215d7a #44 Adding define to reenable WS BasicAuth 2018-12-27 11:34:28 +01:00
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
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
980e20818f
Merge pull request #42 from don41382/patch-2
udpateSlider implementation with label was missing
2018-12-02 14:22:43 +01:00
Felix Eckhardt
e9aca78c9c
udpateSlider implementation with label was missing 2018-12-02 11:41:45 +01:00
a56f5decc7 Update issue templates 2018-11-29 11:49:18 +01:00
02a21ec747
Update README.md 2018-11-27 22:21:39 +01:00
24258da42d
Update README.md 2018-11-27 22:20:51 +01:00
37bb44066b
Merge pull request #38 from orithena/feature-style-input
Input style now similar to switches, fixed max-width
2018-11-27 22:18:51 +01:00
Dave Kliczbor
1d7da26dcd Input style now similar to switches, fixed max-width 2018-11-27 22:01:59 +01:00
999da37e11 1.6.0 2018-11-26 18:32:09 +01:00
7d46a4de96 #9 #21 Adds Text input / Number input Support
also loads of reformating
2018-11-26 18:25:10 +01:00
870e8a06a2 Closes #25 Adding captive Portal to example 2018-11-26 17:02:08 +01:00
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
9b41a0f8b8 Clarified help strings and README 2018-11-25 00:32:23 +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
b3ab9cfb1a
Merge pull request #36 from orithena/bugfix-htmlentity
Bugfix: Inserting htmlentities via jquery requires .html(), not .text()
2018-11-21 08:50:06 +01:00
Dave Kliczbor
d38dac9c4d Bugfix: Inserting htmlentities via jquery requires .html(), not .text() 2018-11-20 20:00:39 +01:00
1c17252b93
Merge pull request #32 from gschintgen/missing-json-dep
add missing ArduinoJson dependency in library.json
2018-11-20 12:37:45 +01:00
22f1806692
Merge pull request #35 from orithena/feature-reinit-on-page-visible
Feature: UI reinit on page visible
2018-11-19 23:18:43 +01:00
Dave Kliczbor
3a905e646a Feature: UI reinit on page visible 2018-11-19 22:23:10 +01:00
Gilles Schintgen
36a94bebe9 add missing ArduinoJson dependency in library.json 2018-11-16 20:50:01 +01:00
5ba42e3361 Versionbump 2018-10-28 22:27:32 +01:00
11422a3b43 Changing text for no connection box 2018-10-28 22:19:14 +01:00
ec0b519fe3 Merge branch 'feature-restart-ui' of github.com:orithena/ESPUI 2018-10-28 21:47:51 +01:00
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
5b2cec59db
Merge pull request #28 from orithena/bugfix-touchmove
Fixed touchmove problem for at least some mobile browsers
2018-10-27 11:32:34 +02:00
c437b11409
Merge pull request #29 from orithena/feature-headerscript
Script to regenerate client minified/header files from sources
2018-10-27 11:30:33 +02:00