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.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3983e9b641d0e7064aa302fa66c53c6a207ffba8bb43d14a9110382074b3378 |
|
MD5 | 472238420013db2035fe1665dfb1f555 |
|
BLAKE2b-256 | 0aa7c8e3fcad49426ccb9556b01fc32ff64467d4575afd96c9db8981df98836c |
Close
Hashes for django_surface_theme-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95801cb2bc5d2d46c962a36a0210f5d10f945745e0872fc66598565aac3f42b6 |
|
MD5 | c80b058303f3a541c760b1220bfaef5a |
|
BLAKE2b-256 | ed3c4a5b48875966297fa19bdcb5b9f1ce772e158c567fe2e7030dd265f68e6b |