AdminLTE Bootstrap Theme packaged for Django
Project description
#**Django-AdminLTE-X**
###**Django AdminLTE Template**
AdminLTE Bootstrap Theme packaged for Django
**Quick Start**
Install the pip package:
```
pip install django_adminlte_x
```
Add `adminlte` to your `INSTALLED_APPS` setting like this:
```
INSTALLED_APPS = (
'adminlte'
...
)
```
It is almost done. You can check if this is working by adding a template
**Adding navigation**
```python
from adminlte.templatetags.menu import Menu
Menu.add(label, link, icon, id, parent)
```
**Set Model Icon**
```python
from adminlte.templatetags.menu import Menu
Menu.Menu.set_model_icon('AppName', 'fa fa-plus')
```
**Assets**
```
Assets.js([
'jquery.min.js'
])
Assets.css([
'stylesheet':[
'bootstrap.min.css'
]
])
```
###**Django AdminLTE Template**
AdminLTE Bootstrap Theme packaged for Django
**Quick Start**
Install the pip package:
```
pip install django_adminlte_x
```
Add `adminlte` to your `INSTALLED_APPS` setting like this:
```
INSTALLED_APPS = (
'adminlte'
...
)
```
It is almost done. You can check if this is working by adding a template
**Adding navigation**
```python
from adminlte.templatetags.menu import Menu
Menu.add(label, link, icon, id, parent)
```
**Set Model Icon**
```python
from adminlte.templatetags.menu import Menu
Menu.Menu.set_model_icon('AppName', 'fa fa-plus')
```
**Assets**
```
Assets.js([
'jquery.min.js'
])
Assets.css([
'stylesheet':[
'bootstrap.min.css'
]
])
```
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-adminlte-x-0.21.tar.gz
(7.6 MB
view hashes)
Built Distribution
Close
Hashes for django_adminlte_x-0.21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 641b2e54820b3c128d447e9936715b942752a5c38cc01379e5bc262414b8e849 |
|
MD5 | b5d9520b0f243757f3e2f4c41038b234 |
|
BLAKE2b-256 | e77593ec085d2ec8e851d6e43b500a161c82c6ad3042d7b1dc24f02ede0e1e61 |