diff --git a/CHANGELOG.md b/CHANGELOG.md index 3948be3..3ca6689 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # CHANGELOG +## [1.0.9] 2023-01-31 +### Changes + +- Links curation +- DOCS Update + ## [1.0.8] 2023-01-23 ### Changes diff --git a/README.md b/README.md index cc5763f..e76700f 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Modern template for **Django** that covers `Admin Section`, all authentication p **Links & Resources** -- [Django Admin Volt](https://appseed.us/product/volt-dashboard/django/) - `Product page` +- [Django Admin Volt](https://appseed.us/product/volt-dashboard/django/) - `Product` that uses the library - `Features`: Fully-configured, `CI/CD` via Render - UI Kit: Volt Dashboard BS5 `v1.4.1` by Themesberg - **Sections Covered**: @@ -107,6 +107,57 @@ Access the `admin` section in the browser: `http://127.0.0.1:8000/`
+## How to Customize + +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. +The theme used to style this starter provides the following files: + +```bash +# This exists in ENV: LIB/admin_volt +< UI_LIBRARY_ROOT > + | + |-- templates/ # Root Templates Folder + | | + | |-- accounts/ + | | |-- sign-in.html # Sign IN Page + | | |-- sign-up.html # Sign UP Page + | | + | |-- includes/ + | | |-- footer.html # Footer component + | | |-- sidebar.html # Sidebar component + | | |-- navigation.html # Navigation Bar + | | |-- scripts.html # Scripts Component + | | + | |-- layouts/ + | | |-- base.html # Masterpage + | | |-- base-auth.html # Masterpage for Auth Pages + | | + | |-- pages/ + | |-- index.html # Dashboard Page + | |-- settings.html # Profile Page + | |-- *.html # All other 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. + +For instance, if we want to customize the `footer.html` these are the steps: + +- `Step 1`: create the `templates` DIRECTORY inside your app +- `Step 2`: configure the project to use this new template directory + - Edit `settings.py` TEMPLATES section +- `Step 3`: copy the `footer.html` from the original location (inside your ENV) and save it to the `YOUR_APP/templates` DIR + - Source PATH: `/LIB/admin_volt/includes/footer.html` + - Destination PATH: `YOUR_APP/templates/includes/footer.html` +- Edit the footer (Destination PATH) + +At this point, the default version of the `footer.html` shipped in the library is ignored by Django. + +In a similar way, all other files and components can be customized easily. + +
+ ## [PRO Version](https://appseed.us/product/volt-dashboard-pro/django/) This design is a pixel-perfect [Bootstrap 5](https://www.admin-dashboards.com/bootstrap-5-templates/) Dashboard with a fresh, new design. `Volt 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. diff --git a/admin_volt/templates/includes/footer.html b/admin_volt/templates/includes/footer.html index bceec46..8d5dbe9 100644 --- a/admin_volt/templates/includes/footer.html +++ b/admin_volt/templates/includes/footer.html @@ -1,23 +1,21 @@