-
Notifications
You must be signed in to change notification settings - Fork 31
Addition of usage with adafruit_templateengine
and other minor changes
#72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
examples/directory_listing.tpl.html
Outdated
@@ -0,0 +1,54 @@ | |||
# SPDX-FileCopyrightText: 2023 Michal Pokusa | |||
# | |||
# SPDX-License-Identifier: Unlicense |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can use html comments to match it's filetype
<!--
SPDX-FileCopyrightText: 2023 Michal Pokusa
SPDX-License-Identifier: Unlicense
-->
Beyond that, this looks good to me. I tested successfully on a feather esp32-s2 TFT.
Thank you @michalpokusa
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed in latest version, I didn't know HTML comments are allowed there, thanks.
Your suggestion from live to add trailing slash for directories was very interesting, so I decided to add that. Items in the directory listing are now also sorted, so first is "..", then folders and then files. Thanks for review. |
adafruit_templateengine
adafruit_templateengine
and other minor changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Tested successfully on Feather ESP32-S2 TFT.
Thanks for the new example and improvements @michalpokusa
Updating https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_SSD1305 to 1.4.0 from 1.3.12: > Merge pull request adafruit/Adafruit_CircuitPython_DisplayIO_SSD1305#18 from RetiredWizard/main Updating https://github.com/adafruit/Adafruit_CircuitPython_FocalTouch to 1.5.0 from 1.4.11: > Merge pull request adafruit/Adafruit_CircuitPython_FocalTouch#31 from Fexiven/main Updating https://github.com/adafruit/Adafruit_CircuitPython_SSD1675 to 1.3.0 from 1.2.3: > Merge pull request adafruit/Adafruit_CircuitPython_SSD1675#18 from RetiredWizard/main Updating https://github.com/adafruit/Adafruit_CircuitPython_ST7789 to 1.6.0 from 1.5.18: > Merge pull request adafruit/Adafruit_CircuitPython_ST7789#37 from RetiredWizard/main Updating https://github.com/adafruit/Adafruit_CircuitPython_HTTPServer to 4.4.4 from 4.4.3: > Merge pull request adafruit/Adafruit_CircuitPython_HTTPServer#72 from michalpokusa/template-example Updating https://github.com/adafruit/Adafruit_CircuitPython_Qualia to 1.0.1 from 1.0.0: > Fix Display ID in paint example Updating https://github.com/adafruit/Adafruit_CircuitPython_Bundle/circuitpython_library_list.md to NA from NA: > Added the following libraries: Adafruit_CircuitPython_Qualia Updating https://github.com/adafruit/Adafruit_CircuitPython_Bundle/circuitpython_library_list.md to NA from NA: > Updated download stats for the libraries
⭐ Added:
adafruit_httpserver
withadafruit_templateengine
🛠️ Updated/Changed:
🏗️ Refactor: