edbennett / cogs3

Project Management System
MIT License
0 stars 2 forks source link

Do we support no javascript? #65

Open markgdawson opened 5 years ago

markgdawson commented 5 years ago

If javascript is disabled then the site doesn't complain and (partially) functions normally, but with some exceptions introduced by phase-2 changes.

Add publication and funding on project creation page don't work.

If date selection popups are not presented, the date formats are not specified.

Potentially broken in other places also.

edbennett commented 5 years ago

In principle JavaScript could also then hide the date format, although that would require some custom coding rather than just using Django's text fields for description.

markgdawson commented 5 years ago

@edbennett - note I've reworded the issue.

But yes. Javascript can do that. :+1:

markgdawson commented 5 years ago

You could probably use < span class='no-javascript' > inside the description and have an on-load javascript function in the page that hides it.

That's what I'd have tried first.