Bootstrap Theme 'Slate' for Alliance Auth
Project description
Alliance Auth Theme: Slate
This is the Bootstrap theme Slate converted into a theme for Alliance auth.
Installation
pip install aa-theme-slate
Now open your local.py
and add the following right below your INSTALLED_APPS
:
# Slate Theme - https://github.com/ppfeufer/aa-theme-slate
INSTALLED_APPS.insert(0, "aa_theme_slate")
if "aa_theme_slate" in INSTALLED_APPS:
# Remove all other themes
# If you want to use Slate as the only theme, you need to remove all other themes.
# INSTALLED_APPS.remove("allianceauth.theme.darkly")
# INSTALLED_APPS.remove("allianceauth.theme.flatly")
# INSTALLED_APPS.remove("allianceauth.theme.materia")
# If you are using AA-GDPR, you need to remove the Darkly, Flatly and Materia themes
# added by AA-GDPR as well.
# if "aagdpr" in INSTALLED_APPS:
# INSTALLED_APPS.remove("aagdpr.theme.darkly")
# INSTALLED_APPS.remove("aagdpr.theme.flatly")
# INSTALLED_APPS.remove("aagdpr.theme.materia")
INSTALLED_APPS += [
"aa_theme_slate.theme.slate",
]
# Load Slate Bootstrap Theme for Alliance Auth
DEFAULT_THEME = "aa_theme_slate.theme.slate.auth_hooks.AaSlateThemeHook"
DEFAULT_THEME_DARK = "aa_theme_slate.theme.slate.auth_hooks.AaSlateThemeHook" # Legacy AAv3 user.profile.night_mode=1
Important
If you are using AA-GDPR
, the template stuff needs to be after the AA_GDPR
entry, like this:
# GDPR Compliance
INSTALLED_APPS.insert(0, "aagdpr")
AVOID_CDN = True
# Slate Thame - https://github.com/ppfeufer/aa-theme-slate
INSTALLED_APPS.insert(0, "aa_theme_slate")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aa_theme_slate-2.0.0b1.tar.gz
(2.0 MB
view hashes)
Built Distribution
Close
Hashes for aa_theme_slate-2.0.0b1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3dff9e03e5cd84ff93467e5005c48b3c095f15cba5193e57d65d1d5ae4d8565 |
|
MD5 | f032b351cbb5373aabb9f620c2c46ad8 |
|
BLAKE2b-256 | b70f04680f93a3f5ffe122632f332ed22eed7271aa18b02e43646dff3bd31ca4 |