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
[!NOTE]
Alliance Auth Theme Slate >= 2.0.0 needs at least Alliance Auth v4.0.0!
Please make sure to update your Alliance Auth instance before you install this module or update to the latest version, otherwise an update to Alliance Auth will be pulled in unsupervised.
The last version of Alliance Auth Theme Slate that supports Alliance Auth v3 is
1.7.1
.
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",
]
# Set Slate Bootstrap Theme for Alliance Auth as the default theme (optional)
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
Built Distribution
File details
Details for the file aa_theme_slate-2.1.0.tar.gz
.
File metadata
- Download URL: aa_theme_slate-2.1.0.tar.gz
- Upload date:
- Size: 2.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 228fb7dc12f36908d123d8cc611f58f16b14e90472e8353ee1676baab4d210a8 |
|
MD5 | dbb51a3a1938413edcf9cfb4f0dd8a81 |
|
BLAKE2b-256 | 2e3a8b56bbca754b20a7656211cfa1c0479c508868d562f7faaac264914f13c4 |
File details
Details for the file aa_theme_slate-2.1.0-py3-none-any.whl
.
File metadata
- Download URL: aa_theme_slate-2.1.0-py3-none-any.whl
- Upload date:
- Size: 2.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 978f01ebf5524343087547cd03dcb063b6471ee2efa5bae36ef9a4ef4fac9af5 |
|
MD5 | edcd5ad5325b1e66cdebca424c2a0a9d |
|
BLAKE2b-256 | 9c09e4888d779133d59be9a66477341170bbe0d9f9cde74529f8e6bdb8aa14ef |