Commit Graph

2 Commits

Author SHA1 Message Date
5c50f28f7e Add Modelli (templates) admin section
New /dashboard/templates page (MANAGER/ADMIN, matches backend access):
lists document templates, lets MANAGER/ADMIN download the current
file and ADMIN replace it. Nav link added to the header. Also renamed
"Genera Attestato" to "Genera Certificato di Adesione" and the
downloaded file's name prefix to match, for consistency with the
document's real name.

Verified live: nav link navigates to the page, download round-trips
the file, and uploading a new file updates the listed filename and
timestamp immediately.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017hQcuUQFue2bFvrYw2UQhK
2026-08-24 19:22:18 +03:00
cb0c8dc140 Add missing lib/ (API client, auth, models) and logo asset
lib/ was never committed despite every page importing from it - a
fresh clone couldn't build. public/logo-encap.jpg was likewise
missing even though app/login/page.tsx already references it.
Also gitignore .idea/, which shouldn't be tracked.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017hQcuUQFue2bFvrYw2UQhK
2026-08-24 17:20:22 +03:00