Skip to main content

Open-source Surface template with improved functionality

Project description

django-surface-theme

Surface theme is built on top of Django Dashboard Atlantis Dark.

PyPI version

Surface Theme variables

Define custom title in urls.py:

admin.site.site_title = "Surface Security"

Define side menu navigation items by adding the following variable in settings.py:

SURFACE_MENU_ITEMS = [
    {'label': ('Organisation'), 'icon': 'fas fa-building', 'items':[
        {'name': 'auth.user'}
    ]},
    {'label': ('Organisation'), 'app_label': 'auth', 'icon': 'fas fa-building', 'items':[
        {'name': 'user', 'label': 'Custom Label'},
        {'url': 'https://example.com', 'url_blank': True, 'label': 'Custom URL'}
    ]},
]

Define home links and items by adding the following variable in settings.py:

SURFACE_LINKS_ITEMS = [
    {'label': ('Examples'), 'items':[
        {'url': 'https://example.com', 'url_blank': True, 'name': 'Example.com'}
    ]}
]

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

django_surface_theme-0.0.12.tar.gz (31.5 MB view details)

Uploaded Source

Built Distribution

django_surface_theme-0.0.12-py3-none-any.whl (36.7 MB view details)

Uploaded Python 3

File details

Details for the file django_surface_theme-0.0.12.tar.gz.

File metadata

  • Download URL: django_surface_theme-0.0.12.tar.gz
  • Upload date:
  • Size: 31.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for django_surface_theme-0.0.12.tar.gz
Algorithm Hash digest
SHA256 05e446da31fbd9f2bca3f6c03a4c5a1ea27122001c336866cf54c31b728c4806
MD5 1dc9132f35a32c2f59d16ec8596e7f22
BLAKE2b-256 3f445d8fca2344972f99c8ce1c961f05809e9d98678a33676a4d8138b0f4044a

See more details on using hashes here.

File details

Details for the file django_surface_theme-0.0.12-py3-none-any.whl.

File metadata

File hashes

Hashes for django_surface_theme-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 cb52fcb50d8a2dc681eae199265058299210119ea8ed02fcf2d1cedd1ab81b2c
MD5 2ffd1865261efce4e8a117370ebeac29
BLAKE2b-256 d1b789bb64ca9149222d487a0a79400f551352a0b24bd93f56813488c4243549

See more details on using hashes here.

Supported by

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