feat: renders drawpad, and saves files as epoch_uuid for better sorting on disk

This commit is contained in:
Lewis Wynne 2026-04-09 22:27:22 +01:00
parent 7663237f57
commit d34768b63d
3 changed files with 142 additions and 19 deletions

View file

@ -87,3 +87,15 @@
# Custom HTML template file with {{title}}, {{form}}, {{entries}}, and {{style}} placeholders.
# Uses built-in default if unset.
# BOOK_TEMPLATE=./templates/default.html
# Enable drawing canvas in submission form. Drawings are stored as PNG files in DATA_DIR/drawings/.
# BOOK_ENABLE_DRAWINGS=false
# Label for the drawing canvas.
# BOOK_LABEL_DRAWING=Draw (optional):
# Drawing canvas width in pixels.
# BOOK_CANVAS_WIDTH=400
# Drawing canvas height in pixels.
# BOOK_CANVAS_HEIGHT=200