1
0
mirror of https://github.com/s00500/ESPUI.git synced 2026-01-16 13:36:20 +00:00
Commit Graph

518 Commits

Author SHA1 Message Date
Mike Burton
f922db3502 update generated files 2025-11-29 17:33:52 -08:00
Mike Burton
c8c41aa077 add example of using setCustomCSS + setPanelClass 2025-11-29 09:53:38 -08:00
Mike Burton
f990016623 update for clarity 2025-11-29 09:24:50 -08:00
Mike Burton
cea38b4b50 fix duplicate declaration 2025-11-29 09:04:08 -08:00
Mike Burton
8a7195827b more whitespace 2025-11-29 08:53:38 -08:00
Mike Burton
b68b7ce390 undo more whitespace 2025-11-29 08:53:10 -08:00
Mike Burton
9a589296ad update for clarity 2025-11-29 08:50:45 -08:00
Mike Burton
a05bbb6d9f undo whitespace changes 2025-11-29 08:49:45 -08:00
Mike Burton
dbb8774e93 Update README 2025-11-29 08:22:44 -08:00
Mike Burton
289fdb2ad7 feat: Add support for user-defined panel CSS classes. 2025-11-29 08:10:17 -08:00
Mike Burton
d9412d9d3c generate minified files 2025-11-27 02:15:07 +00:00
Mike Burton
9a088c090f Merge remote-tracking branch 'origin/master' into feature-setCustomCSS 2025-11-27 02:05:49 +00:00
ed9d7d58a4 Closes #300 remove unused function
Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
2025-11-26 21:29:52 +01:00
bdfd7cd794 #320 Fix disabled buttons not being disabled
Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
2025-11-26 21:25:34 +01:00
c5e5c8323e #329 Add clientCount getter
Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
2025-11-26 21:23:15 +01:00
4971f1c7f9 regenerate all assets
Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
2025-11-26 21:17:04 +01:00
415bc52416 Merge pull request #333 from emmby/master
User-defined JavaScript
2025-11-26 21:15:57 +01:00
4effb15b49 Merge branch 'master' into master 2025-11-26 21:15:47 +01:00
2a6fa24892 Fix classes for mobile
Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
2025-11-24 12:21:31 +01:00
google-labs-jules[bot]
368eeff3f8 Implement setCustomCSS for custom CSS injection
This commit introduces `setCustomCSS` to the ESPUI class, allowing users to inject custom CSS into the web interface, analogous to `setCustomJS`.

Changes include:
- Added `setCustomCSS` method to `ESPUI.h` and `ESPUI.cpp`.
- Added `/css/custom.css` route handler in `ESPUI.begin`.
- Updated `data/index.htm` to include the link to `/css/custom.css`.
- Regenerated static UI sources (minified files and C headers) using `tools/prepare_static_ui_sources.py` for index.htm.
- Updated README.md with usage instructions.
2025-11-22 22:33:41 +00:00
google-labs-jules[bot]
6b28240d24 Implement setCustomCSS for custom CSS injection
This commit introduces `setCustomCSS` to the ESPUI class, allowing users to inject custom CSS into the web interface, analogous to `setCustomJS`.

Changes include:
- Added `setCustomCSS` method to `ESPUI.h` and `ESPUI.cpp`.
- Added `/css/custom.css` route handler in `ESPUI.begin`.
- Updated `data/index.htm` to include the link to `/css/custom.css`.
- Updated `src/dataIndexHTML.h` and `data/index.min.htm` with the regenerated content including the new link.
- Reverted unintended changes to other generated files.
2025-11-22 22:29:58 +00:00
google-labs-jules[bot]
f6da0ed7e8 Implement setCustomCSS for custom CSS injection
This commit introduces `setCustomCSS` to the ESPUI class, allowing users to inject custom CSS into the web interface, analogous to `setCustomJS`.

Changes include:
- Added `setCustomCSS` method to `ESPUI.h` and `ESPUI.cpp`.
- Added `/css/custom.css` route handler in `ESPUI.begin`.
- Updated `data/index.htm` to include the link to `/css/custom.css`.
- Regenerated static UI sources (minified files and C headers) using `tools/prepare_static_ui_sources.py`.
2025-11-22 22:22:28 +00:00
google-labs-jules[bot]
41c75cc41e Implement setCustomCSS for custom CSS injection
This commit introduces `setCustomCSS` to the ESPUI class, allowing users to inject custom CSS into the web interface, analogous to `setCustomJS`.

