Skip to main content

Bootstrap Theme 'Slate' for Alliance Auth

Project description

Alliance Auth Theme: Slate

Version License Python Django pre-commit pre-commit.ci status Code Style: black Automated Checks codecov Contributor Covenant Discord Alliance Auth Compatibility

ko-fi

This is the Bootstrap theme Slate converted into a theme for Alliance auth.



AA Theme: Slate

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==4.0.0

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"

Project details


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-4.0.0.tar.gz (491.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aa_theme_slate-4.0.0-py3-none-any.whl (501.7 kB view details)

Uploaded Python 3

File details

Details for the file aa_theme_slate-4.0.0.tar.gz.

File metadata

  • Download URL: aa_theme_slate-4.0.0.tar.gz
  • Upload date:
  • Size: 491.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for aa_theme_slate-4.0.0.tar.gz
Algorithm Hash digest
SHA256 8ac80f833343da836b2d5f4c9e8e32e9c10bf989d63238e11509224cca4292f4
MD5 82270bb7d72f1b4a9d17eeaa89f3b16d
BLAKE2b-256 1f1c5db5d84ce1f18139fead2da6bdc6e9f8f3f004a172048e02549e426c49b2

See more details on using hashes here.

Provenance

The following attestation bundles were made for aa_theme_slate-4.0.0.tar.gz:

Publisher: release.yml on ppfeufer/aa-theme-slate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file aa_theme_slate-4.0.0-py3-none-any.whl.

File metadata

  • Download URL: aa_theme_slate-4.0.0-py3-none-any.whl
  • Upload date:
  • Size: 501.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for aa_theme_slate-4.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fade3836271baec4aef754b652bab205bd7e65f2ad5b44df4e3c686369ca18c5
MD5 402b97cee5975dab9a522206c9f22dc8
BLAKE2b-256 93760d8923ec9ea6ddfa37f7ce7bcd53ba00d587aea50167a13ac8c420628f0a

See more details on using hashes here.

Provenance

The following attestation bundles were made for aa_theme_slate-4.0.0-py3-none-any.whl:

Publisher: release.yml on ppfeufer/aa-theme-slate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page