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==3.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-3.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-3.0.0-py3-none-any.whl (501.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aa_theme_slate-3.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-3.0.0.tar.gz
Algorithm Hash digest
SHA256 1a88a55b7a543c0c3291407bd9667dc653ec19bb86a90c564e9312a4cebdfeeb
MD5 3e1d21c79bb7e80abda55387f42d501f
BLAKE2b-256 84187ec8c242a1b97d2dca6078c21c2ada69d0fba901cf3c2c0cc258f8e8f218

See more details on using hashes here.

Provenance

The following attestation bundles were made for aa_theme_slate-3.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-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: aa_theme_slate-3.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-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 329c9ed9ef5f4a4996d6fde33eed5e5d0880c5202a8d567ff89844a04a3f00d2
MD5 4a6d2d05390662d82539a05eee45790d
BLAKE2b-256 d666d3960e6b84bd35a7e7cfb66298fb5b1c2568b356cd4a08a5179b2a13f9be

See more details on using hashes here.

Provenance

The following attestation bundles were made for aa_theme_slate-3.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