vienalatina/apps/board
Claude 8608e71c7e
The password box was a browser default under a styled username box
board.css styled form controls from a list — text, email, date, and inputs with
no type attribute at all. The username field on the sign-in page has no type, so
it got the full-width box; the password field has one, and `password` was never
in the list, so it kept the browser's own narrow grey rectangle directly beneath
it. The number box for a page's order, added two days ago, was unstyled for the
same reason and nobody had looked at it yet.

An allowlist of accepted types is wrong the moment somebody adds a field, and
wrong silently: nothing errors, the form just looks unfinished. So the rule is
written the other way round — it excludes the controls that are not text boxes
(checkbox, radio, file, and the button-like types) and styles everything else,
so password, number, url, search and whatever arrives next are covered without
anybody remembering to edit it.

The guard in test_templates.py is on the shape of the rule rather than on any
one type: a revert to listing accepted types fails it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NizVpJ2dwzCbjCrTLCjeHn
2026-10-03 09:12:07 +00:00
..
static The password box was a browser default under a styled username box 2026-10-03 09:12:07 +00:00
templates The bar, the share card, the writing box and subpages 2026-10-02 15:21:35 +00:00
tests The password box was a browser default under a styled username box 2026-10-03 09:12:07 +00:00
__init__.py Add a members area: roles and an internal board 2026-09-22 10:57:18 +00:00
app.py The bar, the share card, the writing box and subpages 2026-10-02 15:21:35 +00:00
auth.py The bar, the share card, the writing box and subpages 2026-10-02 15:21:35 +00:00
board.py Publishing has never worked: one line, two wrong answers 2026-09-30 14:39:14 +00:00
content.py The bar, the share card, the writing box and subpages 2026-10-02 15:21:35 +00:00
db.py Phase C: private messages, with blocking and photos 2026-09-28 16:10:52 +00:00
gitea.py Publishing has never worked: one line, two wrong answers 2026-09-30 14:39:14 +00:00
home.py The bar, the share card, the writing box and subpages 2026-10-02 15:21:35 +00:00
invites.py Let members get a password of their own 2026-09-25 17:49:39 +00:00
mail.py Let members get a password of their own 2026-09-25 17:49:39 +00:00
members.py Publishing has never worked: one line, two wrong answers 2026-09-30 14:39:14 +00:00
messages.py Publishing has never worked: one line, two wrong answers 2026-09-30 14:39:14 +00:00
migrations.py One dashboard, five sections, and a moderation queue 2026-09-30 11:09:55 +00:00
passwords.py One front door: the members area owns its own logins 2026-09-29 08:25:25 +00:00
profiles.py Publishing has never worked: one line, two wrong answers 2026-09-30 14:39:14 +00:00
render.py Add a members area: roles and an internal board 2026-09-22 10:57:18 +00:00
requirements.txt Write the site from the members area instead of Decap 2026-09-25 15:07:31 +00:00
schema.sql Publishing has never worked: one line, two wrong answers 2026-09-30 14:39:14 +00:00
security.py One dashboard, five sections, and a moderation queue 2026-09-30 11:09:55 +00:00
submissions.py A byline, a way in, and the cell that was not a cell 2026-10-02 12:19:08 +00:00
uploads.py Phase C: private messages, with blocking and photos 2026-09-28 16:10:52 +00:00
wsgi.py Add a members area: roles and an internal board 2026-09-22 10:57:18 +00:00