Commit Graph
2 Commits
Author SHA1 Message Date
retoor 2f1be0eb11 feat: preload form structure JSON into login and register templates and autofocus first input
Add `preloaded-structure` attribute to `<generic-form>` elements in both `login.html` and `register.html`, passing the serialized form JSON from the view. In `generic-form.js`, normalize CSS indentation from 10-space to 2-space tabs. This enables server-side form definition to be rendered immediately on page load without an initial JSON fetch, and the autofocus behavior targets the first input element in the preloaded structure.
2025-03-09 18:37:34 +00:00
retoor c7a062185c feat: add back-form layout and roundness to images, improve login/register templates
- Create back-form.css with grid layout for back button and form overlay
- Add border-radius: 20px to images, videos, iframes, and divs in message-content
- Add focus outline and placeholder transition to GenericField inputs
- Dispatch change event on Enter key in GenericField
- Add meta tags, title blocks, and head blocks to base.html, login.html, and register.html
- Wrap login/register forms in back-form div for consistent layout
2025-03-08 18:53:02 +00:00