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.16.tar.gz (31.5 MB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for django_surface_theme-0.0.16.tar.gz
Algorithm Hash digest
SHA256 11aba8a8162fc1dd9112762bef3023120027de5a62db80d431352caf4f8c2d19
MD5 e763395f36350c9410aef3f67a210c59
BLAKE2b-256 eda0e2ae04bbd361a0e3e665101c09db659d16f8ba2252967f893df9474fb503

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_surface_theme-0.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 a735624e464cacaa9b7ca70029058c74fc963e72d6a0acd258813950a265de9c
MD5 932f4005260ac4c4e980198f170ea90a
BLAKE2b-256 d53e78c0fa13531335547f3ea9674c6f9f7ebe21880f4ffedccf2457eff088a9

See more details on using hashes here.

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