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
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
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
Dave Kliczbor
1d7da26dcd
Input style now similar to switches, fixed max-width
2018-11-27 22:01:59 +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
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
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
Dave Kliczbor
3b3dee7e9a
Fixed touchmove problem for at least some mobile browsers
2018-10-26 19:04:05 +02:00
e771320e6a
#9 adjusting labels for wraping
...
renaming datafiles
going on for numbers
2018-05-27 11:47:53 +02:00
c901ff9408
Changing Example titel and reformat
2018-05-27 10:43:47 +02:00
35336208de
Cleaning up prepareFileSystem, changing button style
2018-05-27 00:16:53 +02:00
d9648152ef
Fixing Switch style in up to date firefox
2018-05-26 23:18:05 +02:00
feedd21413
changing order of functions because of beta compiler
2018-01-08 12:25:36 +01:00
9ec0f20f2a
Closes #4 all references to minimized zepto
2017-12-25 16:02:35 +01:00
479792e335
ESP8266 Compatibility, finally
2017-12-01 17:11:16 +01:00
489ba045fb
File system upload highly simplified and documented
2017-11-29 14:36:19 +01:00
079ecf7c16
Minimized all files
2017-11-29 12:37:24 +01:00
24dafcc8bb
update readme and example
2017-11-29 11:35:54 +01:00
09e3a9c71b
Adding all the rest for sliderfeature
2017-11-29 11:32:07 +01:00
ac3b8795d4
Adding js for slider
2017-11-29 11:31:30 +01:00
d8ae8a70cf
Moving scripts to header
2017-11-28 13:50:04 +01:00
2e05965d45
Slider generation in frontend
2017-11-28 13:49:37 +01:00
7acb9c367d
cleanup of styles
2017-11-28 13:49:14 +01:00
7e948c34fc
codeformating
2017-11-14 12:14:59 +01:00
86132fe38d
update example
2017-11-14 12:13:05 +01:00
6da6c3841b
Color none, update example
2017-11-14 12:12:12 +01:00
fa45d9033b
Color feature, and API changes
2017-11-14 12:09:52 +01:00
cca76c1389
Button text in example
2017-11-13 17:23:28 +01:00
b65b974ad0
Adding funny colors
2017-11-13 17:22:56 +01:00
3c26def22a
Updating example
2017-11-13 16:11:42 +01:00
ff11534b9d
Merge branch 'master' of https://github.com/s00500/ESPUI
2017-10-23 12:21:03 +02:00