Software Freedom Conservancy's Website
674261e0f0
Since the error messages have important information, and since the Javascript code is the only "enforcer" of the minimum donation, the errors really should be displayed by default if the browser is not Javascript-capable. This change does that, but also toggles the state back so that errors are not shown until needed in Javascript-capable browsers. I believe this still fits graceful degradation, since browsers without Javascript and CSS were already showing the errors anyway, so now the only real change is that everyone sees the errors by default. It *might* make sense to not show the errors in red in non-Javascript browsers (i.e., make the default CSS color black for the form-error-show class, and then change it to red in the Javascript). I didn't make that so, because it's not clear to me that's right, and we *do* want to draw attention to the errors lest people become a supporter below the minimum (which has happened once already -- that precipitated this change). I'm still annoyed that PayPal doesn't provide a "minimum but no maximum" variable donation box of its own, which would solve this problem outright. |
||
---|---|---|
apache2/sites-available | ||
cron/cron.monthly | ||
www | ||
.gitignore | ||
AGPLv3 | ||
CC-By-SA-3.0 | ||
compile-all.py | ||
ISC_LICENSE | ||
README |
SERVER CONFIGURATION ==================== conservancy's webserver runs on a machine called dogwood.sfconservancy.org, which is a standard Debian installation. The following packages are installed to make Django and Apache work on a squeeze install: $ aptitude install python-django apache2 sqlite3 python2.5-sqlite libapache2-mod-python DJANGO SETUP ============ 0. Make sure the Python module 'djangopw', with the global variable 'djangoadmin_password' is somewhere importable in the default PYTHON_PATH.