Web2py default layouts certainly have come a long way since the (IMHO,
quite awful :p )  fluorescent orange and black-green looks.

I do seem to miss some "best-practices" documentation about how to
effectively apply themes to a web2py application. The downloadable
themes do not always properly display the newer widgets (like
sqlform.grid), leaving me (as a css nitwit) not much option but to use
the default layout. Unlike web2py functionality, the css classes do
not seem to be kept backward compatible (your layout won't be
overwritten if you upgrade to a newer web2py, but if you want the
newer features to render properly you may have to manually merge old
layouts with newer layouts)

<handwaving>
I'm wondering if there aren't any WYSIWYM web layout solutions (what-
you-see-is-what-you-mean, a web equivalent to LaTeX macros for
printable documents), e.g. providing standardized css classes that all
scaffolding applications/widgets/user views ought to restrict
themselves to. Themes would also have to be implemented in terms of
those standardized css classes, hopefully leading to a smoother
theming experience. Approaches like the "ui" argument in sqlform.grid
do not seem ideal to me.
</handwaving>

Reply via email to