diff options
author | Magnus Hagander | 2024-02-07 14:43:47 +0000 |
---|---|---|
committer | Magnus Hagander | 2024-02-07 14:43:47 +0000 |
commit | 8d0445c36bbde68d9951b864e82f1948ed3b836f (patch) | |
tree | b732fc53e1eb47344dfc21234e8e479a922002ed /postgresqleu/confwiki | |
parent | cefb897ec52efeff546a7d80f625986ea9e2a177 (diff) |
Replace inline CSS with a new pgeuconf.css for conf frontend
Conference frontend pages (reg pages, call for papers, etc) did not have
a shared CSS anywhere, instead they used a bunch of inline CSS that was
copy/pasted between pages.
Create a new /media/css/pgeuconf.css that contains all these rule and
replace the inline ones with a reference to this one. Things can still
be overridden downstream in skins so nothing *should* break there.
Only jinja based conference templates are affected by this, no changes
to the rest of the site. Also not removing them from the schedule page
(which has much dynamic content) and the session feedback one (which
also has dynamic content, and will be replaced separately soon). For all
other pages, inline CSS is now completely gone.
Diffstat (limited to 'postgresqleu/confwiki')
-rw-r--r-- | postgresqleu/confwiki/views.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/postgresqleu/confwiki/views.py b/postgresqleu/confwiki/views.py index 1b619d2e..781ee3a2 100644 --- a/postgresqleu/confwiki/views.py +++ b/postgresqleu/confwiki/views.py @@ -207,6 +207,7 @@ def wikipage_edit(request, confurl, wikiurl): # Else we clicked save baseform = False preview = form.cleaned_data['contents'] + form.fields['contents'].widget.attrs['class'] = 'hiddenfield' else: form = WikipageEditForm(instance=page) |