materialdash 0.0.23__tar.gz → 0.0.23.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- materialdash-0.0.23.2/PKG-INFO +134 -0
- materialdash-0.0.23.2/README.md +120 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/admin/settings.py +1 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/admin/sites.py +1 -1
- materialdash-0.0.23.2/materialdash/static/materialdash/admin/css/loginPage.css +28 -0
- materialdash-0.0.23.2/materialdash/static/materialdash/admin/images/background.jpg +0 -0
- materialdash-0.0.23.2/materialdash/static/materialdash/admin/js/particles.js +21 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/materialdash/admin/login.html +6 -3
- {materialdash-0.0.23 → materialdash-0.0.23.2}/pyproject.toml +1 -1
- materialdash-0.0.23/PKG-INFO +0 -197
- materialdash-0.0.23/README.md +0 -183
- {materialdash-0.0.23 → materialdash-0.0.23.2}/LICENCE.TXT +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/__init__.py +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/admin/__init__.py +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/admin/apps.py +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/admin/options.py +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/admin/urls.py +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/admin/views.py +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/admin/widgets.py +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/apps.py +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/locale/es/LC_MESSAGES/django.mo +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/locale/es/LC_MESSAGES/django.po +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/locale/es_AR/LC_MESSAGES/django.mo +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/locale/es_AR/LC_MESSAGES/django.po +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/locale/ru/LC_MESSAGES/django.mo +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/locale/ru/LC_MESSAGES/django.po +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/locale/uk/LC_MESSAGES/django.mo +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/locale/uk/LC_MESSAGES/django.po +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/locale/zh_Hans/LC_MESSAGES/django.po +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/admin/js/SelectFilter2.js +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/admin/js/inlines.js +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/admin/js/inlines.min.js +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/admin/js/prepopulate.js +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/additional_submit_line.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/admin-out-black.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/admin-out-green.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/admin-out-night.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/admin-out-red.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/admin-out.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/app_content.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/autocomplete.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/base_site-black.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/base_site-green.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/base_site-night.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/base_site-red.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/base_site-responsive.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/base_site-theme.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/base_site.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/change_form.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/changelists.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/clearable_file_input.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/date-input.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/header.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/index.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/jquery.jscrollpane.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/layout.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/login.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/logout.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/material_icons.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/materialize.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/object_history.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/object_tools-responsive.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/object_tools.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/search_form.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/selector_relative-responsive.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/selector_relative.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/side_nav.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/split_datetime.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/submit_line.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/theme_change.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/time-input.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/tray-responsive.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/css/tray.min.css +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/images/error.jpg +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/images/login-bg-black.jpg +0 -0
- /materialdash-0.0.23/materialdash/static/materialdash/admin/images/login-bg-green.jpg → /materialdash-0.0.23.2/materialdash/static/materialdash/admin/images/login-bg-default.jpg +0 -0
- /materialdash-0.0.23/materialdash/static/materialdash/admin/images/login-bg-default.jpg → /materialdash-0.0.23.2/materialdash/static/materialdash/admin/images/login-bg-green.jpg +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/images/login-bg-night.jpg +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/images/login-bg-red.jpg +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/images/login-logo-black.jpg +0 -0
- /materialdash-0.0.23/materialdash/static/materialdash/admin/images/login-logo-green.jpg → /materialdash-0.0.23.2/materialdash/static/materialdash/admin/images/login-logo-default.jpg +0 -0
- /materialdash-0.0.23/materialdash/static/materialdash/admin/images/login-logo-default.jpg → /materialdash-0.0.23.2/materialdash/static/materialdash/admin/images/login-logo-green.jpg +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/images/login-logo-night.jpg +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/images/login-logo-red.jpg +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/images/login-logo.jpg +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/img/icon-unknown-alt.svg +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/js/RelatedObjectLookups.min.js +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/js/admin.js +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/js/filters.js +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/js/inline-forms.min.js +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/js/jquery.jscrollpane.min.js +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/js/jquery.min.js +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/js/jquery.mousewheel.min.js +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/js/materialize-init.min.js +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/js/materialize.min.js +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/js/password-toggle.min.js +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/js/tray.js +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/js/widgets/DateInput.js +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/js/widgets/TimeInput.js +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/admin/js/widgets/TimeServerDiff.js +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/fonts/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2 +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/static/materialdash/js/tabbed_translation_fields.js +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/400.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/403.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/404.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/500.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/admin/actions.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/admin/add_form.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/admin/additional_submit_line.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/admin/base.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/admin/base_site.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/admin/change_form.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/admin/change_form_object_tools.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/admin/change_list.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/admin/change_list_results.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/admin/delete_confirmation.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/admin/delete_selected_confirmation.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/admin/edit_inline/stacked.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/admin/edit_inline/tabular.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/admin/filter.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/admin/includes/fieldset.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/admin/index.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/admin/object_history.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/admin/pagination.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/admin/search_form.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/admin/submit_line.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/admin/widgets/clearable_file_input.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/admin/widgets/related_widget_wrapper.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/admin/widgets/url.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/materialdash/admin/includes/admin-out-bg.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/materialdash/admin/includes/admin-out-themes.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/materialdash/admin/includes/app_content.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/materialdash/admin/index.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/materialdash/admin/logout.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/materialdash/admin/password_change.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/materialdash/admin/side_nav.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/materialdash/admin/theme_change.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/materialdash/admin/tray.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/materialdash/admin/user_picture.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/materialdash/admin/widgets/date.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/materialdash/admin/widgets/split_datetime.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/materialdash/admin/widgets/time.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/registration/password_change_done.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/registration/password_reset_complete.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/registration/password_reset_confirm.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/registration/password_reset_done.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/registration/password_reset_email.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/registration/password_reset_form.html +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templatetags/__init__.py +0 -0
- {materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templatetags/material.py +0 -0
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: materialdash
|
|
3
|
+
Version: 0.0.23.2
|
|
4
|
+
Summary: MaterialDash é uma interface de administração moderna para Django, baseada em Material Design.
|
|
5
|
+
Author: Anderson Freitas
|
|
6
|
+
Author-email: freitas.dev@proton.me
|
|
7
|
+
Requires-Python: >=3.10,<4.0
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
|
|
14
|
+
# Django Material Administration
|
|
15
|
+
|
|
16
|
+
MaterialDash é uma interface de administração moderna e responsiva para Django, baseada em Material Design. Este projeto é uma continuação da biblioteca [django-material-admin](https://github.com/MaistrenkoAnton/django-material-admin) de [MaistrenkoAnton](https://github.com/MaistrenkoAnton), que foi descontinuada. Com MaterialDash, buscamos revitalizar e expandir as funcionalidades criadas originalmente, oferecendo uma solução mais atualizada e melhorada para os desenvolvedores.
|
|
17
|
+
|
|
18
|
+
Nosso objetivo é preservar o trabalho feito com o django-material-admin, ao mesmo tempo em que trazemos novos recursos, correções e melhorias, mantendo o foco em simplicidade, usabilidade e uma experiência de usuário consistente com o Material Design. O MaterialDash possibilita personalizações fáceis e traz um painel administrativo elegante, moderno e funcional para os usuários do Django.
|
|
19
|
+
|
|
20
|
+

|
|
21
|
+
|
|
22
|
+
## [Contribua com o repositório](https://github.com/freitasanderson1/materialdash)
|
|
23
|
+
|
|
24
|
+

|
|
25
|
+
|
|
26
|
+
<!--**login**: *admin*
|
|
27
|
+
|
|
28
|
+
**password**: *123qaz123!A*-->
|
|
29
|
+
|
|
30
|
+
## Guia de Inicio Rápido
|
|
31
|
+
|
|
32
|
+
**Instalação:**
|
|
33
|
+
```bash
|
|
34
|
+
pip install materialdash
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
1. Adicione **materialdash** e **materialdash.admin** à sua configuração `INSTALLED_APPS` e remova ou comente a linha de `django.contrib.admin`:
|
|
38
|
+
- Necessário
|
|
39
|
+
|
|
40
|
+
```python
|
|
41
|
+
INSTALLED_APPS = (
|
|
42
|
+
'materialdash',
|
|
43
|
+
'materialdash.admin',
|
|
44
|
+
'django.contrib.auth',
|
|
45
|
+
...
|
|
46
|
+
)
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
2. Inclua a URLconf do materialdash em seu projeto `urls.py` assim:
|
|
50
|
+
- Necessário
|
|
51
|
+
|
|
52
|
+
```python
|
|
53
|
+
from django.contrib import admin
|
|
54
|
+
from django.urls import path
|
|
55
|
+
|
|
56
|
+
urlpatterns = [
|
|
57
|
+
path('admin/', admin.site.urls),
|
|
58
|
+
]
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
3. Registre seus models em `admin.py`.
|
|
62
|
+
|
|
63
|
+
```python
|
|
64
|
+
from django.contrib.admin import ModelAdmin, register
|
|
65
|
+
from persons.models import Person
|
|
66
|
+
|
|
67
|
+
@register(Person)
|
|
68
|
+
class PersonAdmin(ModelAdmin):
|
|
69
|
+
list_display = ('name', 'first_name', 'last_name')
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
4. Adicione o ícone ao aplicativo em `app.py` e especifique o uso do aplicativo em `__init__.py`.
|
|
73
|
+
|
|
74
|
+
Encontre uma lista de ícones em:
|
|
75
|
+
[Materialize CSS Icons](https://materializecss.com/icons.html) (Opcional)
|
|
76
|
+
|
|
77
|
+
**`__init__.py`**
|
|
78
|
+
|
|
79
|
+
```python
|
|
80
|
+
default_app_config = 'persons.apps.PersonsConfig'
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
**`apps.py`**
|
|
84
|
+
|
|
85
|
+
```python
|
|
86
|
+
from django.apps import AppConfig
|
|
87
|
+
|
|
88
|
+
class PersonsConfig(AppConfig):
|
|
89
|
+
name = 'persons'
|
|
90
|
+
icon_name = 'person'
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
5. Adicionar ícone ao `MaterialModelAdmin` em `admin.py`.
|
|
94
|
+
|
|
95
|
+
Fontes do nome do ícone do material:
|
|
96
|
+
|
|
97
|
+
- [Materialize CSS Icons](https://materializecss.com/icons.html)
|
|
98
|
+
- [Material Icons](https://material.io/resources/icons/?style=baseline) (Opcional)
|
|
99
|
+
|
|
100
|
+
```python
|
|
101
|
+
from django.contrib.admin import ModelAdmin, register
|
|
102
|
+
from persons.models import Person
|
|
103
|
+
|
|
104
|
+
@register(Person)
|
|
105
|
+
class MaterialPersonAdmin(ModelAdmin):
|
|
106
|
+
icon_name = 'person'
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
6. Adicione configurações do site Admin ao arquivo `settings.py`:
|
|
110
|
+
|
|
111
|
+
```python
|
|
112
|
+
MATERIAL_ADMIN_SITE = {
|
|
113
|
+
'HEADER': _('Your site header'), # Cabeçalho do site de administração
|
|
114
|
+
'TITLE': _('Your site title'), # Título do site de administração
|
|
115
|
+
'FAVICON': 'path/to/favicon', # Favicon do site de administração
|
|
116
|
+
'MAIN_BG_COLOR': 'color', # Cor principal do site de administração
|
|
117
|
+
'MAIN_HOVER_COLOR': 'color', # Cor principal do foco do site de administração
|
|
118
|
+
'PROFILE_PICTURE': 'path/to/image', # Foto do perfil do site de administração
|
|
119
|
+
'PROFILE_BG': 'path/to/image', # Plano de fundo do perfil do site de administração
|
|
120
|
+
'LOGIN_LOGO': 'path/to/image', # Logotipo do site de administração na página de login
|
|
121
|
+
'LOGOUT_BG': 'path/to/image', # Plano de fundo nas páginas de login/logout
|
|
122
|
+
'SHOW_THEMES': True, # Mostrar botão de temas administrativos
|
|
123
|
+
'TRAY_REVERSE': True, # Ocultar ferramentas de objeto e linha de envio adicional por padrão
|
|
124
|
+
'NAVBAR_REVERSE': True, # Ocultar a barra de navegação lateral por padrão
|
|
125
|
+
'SHOW_COUNTS': True, # Mostrar contagens de instâncias para cada modelo
|
|
126
|
+
'APP_ICONS': {
|
|
127
|
+
'sites': 'send',
|
|
128
|
+
},
|
|
129
|
+
'MODEL_ICONS': {
|
|
130
|
+
'site': 'contact_mail',
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
```
|
|
134
|
+
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
# Django Material Administration
|
|
2
|
+
|
|
3
|
+
MaterialDash é uma interface de administração moderna e responsiva para Django, baseada em Material Design. Este projeto é uma continuação da biblioteca [django-material-admin](https://github.com/MaistrenkoAnton/django-material-admin) de [MaistrenkoAnton](https://github.com/MaistrenkoAnton), que foi descontinuada. Com MaterialDash, buscamos revitalizar e expandir as funcionalidades criadas originalmente, oferecendo uma solução mais atualizada e melhorada para os desenvolvedores.
|
|
4
|
+
|
|
5
|
+
Nosso objetivo é preservar o trabalho feito com o django-material-admin, ao mesmo tempo em que trazemos novos recursos, correções e melhorias, mantendo o foco em simplicidade, usabilidade e uma experiência de usuário consistente com o Material Design. O MaterialDash possibilita personalizações fáceis e traz um painel administrativo elegante, moderno e funcional para os usuários do Django.
|
|
6
|
+
|
|
7
|
+

|
|
8
|
+
|
|
9
|
+
## [Contribua com o repositório](https://github.com/freitasanderson1/materialdash)
|
|
10
|
+
|
|
11
|
+

|
|
12
|
+
|
|
13
|
+
<!--**login**: *admin*
|
|
14
|
+
|
|
15
|
+
**password**: *123qaz123!A*-->
|
|
16
|
+
|
|
17
|
+
## Guia de Inicio Rápido
|
|
18
|
+
|
|
19
|
+
**Instalação:**
|
|
20
|
+
```bash
|
|
21
|
+
pip install materialdash
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
1. Adicione **materialdash** e **materialdash.admin** à sua configuração `INSTALLED_APPS` e remova ou comente a linha de `django.contrib.admin`:
|
|
25
|
+
- Necessário
|
|
26
|
+
|
|
27
|
+
```python
|
|
28
|
+
INSTALLED_APPS = (
|
|
29
|
+
'materialdash',
|
|
30
|
+
'materialdash.admin',
|
|
31
|
+
'django.contrib.auth',
|
|
32
|
+
...
|
|
33
|
+
)
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
2. Inclua a URLconf do materialdash em seu projeto `urls.py` assim:
|
|
37
|
+
- Necessário
|
|
38
|
+
|
|
39
|
+
```python
|
|
40
|
+
from django.contrib import admin
|
|
41
|
+
from django.urls import path
|
|
42
|
+
|
|
43
|
+
urlpatterns = [
|
|
44
|
+
path('admin/', admin.site.urls),
|
|
45
|
+
]
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
3. Registre seus models em `admin.py`.
|
|
49
|
+
|
|
50
|
+
```python
|
|
51
|
+
from django.contrib.admin import ModelAdmin, register
|
|
52
|
+
from persons.models import Person
|
|
53
|
+
|
|
54
|
+
@register(Person)
|
|
55
|
+
class PersonAdmin(ModelAdmin):
|
|
56
|
+
list_display = ('name', 'first_name', 'last_name')
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
4. Adicione o ícone ao aplicativo em `app.py` e especifique o uso do aplicativo em `__init__.py`.
|
|
60
|
+
|
|
61
|
+
Encontre uma lista de ícones em:
|
|
62
|
+
[Materialize CSS Icons](https://materializecss.com/icons.html) (Opcional)
|
|
63
|
+
|
|
64
|
+
**`__init__.py`**
|
|
65
|
+
|
|
66
|
+
```python
|
|
67
|
+
default_app_config = 'persons.apps.PersonsConfig'
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
**`apps.py`**
|
|
71
|
+
|
|
72
|
+
```python
|
|
73
|
+
from django.apps import AppConfig
|
|
74
|
+
|
|
75
|
+
class PersonsConfig(AppConfig):
|
|
76
|
+
name = 'persons'
|
|
77
|
+
icon_name = 'person'
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
5. Adicionar ícone ao `MaterialModelAdmin` em `admin.py`.
|
|
81
|
+
|
|
82
|
+
Fontes do nome do ícone do material:
|
|
83
|
+
|
|
84
|
+
- [Materialize CSS Icons](https://materializecss.com/icons.html)
|
|
85
|
+
- [Material Icons](https://material.io/resources/icons/?style=baseline) (Opcional)
|
|
86
|
+
|
|
87
|
+
```python
|
|
88
|
+
from django.contrib.admin import ModelAdmin, register
|
|
89
|
+
from persons.models import Person
|
|
90
|
+
|
|
91
|
+
@register(Person)
|
|
92
|
+
class MaterialPersonAdmin(ModelAdmin):
|
|
93
|
+
icon_name = 'person'
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
6. Adicione configurações do site Admin ao arquivo `settings.py`:
|
|
97
|
+
|
|
98
|
+
```python
|
|
99
|
+
MATERIAL_ADMIN_SITE = {
|
|
100
|
+
'HEADER': _('Your site header'), # Cabeçalho do site de administração
|
|
101
|
+
'TITLE': _('Your site title'), # Título do site de administração
|
|
102
|
+
'FAVICON': 'path/to/favicon', # Favicon do site de administração
|
|
103
|
+
'MAIN_BG_COLOR': 'color', # Cor principal do site de administração
|
|
104
|
+
'MAIN_HOVER_COLOR': 'color', # Cor principal do foco do site de administração
|
|
105
|
+
'PROFILE_PICTURE': 'path/to/image', # Foto do perfil do site de administração
|
|
106
|
+
'PROFILE_BG': 'path/to/image', # Plano de fundo do perfil do site de administração
|
|
107
|
+
'LOGIN_LOGO': 'path/to/image', # Logotipo do site de administração na página de login
|
|
108
|
+
'LOGOUT_BG': 'path/to/image', # Plano de fundo nas páginas de login/logout
|
|
109
|
+
'SHOW_THEMES': True, # Mostrar botão de temas administrativos
|
|
110
|
+
'TRAY_REVERSE': True, # Ocultar ferramentas de objeto e linha de envio adicional por padrão
|
|
111
|
+
'NAVBAR_REVERSE': True, # Ocultar a barra de navegação lateral por padrão
|
|
112
|
+
'SHOW_COUNTS': True, # Mostrar contagens de instâncias para cada modelo
|
|
113
|
+
'APP_ICONS': {
|
|
114
|
+
'sites': 'send',
|
|
115
|
+
},
|
|
116
|
+
'MODEL_ICONS': {
|
|
117
|
+
'site': 'contact_mail',
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
```
|
|
@@ -33,6 +33,7 @@ MATERIALDASH_ADMIN_SITE = {
|
|
|
33
33
|
'TRAY_REVERSE': _get_setting('TRAY_REVERSE'),
|
|
34
34
|
'NAVBAR_REVERSE': _get_setting('NAVBAR_REVERSE'),
|
|
35
35
|
'SHOW_COUNTS': _get_setting('SHOW_COUNTS'),
|
|
36
|
+
'LOGIN_VERSION': _get_setting('LOGIN_VERSION'),
|
|
36
37
|
'DJANGO_VERSION': int(django.get_version()[0]),
|
|
37
38
|
'APP_ICONS': {
|
|
38
39
|
'auth': 'group',
|
|
@@ -13,7 +13,7 @@ from materialdash.admin.views import ThemesView
|
|
|
13
13
|
class MaterialDashAdminSite(AdminSite):
|
|
14
14
|
"""Extends AdminSite to add material design for admin interface"""
|
|
15
15
|
favicon = None
|
|
16
|
-
main_bg_color =
|
|
16
|
+
main_bg_color = '#029b75'
|
|
17
17
|
main_hover_color = None
|
|
18
18
|
profile_picture = None
|
|
19
19
|
profile_bg = None
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
#content{
|
|
2
|
+
background-image: url('../images/background.jpg');
|
|
3
|
+
background-color: rgba(0, 0, 0, 0.7);
|
|
4
|
+
background-blend-mode: overlay;
|
|
5
|
+
background-size: cover;
|
|
6
|
+
background-position: center center;
|
|
7
|
+
background-repeat: no-repeat;
|
|
8
|
+
}
|
|
9
|
+
.background {
|
|
10
|
+
position: absolute;
|
|
11
|
+
display: block;
|
|
12
|
+
top: 0;
|
|
13
|
+
left: 0;
|
|
14
|
+
z-index: 0;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.text-content{
|
|
18
|
+
z-index: 10;
|
|
19
|
+
}
|
|
20
|
+
#login-form{
|
|
21
|
+
background-color: #FFFFFF;
|
|
22
|
+
border-radius: 16px;
|
|
23
|
+
padding: 1rem 0 1rem 0;
|
|
24
|
+
|
|
25
|
+
}
|
|
26
|
+
.password-reset-link{
|
|
27
|
+
padding: 1rem;
|
|
28
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
window.onload = function() {
|
|
2
|
+
Particles.init({
|
|
3
|
+
selector: '.background',
|
|
4
|
+
color: '#75A5B7',
|
|
5
|
+
maxParticles: 130,
|
|
6
|
+
connectParticles: true,
|
|
7
|
+
responsive: [
|
|
8
|
+
{
|
|
9
|
+
breakpoint: 768,
|
|
10
|
+
options: {
|
|
11
|
+
maxParticles: 80
|
|
12
|
+
}
|
|
13
|
+
}, {
|
|
14
|
+
breakpoint: 375,
|
|
15
|
+
options: {
|
|
16
|
+
maxParticles: 50
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
});
|
|
21
|
+
};
|
{materialdash-0.0.23 → materialdash-0.0.23.2}/materialdash/templates/materialdash/admin/login.html
RENAMED
|
@@ -8,11 +8,15 @@
|
|
|
8
8
|
{% endblock %}
|
|
9
9
|
<link rel="stylesheet" type="text/css" href="{% static 'materialdash/admin/css/layout.min.css' %}">
|
|
10
10
|
<link rel="stylesheet" type="text/css" href="{% static 'materialdash/admin/css/login.min.css' %}">
|
|
11
|
+
<link rel="stylesheet" type="text/css" href="{% static 'materialdash/admin/css/loginPage.css' %}">
|
|
11
12
|
{% if current_theme and current_theme != 'default' %}
|
|
12
13
|
<link rel="stylesheet" type="text/css" href="{% static 'materialdash/admin/css/admin-out-'|add:current_theme|add:'.min.css' %}">
|
|
13
14
|
<link rel="stylesheet" type="text/css" href="{% static 'materialdash/admin/css/admin-out.min.css' %}">
|
|
14
15
|
{% endif %}
|
|
16
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/particlesjs/2.2.3/particles.min.js" defer></script>
|
|
17
|
+
<script src="{% static "materialdash/admin/js/particles.js" %}"></script>
|
|
15
18
|
<script src="{% static 'materialdash/admin/js/password-toggle.min.js' %}" defer></script>
|
|
19
|
+
|
|
16
20
|
{% endblock %}
|
|
17
21
|
|
|
18
22
|
{% block branding %}{% endblock %}
|
|
@@ -23,6 +27,8 @@
|
|
|
23
27
|
|
|
24
28
|
|
|
25
29
|
{% block content %}
|
|
30
|
+
<canvas class="background"></canvas>
|
|
31
|
+
|
|
26
32
|
<div id="layout-content">
|
|
27
33
|
<div class="text-content">
|
|
28
34
|
{% if form.errors and not form.non_field_errors %}
|
|
@@ -97,8 +103,5 @@
|
|
|
97
103
|
</div>
|
|
98
104
|
</form>
|
|
99
105
|
</div>
|
|
100
|
-
<div class="side-bar">
|
|
101
|
-
{% include 'materialdash/admin/includes/admin-out-bg.html' with current_theme=current_theme %}
|
|
102
|
-
</div>
|
|
103
106
|
</div>
|
|
104
107
|
{% endblock %}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "materialdash"
|
|
3
|
-
version = "0.0.23"
|
|
3
|
+
version = "0.0.23.2"
|
|
4
4
|
description = "MaterialDash é uma interface de administração moderna para Django, baseada em Material Design."
|
|
5
5
|
authors = ["Anderson Freitas <freitas.dev@proton.me>"]
|
|
6
6
|
readme = "README.md"
|
materialdash-0.0.23/PKG-INFO
DELETED
|
@@ -1,197 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: materialdash
|
|
3
|
-
Version: 0.0.23
|
|
4
|
-
Summary: MaterialDash é uma interface de administração moderna para Django, baseada em Material Design.
|
|
5
|
-
Author: Anderson Freitas
|
|
6
|
-
Author-email: freitas.dev@proton.me
|
|
7
|
-
Requires-Python: >=3.10,<4.0
|
|
8
|
-
Classifier: Programming Language :: Python :: 3
|
|
9
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
10
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
11
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
12
|
-
Description-Content-Type: text/markdown
|
|
13
|
-
|
|
14
|
-
MaterialDash é uma interface de administração moderna e responsiva para Django, baseada em Material Design. Este projeto é uma continuação da biblioteca django-material-admin, que foi descontinuada. Com MaterialDash, buscamos revitalizar e expandir as funcionalidades criadas originalmente, oferecendo uma solução mais atualizada e melhorada para os desenvolvedores.
|
|
15
|
-
|
|
16
|
-
Nosso objetivo é preservar o trabalho feito com o django-material-admin, ao mesmo tempo em que trazemos novos recursos, correções e melhorias, mantendo o foco em simplicidade, usabilidade e uma experiência de usuário consistente com o Material Design. O MaterialDash possibilita personalizações fáceis e traz um painel administrativo elegante, moderno e funcional para os usuários do Django.
|
|
17
|
-
|
|
18
|
-
|pypi| |python| |django|
|
|
19
|
-
|
|
20
|
-
.. .. |build|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
.. |pypi| image:: https://d25lcipzij17d.cloudfront.net/badge.svg?id=py&type=6&v=0.0.22&x2=0
|
|
24
|
-
:target: https://pypi.org/project/materialdash/
|
|
25
|
-
.. |python| image:: https://img.shields.io/badge/python-3.4+-blue.svg
|
|
26
|
-
:target: https://www.python.org/
|
|
27
|
-
.. |django| image:: https://img.shields.io/badge/django-2.2+|5.1.2-mediumseagreen.svg
|
|
28
|
-
:target: https://www.djangoproject.com/
|
|
29
|
-
.. .. |build| image:: http://ec2-35-157-197-184.eu-central-1.compute.amazonaws.com:8080/buildStatus/icon?job=Job1
|
|
30
|
-
.. :target: http://ec2-35-157-197-184.eu-central-1.compute.amazonaws.com
|
|
31
|
-
|
|
32
|
-
==============================
|
|
33
|
-
Django Material Administration
|
|
34
|
-
==============================
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
.. image:: https://raw.githubusercontent.com/MaistrenkoAnton/django-material-admin/master/app/demo/screens/login.png
|
|
38
|
-
|
|
39
|
-
.. **login**: *admin*
|
|
40
|
-
|
|
41
|
-
.. **pass**: *123qaz123!A*
|
|
42
|
-
|
|
43
|
-
Guia de Inicio Rápido
|
|
44
|
-
-----------
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
**pip install materialdash**
|
|
48
|
-
|
|
49
|
-
1. Adicione **materialdash** e **materialdash.admin** à sua configuração INSTALLED_APPS em vez de **django.contrib.admin**::
|
|
50
|
-
- Necessário
|
|
51
|
-
|
|
52
|
-
.. code-block:: python
|
|
53
|
-
|
|
54
|
-
INSTALLED_APPS = (
|
|
55
|
-
'materialdash',
|
|
56
|
-
'materialdash.admin',
|
|
57
|
-
|
|
58
|
-
'django.contrib.auth',
|
|
59
|
-
...
|
|
60
|
-
)
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
2. Inclua a URLconf do materialdash em seu projeto **urls.py** assim:
|
|
64
|
-
- Necessário
|
|
65
|
-
.. code-block:: python
|
|
66
|
-
|
|
67
|
-
from django.contrib import admin
|
|
68
|
-
from django.urls import path
|
|
69
|
-
|
|
70
|
-
urlpatterns = [
|
|
71
|
-
path('admin/', admin.site.urls),
|
|
72
|
-
]
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
3. Registre seus models em **admin.py**.
|
|
76
|
-
|
|
77
|
-
.. code-block:: python
|
|
78
|
-
|
|
79
|
-
from django.contrib.admin import ModelAdmin, register
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
from persons.models import Person
|
|
83
|
-
|
|
84
|
-
@register(Person)
|
|
85
|
-
class PersonAdmin(ModelAdmin):
|
|
86
|
-
list_display = ('name', 'first_name', 'last_name')
|
|
87
|
-
|
|
88
|
-
4. Adicione o ícone ao aplicativo em **app.py** e especifique o uso do aplicativo em **__init__.py**
|
|
89
|
-
|
|
90
|
-
Encontre uma lista de icones em:
|
|
91
|
-
https://materializecss.com/icons.html
|
|
92
|
-
- Opcional
|
|
93
|
-
|
|
94
|
-
**__init.py__**
|
|
95
|
-
|
|
96
|
-
.. code-block:: python
|
|
97
|
-
|
|
98
|
-
default_app_config = 'persons.apps.PersonsConfig'
|
|
99
|
-
|
|
100
|
-
**apps.py**
|
|
101
|
-
|
|
102
|
-
.. code-block:: python
|
|
103
|
-
|
|
104
|
-
from django.apps import AppConfig
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
class PersonsConfig(AppConfig):
|
|
108
|
-
name = 'persons'
|
|
109
|
-
icon_name = 'person'
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
5. Adicionar ícone ao MaterialModelAdmin em **admin.py**
|
|
113
|
-
|
|
114
|
-
Fontes do nome do ícone do material:
|
|
115
|
-
|
|
116
|
-
https://materializecss.com/icons.html
|
|
117
|
-
|
|
118
|
-
https://material.io/resources/icons/?style=baseline
|
|
119
|
-
|
|
120
|
-
- Opcional
|
|
121
|
-
|
|
122
|
-
.. code-block:: python
|
|
123
|
-
|
|
124
|
-
from django.contrib.admin import ModelAdmin, register
|
|
125
|
-
|
|
126
|
-
from persons.models import Person
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
@register(Person)
|
|
130
|
-
class MaterialPersonAdmin(ModelAdmin):
|
|
131
|
-
icon_name = 'person'
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
6. Adicione configurações do site Admin ao arquivo **settings.py**:
|
|
135
|
-
|
|
136
|
-
- Opcional
|
|
137
|
-
##########################################################
|
|
138
|
-
|
|
139
|
-
.. code-block:: python
|
|
140
|
-
|
|
141
|
-
MATERIAL_ADMIN_SITE = {
|
|
142
|
-
'HEADER': _('Your site header'), # Cabeçalho do site de administração
|
|
143
|
-
'TITLE': _('Your site title'), # Título do site de administração
|
|
144
|
-
'FAVICON': 'path/to/favicon', # Favicon do site de administração (o caminho para o arquivo estático deve ser especificado)
|
|
145
|
-
'MAIN_BG_COLOR': 'color', # Cor principal do site de administração, a cor CSS deve ser especificada
|
|
146
|
-
'MAIN_HOVER_COLOR': 'color', # Cor principal do foco do site de administração, a cor CSS deve ser especificada
|
|
147
|
-
'PROFILE_PICTURE': 'path/to/image', # Foto do perfil do site de administração (o caminho para o arquivo estático deve ser especificado)
|
|
148
|
-
'PROFILE_BG': 'path/to/image', # Plano de fundo do perfil do site de administração (o caminho para o arquivo estático deve ser especificado)
|
|
149
|
-
'LOGIN_LOGO': 'path/to/image', # Logotipo do site de administração na página de login (o caminho para o arquivo estático deve ser especificado)
|
|
150
|
-
'LOGOUT_BG': 'path/to/image', # Plano de fundo do site de administração nas páginas de login/logout (o caminho para o arquivo estático deve ser especificado)
|
|
151
|
-
'SHOW_THEMES': True, # Mostrar botão de temas administrativos padrão
|
|
152
|
-
'TRAY_REVERSE': True, # Ocultar ferramentas de objeto e linha de envio adicional por padrão
|
|
153
|
-
'NAVBAR_REVERSE': True, # Ocultar a barra de navegação lateral por padrão
|
|
154
|
-
'SHOW_COUNTS': True, # Mostrar contagens de instâncias para cada modelo
|
|
155
|
-
'APP_ICONS': { # Defina ícones para apps (em letras minúsculas), incluindo apps de terceiros, {'application_name': 'material_icon_name', ...}
|
|
156
|
-
'sites': 'send',
|
|
157
|
-
},
|
|
158
|
-
'MODEL_ICONS': { # Defina ícones para models(em letras minúsculas),incluindo models de terceiros, {'model_name': 'material_icon_name', ...}
|
|
159
|
-
'site': 'contact_mail',
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
##########################################################
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
==============
|
|
166
|
-
Videoaulas:
|
|
167
|
-
==============
|
|
168
|
-
|
|
169
|
-
- PySchool
|
|
170
|
-
|
|
171
|
-
.. image:: https://raw.githubusercontent.com/MaistrenkoAnton/django-material-admin/master/app/demo/screens/pyself.png
|
|
172
|
-
:target: https://pyschool.tech/lessons/django-material-admin-installation
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
==================
|
|
176
|
-
Instruções de vídeo
|
|
177
|
-
==================
|
|
178
|
-
|
|
|
179
|
-
|
|
|
180
|
-
- Instalar Django
|
|
181
|
-
|
|
182
|
-
.. image:: https://raw.githubusercontent.com/MaistrenkoAnton/django-material-admin/master/app/demo/screens/material1.png
|
|
183
|
-
:target: https://youtu.be/LiTcyD9A1A0
|
|
184
|
-
|
|
|
185
|
-
|
|
|
186
|
-
- Instalar materialdash
|
|
187
|
-
|
|
188
|
-
.. image:: https://raw.githubusercontent.com/MaistrenkoAnton/django-material-admin/master/app/demo/screens/material2.png
|
|
189
|
-
:target: https://youtu.be/trY492bgNQU
|
|
190
|
-
|
|
|
191
|
-
|
|
|
192
|
-
- Cadastro de modelos para interface de administração de materiais
|
|
193
|
-
|
|
194
|
-
.. image:: https://raw.githubusercontent.com/MaistrenkoAnton/django-material-admin/master/app/demo/screens/material3.png
|
|
195
|
-
:target: https://youtu.be/_ifWi-a1z6M
|
|
196
|
-
|
|
197
|
-
|