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
Built Distribution
Close
Hashes for django_surface_theme-0.0.12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05e446da31fbd9f2bca3f6c03a4c5a1ea27122001c336866cf54c31b728c4806 |
|
MD5 | 1dc9132f35a32c2f59d16ec8596e7f22 |
|
BLAKE2b-256 | 3f445d8fca2344972f99c8ce1c961f05809e9d98678a33676a4d8138b0f4044a |
Close
Hashes for django_surface_theme-0.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb52fcb50d8a2dc681eae199265058299210119ea8ed02fcf2d1cedd1ab81b2c |
|
MD5 | 2ffd1865261efce4e8a117370ebeac29 |
|
BLAKE2b-256 | d1b789bb64ca9149222d487a0a79400f551352a0b24bd93f56813488c4243549 |