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.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d6201a5f0066ad8a3487e0bf4498b825ce6c35c50224986076fdffcc676ca2d |
|
MD5 | b5d24e4b0e08e64d10aab8359d19e5fc |
|
BLAKE2b-256 | e249b02bb6ee00356a7a8fcfed33d4b3eefd6a111611f5d0ef1f24b12add9200 |
Close
Hashes for django_surface_theme-0.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 942b2b55ca19309d53efbe204af065392c5bf2a4ad7d7d530e730caa5d75a185 |
|
MD5 | f7b70346218dccbe6f2b07de02c6372f |
|
BLAKE2b-256 | 5eec5edd867b88bc7d2896e265c444360b273737af54dc6a8318d82c413addbd |