Peter Pfeufer
3f17da684e
[FIX] Don't use static for the custom-styles.css file
...
Since this CSS file is not part of the regular static collection, but gets created on demand, `ManifestStaticFilesStorage` will not work here. So we have to call the file directly, instead via `static` or we get:
ValueError: Missing staticfiles manifest entry for 'allianceauth/custom-styles.css'
2025-07-08 22:12:43 +02:00
Joel Falknau
f342ccbc6a
Revert "[REMOVE] Unused imports"
...
This reverts commit f497c18e5b .
2025-03-03 11:47:19 +10:00
Peter Pfeufer
f497c18e5b
[REMOVE] Unused imports
2025-02-16 23:20:36 +01:00
Peter Pfeufer
e0d76dc268
[CHANGE] Switch to Django Solo
2024-08-20 14:41:43 +02:00
Peter Pfeufer
ecc9e68330
[CHANGE] Consolidate migrations
2024-08-14 13:25:49 +02:00
Peter Pfeufer
710149ec21
[FIX] Check if the CustomCSS object exists
2024-08-14 13:22:23 +02:00
Peter Pfeufer
3c2c137dad
[CHANGE] improve try block in template tag
2024-08-14 13:05:32 +02:00
Peter Pfeufer
a8271c4189
[CHANGE] Remove custom CSS file when it will be empty
2024-08-14 12:58:01 +02:00
Peter Pfeufer
d2f048f8fe
[ADD Example template for admin overrides
...
For when we might want to add syntax highlight ti it, which is a completely different can of worms though.
2024-08-14 12:45:57 +02:00
Peter Pfeufer
0fe2855faa
[ADD] Custom CSS to base file
...
Check if the CSS file exists and add it to the HTML output
2024-08-14 12:44:51 +02:00
Peter Pfeufer
79a1fa3d7c
[ADD] CSS compression on save
2024-08-14 12:42:52 +02:00
Peter Pfeufer
96fe88d5c7
[REMOVE] highlight.js and leave it as an example in the widget code
2024-08-14 11:53:02 +02:00
Peter Pfeufer
59391ad3c5
[ADD] Custom CSS module (First steps)
2024-08-11 22:34:16 +02:00