blob: 1e2249ed127b9214e07c18790f0154985539332b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Dashboard Layout
The dashboard has 2 main sections, the navigation sidebar and the main panel.
The main panel uses a card layout to display different views into the data.

## Adding a card
* Create a new card in the ```/templates/cards``` folder.
* Include the new card to the ```/templates/dashboard.html``` file.
## Adding a new page
* Create a new page in the ```/templates``` folder.
* Follow the exact format as the dashboard.html file.
* Add new cards in the ```/templates/cards``` folder and include them in the new page.
* Update the sidebar file ```/templates/includes/sidebar.html``` with a link to the new page.
## Register cronjobs for generating Dashboard reports
* Register - ```python3 manage.py crontab add```
* List active cronjbos - ```python3 manage.py crontab show```
* Remove all active cronjbos - ```python3 manage.py crontab remove```
* Remove a single active cronjbos - ```python3 manage.py crontab remove <cron id>```
For more info see 
|