Changes include:
- Added `setCustomCSS` method to `ESPUI.h` and `ESPUI.cpp`.
- Added `/css/custom.css` route handler in `ESPUI.begin`.
- Updated `src/dataIndexHTML.h` to include the link to `/css/custom.css` in both `HTML_INDEX` and `HTML_INDEX_GZIP`.
2025-11-22 22:08:37 +00:00
Mike Burton
a20fe6a4d6 remove unnecessary example 2025-11-20 08:11:02 -08:00
Mike Burton
0b16da9856 Add instructions to README 2025-11-20 08:07:46 -08:00
Mike Burton
ebe72e769e comments 2025-11-20 07:23:19 -08:00
Mike Burton
73c3a97cf8 comments 2025-11-20 07:21:44 -08:00
Mike Burton
af53137b55 comments 2025-11-20 07:19:32 -08:00
Mike Burton
e54a2ff8e6 Add /js/custom.js to index.htm 2025-11-20 07:16:53 -08:00
Mike Burton
47c4430a86 Add ability to set custom js at /js/custom.js 2025-11-18 08:01:10 -08:00
4e32746159 Merge pull request #324 from nanostra/master
ESPAsyncWebserver dependencies update
2025-04-12 12:39:08 +02:00
Frederic.D
027bc9c74a ESPAsyncWebserver dependencies update
Change from authors "Hristo Gochkov" to "ESP32Async"

Project moved to ESP32Async organization at https://github.com/ESP32Async/AsyncTCP
2025-01-25 22:13:49 +01:00
ceffe2b7b3 Merge pull request #316 from joyfullservice/master
Update key verification syntax
2024-11-06 09:32:25 +01:00
joyfullservice
c42c40d881 Update key verification syntax
Resolve deprecation warnings for changes in ArduinoJson. See: https://arduinojson.org/v7/api/jsondocument/containskey/
2024-10-04 16:14:41 -05:00
0ceb052a2e Merge pull request #315 from joyfullservice/master
Resolve null pointer exception
2024-09-28 16:45:28 +02:00
joyfullservice
8c729ee0da Remove unneeded arguments from separator function
Implement an alternate strategy for avoiding the null pointer exception. This takes the same approach as the function to add a label.
2024-09-27 09:29:03 -05:00
joyfullservice
8ca8241547 Resolve null pointer exception
Adding a separator using `ESPUI.separator("Separator name");` triggers an exception when the code tries to access the property of an invalid object.
2024-09-25 15:07:13 -05:00
66340823db Merge pull request #314 from telesyst/Original
Update ESPUI.cpp
2024-09-02 21:13:09 +02:00
Nikola Kirov
25250dd026 Update ESPUI.cpp
Captive Portal memory leak (~2KB) fix
2024-08-31 20:05:40 +03:00
356d5b1ffe v2.2.4
Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
2.2.4
2024-07-16 14:29:57 +02:00
2d023cce6d Merge pull request #307 from MartinMueller2003/master 2024-07-14 19:11:30 +02:00
Martin
47db2ad6d8 Removed conditional flags for the large tests. 2024-07-14 13:08:15 -04:00
Martin Mueller
8bca2e503b Merge branch 's00500:master' into master 2024-06-28 23:09:34 -04:00
731e6c68d3 Merge pull request #301 from ChrSchu90/master
Cleanup of disconnected clients
2024-06-03 21:23:12 +02:00
ChrSchu
82460d4aed Trigger a websocket client cleanup on new connection to disconnect old clients and releasing the memory 2024-06-02 23:21:38 +02:00
Martin
7e6390ba0a Moved FILE_WRITTING into the common code section. 2024-04-07 16:27:04 -04:00
Martin Mueller
164be971e3 Merge branch 's00500:master' into master 2024-04-06 10:35:52 -04:00
75bbece7b5 Merge pull request #299 from sunlord2k/sunlord2k-patch-2
Update ESPUI.cpp
2024-04-06 11:16:35 +02:00
efda9b7140 Merge pull request #298 from sunlord2k/sunlord2k-patch-1
Update ESPUI.h
2024-04-06 11:16:15 +02:00
sunlord2k
9ba3f5a940 Update ESPUI.cpp
Changed FILE_WRITE to FILE_WRITING for compatibility with SD.h for usage with SD cards
2024-04-05 12:10:10 +02:00