You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a template file is loaded in the controller, `Django` scans all template directories starting from the ones defined by the user, and returns the first match or an error in case the template is not found.
108
+
The theme used to style this starter provides the following files:
109
+
110
+
```bash
111
+
< LIBRARY_ROOT ># This exists in ENV: LIB/admin_soft
112
+
|
113
+
|-- templates/ # Root Templates Folder
114
+
||
115
+
||-- accounts/
116
+
|||-- login.html # Sign IN Page
117
+
|||-- register.html # Sign UP Page
118
+
||
119
+
||-- includes/
120
+
|||-- footer.html # Footer component
121
+
|||-- sidebar.html # Sidebar component
122
+
|||-- navigation.html # Navigation Bar
123
+
|||-- scripts.html # Scripts Component
124
+
||
125
+
||-- layouts/
126
+
|||-- base.html # Masterpage
127
+
|||-- base-fullscreen.html # Masterpage for Auth Pages
When the project requires customization, we need to copy the original file that needs an update (from the virtual environment) and place it in the template folder using the same path.
138
+
139
+
> For instance, if we want to **customize the footer.html** these are the steps:
140
+
141
+
- ✅ `Step 1`: create the `templates` DIRECTORY inside the `home` app
142
+
- ✅ `Step 2`: configure the project to use this new template directory
143
+
-`core/settings.py` TEMPLATES section
144
+
- ✅ `Step 3`: copy the `footer.html` from the original location (inside your ENV) and save it to the `home/templates` DIR
This design is a pixel-perfect [Bootstrap 5](https://www.admin-dashboards.com/bootstrap-5-templates/) Dashboard with a fresh, new design concept. `Soft UI Dashboard PRO` is built with over 300 frontend individual elements, like buttons, inputs, navbars, nav tabs, cards, or alerts, giving you the freedom of choosing and combining.
0 commit comments