-
- Downloads
views/schild: Form design rework
Rather large refactoring: - A bunch of CSS so that it doesn’t look like ass; - Roll our own (WT)Forms, as wtforms-sqlalchemy is too limited. Drop that one completely; - Deduplicate code from /schild/<ident> and /create; - As SchildForm.{image, template} are now RadioFields, iterate directly via their .choices property instead of passing templates/images separately to the template; - … and some minor shenanigans as usual.
Showing
- frontend/src/main.less 66 additions, 1 deletionfrontend/src/main.less
- pdm.lock 1 addition, 16 deletionspdm.lock
- pyproject.toml 0 additions, 1 deletionpyproject.toml
- schilder2000/instance.py 12 additions, 2 deletionsschilder2000/instance.py
- schilder2000/models.py 26 additions, 0 deletionsschilder2000/models.py
- schilder2000/templates/schild.html.j2 54 additions, 11 deletionsschilder2000/templates/schild.html.j2
- schilder2000/views.py 25 additions, 25 deletionsschilder2000/views.py
Loading
Please register or sign in to comment