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.
109
-
The theme used to style this starter provides the following files:
115
+
The SCSS/CSS files used to style the Ui are saved in the `static` directory.
116
+
In order to update the Ui colors (primary, secondary) this procedure needs to be followed.
110
117
111
118
```bash
112
-
# This exists in ENV: LIB/admin_soft
113
-
< UI_LIBRARY_ROOT >
114
-
|
115
-
|-- templates/ # Root Templates Folder
116
-
||
117
-
||-- accounts/
118
-
|||-- login.html # Sign IN Page
119
-
|||-- register.html # Sign UP Page
120
-
||
121
-
||-- includes/
122
-
|||-- footer.html # Footer component
123
-
|||-- sidebar.html # Sidebar component
124
-
|||-- navigation.html # Navigation Bar
125
-
|||-- scripts.html # Scripts Component
126
-
||
127
-
||-- layouts/
128
-
|||-- base.html # Masterpage
129
-
|||-- base-fullscreen.html # Masterpage for Auth Pages
$ vi static/scss/soft-ui-dashboard/_variables.scss # edit variables
121
+
$ gulp # SCSS to CSS translation
137
122
```
138
123
139
-
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.
140
-
141
-
> For instance, if we want to **customize the footer.html** these are the steps:
142
-
143
-
- ✅ `Step 1`: create the `templates` DIRECTORY inside the `home` app
144
-
- ✅ `Step 2`: configure the project to use this new template directory
145
-
-`core/settings.py` TEMPLATES section
146
-
- ✅ `Step 3`: copy the `footer.html` from the original location (inside your ENV) and save it to the `home/templates` DIR
0 commit comments