Try: bench --site all clear-cache. We moved jquery and other js files to body section. If you have used $.ready in the content section of the web page, you need to change it to frappe.ready.
I can’t believe I didn’t think to check that beforehand. Here’s the error:
“The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol.”
It seems to be because of the fact that it’s missing the html, head, style and body tags necessary to make the whole thing work. The file literally starts like this:
Finally figured it out. We use an app for LDAP logins, which overwrites the login pages. A recent update broke it, so I hand-edited these 2 files to include the CSS files, doctype, head and body tags:
@JamesE I found the root cause. The login.html extends the web.html which contains all the tags needed. We shoujldnt be adding the tags manually. Adding the line " {% extends “templates/web.html” %} " at the top of the file is all that is needed.