app-generator / django-admin-soft-dashboard

Django Admin Soft - Free template for Django Admin UI | AppSeed
https://pypi.org/project/django-admin-soft-dashboard/
MIT License
37 stars 22 forks source link

ENH - Template Refactoring #2

Closed app-generator closed 1 year ago

app-generator commented 1 year ago

Hello @MySecondLanguage

The template works but the files & components require a new structure. The design should be usable in two contexts:

This dual context should be reflected in the structure of the files and of course taking into account the files as expected by Django.

<ROOT_DIR>
    |-- templates/
         |
         |-- admin/                           # Admin ONLY specific pages & helpers
         |    |-- index.html                  # Admin Index
         |
         |-- includes/                        # HTML chunks and components
         |    |-- navigation.html             # Top menu component
         |    |-- navigation-rtl.html         # Top menu component
         |    |-- sidebar.html                # Sidebar component
         |    |-- footer.html                 # App Footer
         |    |-- scripts.html                # Scripts common to all pages
         |
         |-- layouts/                         # Master pages
         |    |-- base.html                   # Used by common pages
         |    |-- base-fullscreen.html        # Used by Authentication pages
         |    |-- base-rtl.html               # Used in RTL pages
         |
         |-- accounts/                        # AUTH pages (common users)
         |    |-- login.html                  # Login page
         |    |-- register.html               # Register page
         |
         |-- pages/                           # UI Kit Pages
              |-- index.html                  # Users Index
              |-- 404-page.html               # 404 page
              |-- *.html                      # All other pages

Here is short information regarding all directors:


Index pages


Note: all unused components, pages, and temporary code should be removed in order to avoid confusion and provide quality to the users.

app-generator commented 1 year ago

Hello @MySecondLanguage Please confirm when the code refactoring is finished. Ty

app-generator commented 1 year ago

Fixed in version v0.0.5.