Open-source Surface template with improved functionality
Project description
django-surface-theme
Surface theme is built on top of Django Dashboard Atlantis Dark.
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
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
django-surface-theme-0.0.9.tar.gz
(31.5 MB
view hashes)
Built Distribution
Close
Hashes for django-surface-theme-0.0.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02ca1e07d01bd43a373a26ff91c3f4efa1592a90d725f2bcb96aabce4004e45b |
|
MD5 | 66e59de4ea9d9abe5eb301f6c987e52e |
|
BLAKE2b-256 | 23c158be6a23654e865eb3c9419a751436c2532c8cda4833ac805378480c26da |
Close
Hashes for django_surface_theme-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2e5dbd2e10ebc428d23b18eee027d3142ab2b8e70eb2ce7943aee1afa90d142 |
|
MD5 | c466b641d4d5cae445030e6043f94ab8 |
|
BLAKE2b-256 | 6770f8d1d4037230ca4c88f9574ce69de7c8df64b868e951a88baf72824ea964 |