vanta-admin 0.1.3__tar.gz → 0.1.5__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.
Files changed (41) hide show
  1. {vanta_admin-0.1.3/vanta_admin.egg-info → vanta_admin-0.1.5}/PKG-INFO +45 -8
  2. vanta_admin-0.1.5/README.md +103 -0
  3. {vanta_admin-0.1.3 → vanta_admin-0.1.5}/pyproject.toml +4 -4
  4. {vanta_admin-0.1.3 → vanta_admin-0.1.5}/vanta_admin/apps.py +1 -1
  5. vanta_admin-0.1.3/vanta_admin/static/admin/css/theme.css → vanta_admin-0.1.5/vanta_admin/static/admin/css/theme.admin.css +15 -981
  6. vanta_admin-0.1.5/vanta_admin/static/admin/css/theme.base.css +347 -0
  7. vanta_admin-0.1.5/vanta_admin/static/admin/css/theme.css +5 -0
  8. vanta_admin-0.1.5/vanta_admin/static/admin/css/theme.login.css +231 -0
  9. vanta_admin-0.1.5/vanta_admin/static/admin/css/theme.responsive.css +291 -0
  10. vanta_admin-0.1.5/vanta_admin/static/admin/css/theme.tokens.css +200 -0
  11. vanta_admin-0.1.5/vanta_admin/static/admin/css/two_factor.css +496 -0
  12. {vanta_admin-0.1.3 → vanta_admin-0.1.5}/vanta_admin/static/admin/js/sidebar.js +2 -0
  13. {vanta_admin-0.1.3 → vanta_admin-0.1.5}/vanta_admin/templates/admin/index.html +11 -14
  14. {vanta_admin-0.1.3 → vanta_admin-0.1.5}/vanta_admin/templates/admin/nav_sidebar.html +5 -27
  15. vanta_admin-0.1.5/vanta_admin/templates/two_factor/_base.html +29 -0
  16. vanta_admin-0.1.5/vanta_admin/templates/two_factor/_base_focus.html +13 -0
  17. vanta_admin-0.1.5/vanta_admin/templates/two_factor/_wizard_actions.html +15 -0
  18. vanta_admin-0.1.5/vanta_admin/templates/two_factor/core/login.html +56 -0
  19. vanta_admin-0.1.5/vanta_admin/templates/two_factor/core/setup_complete.html +24 -0
  20. vanta_admin-0.1.5/vanta_admin/templates/two_factor/profile/profile.html +60 -0
  21. vanta_admin-0.1.5/vanta_admin/templatetags/admin_theme.py +308 -0
  22. {vanta_admin-0.1.3 → vanta_admin-0.1.5/vanta_admin.egg-info}/PKG-INFO +45 -8
  23. {vanta_admin-0.1.3 → vanta_admin-0.1.5}/vanta_admin.egg-info/SOURCES.txt +12 -0
  24. vanta_admin-0.1.3/README.md +0 -66
  25. vanta_admin-0.1.3/vanta_admin/templatetags/admin_theme.py +0 -81
  26. {vanta_admin-0.1.3 → vanta_admin-0.1.5}/LICENSE +0 -0
  27. {vanta_admin-0.1.3 → vanta_admin-0.1.5}/MANIFEST.in +0 -0
  28. {vanta_admin-0.1.3 → vanta_admin-0.1.5}/setup.cfg +0 -0
  29. {vanta_admin-0.1.3 → vanta_admin-0.1.5}/vanta_admin/__init__.py +0 -0
  30. {vanta_admin-0.1.3 → vanta_admin-0.1.5}/vanta_admin/templates/admin/app_index.html +0 -0
  31. {vanta_admin-0.1.3 → vanta_admin-0.1.5}/vanta_admin/templates/admin/base.html +0 -0
  32. {vanta_admin-0.1.3 → vanta_admin-0.1.5}/vanta_admin/templates/admin/base_site.html +0 -0
  33. {vanta_admin-0.1.3 → vanta_admin-0.1.5}/vanta_admin/templates/admin/change_form.html +0 -0
  34. {vanta_admin-0.1.3 → vanta_admin-0.1.5}/vanta_admin/templates/admin/change_list.html +0 -0
  35. {vanta_admin-0.1.3 → vanta_admin-0.1.5}/vanta_admin/templates/admin/filter.html +0 -0
  36. {vanta_admin-0.1.3 → vanta_admin-0.1.5}/vanta_admin/templates/admin/includes/breadcrumbs.html +0 -0
  37. {vanta_admin-0.1.3 → vanta_admin-0.1.5}/vanta_admin/templates/admin/login.html +0 -0
  38. {vanta_admin-0.1.3 → vanta_admin-0.1.5}/vanta_admin/templatetags/__init__.py +0 -0
  39. {vanta_admin-0.1.3 → vanta_admin-0.1.5}/vanta_admin.egg-info/dependency_links.txt +0 -0
  40. {vanta_admin-0.1.3 → vanta_admin-0.1.5}/vanta_admin.egg-info/requires.txt +0 -0
  41. {vanta_admin-0.1.3 → vanta_admin-0.1.5}/vanta_admin.egg-info/top_level.txt +0 -0
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vanta-admin
3
- Version: 0.1.3
3
+ Version: 0.1.5
4
4
  Summary: A sharp, dark, and portable Django admin theme forged for builders who want the admin to feel less default.
5
5
  Author: oli-dev0
6
6
  License-Expression: MIT
7
7
  Project-URL: Homepage, https://vanta-admin.org/
8
- Project-URL: Documentation, https://github.com/oli-dev0/vanta-admin/blob/main/packages/vanta_admin/README.md
9
- Project-URL: Repository, https://github.com/oli-dev0/vanta-admin
10
- Project-URL: Issues, https://github.com/oli-dev0/vanta-admin/issues
8
+ Project-URL: Documentation, https://github.com/oli-dev0/vanta-admin-theme/blob/main/README.md
9
+ Project-URL: Repository, https://github.com/oli-dev0/vanta-admin-theme
10
+ Project-URL: Issues, https://github.com/oli-dev0/vanta-admin-theme/issues
11
11
  Classifier: Framework :: Django
12
12
  Classifier: Framework :: Django :: 6.0
13
13
  Classifier: Programming Language :: Python :: 3
@@ -30,6 +30,20 @@ and a standalone structure that stays close to Django's admin template system.
30
30
  It is designed to be portable and to avoid frontend runtime dependencies outside
31
31
  standard Django admin behavior.
32
32
 
33
+ ## What It Adds
34
+
35
+ - A fixed sidebar with persistent collapsed state and remembered open sections.
36
+ - Light and dark theme support through CSS tokens.
37
+ - A denser dashboard, changelist, filter, message, and form presentation.
38
+ - Default icons for common admin apps, models, and recent actions.
39
+ - A responsive mobile sidebar overlay.
40
+ - Optional themed templates for `django-two-factor-auth` login, setup completion,
41
+ account security, and backup-token flows.
42
+
43
+ Vanta Admin does not replace Django admin, change your permissions, or configure
44
+ two-factor authentication for you. If your project uses `django-two-factor-auth`,
45
+ Vanta provides matching templates and CSS for the visible 2FA screens.
46
+
33
47
  ## Tested With
34
48
  Vanta Admin was created and tested with:
35
49
 
@@ -54,12 +68,12 @@ uv add vanta-admin
54
68
 
55
69
  ### Directly from GitHub with pip
56
70
  ```bash
57
- pip install "git+https://github.com/oli-dev0/vanta-admin.git@main#subdirectory=packages/vanta_admin"
71
+ pip install "git+https://github.com/oli-dev0/vanta-admin-theme.git@main"
58
72
  ```
59
73
 
60
74
  ### Directly from GitHub with uv
61
75
  ```bash
62
- uv add "git+https://github.com/oli-dev0/vanta-admin.git@main#subdirectory=packages/vanta_admin"
76
+ uv add "git+https://github.com/oli-dev0/vanta-admin-theme.git@main"
63
77
  ```
64
78
 
65
79
  ## Django Setup
@@ -81,11 +95,34 @@ Then run your normal static asset flow for Django:
81
95
  python manage.py collectstatic
82
96
  ```
83
97
 
98
+ ## Optional Two-Factor Auth Theme Support
99
+
100
+ If your project already uses `django-two-factor-auth`, place `vanta_admin` before
101
+ the two-factor apps and before `django.contrib.admin` so Vanta's templates are
102
+ found first:
103
+
104
+ ```python
105
+ INSTALLED_APPS = [
106
+ 'vanta_admin',
107
+ 'django_otp',
108
+ 'django_otp.plugins.otp_static',
109
+ 'django_otp.plugins.otp_totp',
110
+ 'two_factor',
111
+ 'django.contrib.admin',
112
+ # ...
113
+ ]
114
+ ```
115
+
116
+ Configure `django-two-factor-auth` normally in your project URLs and settings.
117
+ Vanta only provides the theme layer.
118
+
84
119
  ## Notes
85
120
  - The package name on PyPI is `vanta-admin`.
86
121
  - The Django app label you add to `INSTALLED_APPS` is `vanta_admin`.
122
+ - Two-factor auth support is visual/template support for projects that already
123
+ install and configure `django-two-factor-auth`.
87
124
 
88
125
  ## Links
89
126
  - Website: https://vanta-admin.org/
90
- - Repository: https://github.com/oli-dev0/vanta-admin
91
- - Issues: https://github.com/oli-dev0/vanta-admin/issues
127
+ - Repository: https://github.com/oli-dev0/vanta-admin-theme
128
+ - Issues: https://github.com/oli-dev0/vanta-admin-theme/issues
@@ -0,0 +1,103 @@
1
+ # Vanta Admin
2
+ Vanta Admin is a Django admin theme with a darker interface, tighter density,
3
+ and a standalone structure that stays close to Django's admin template system.
4
+
5
+ It is designed to be portable and to avoid frontend runtime dependencies outside
6
+ standard Django admin behavior.
7
+
8
+ ## What It Adds
9
+
10
+ - A fixed sidebar with persistent collapsed state and remembered open sections.
11
+ - Light and dark theme support through CSS tokens.
12
+ - A denser dashboard, changelist, filter, message, and form presentation.
13
+ - Default icons for common admin apps, models, and recent actions.
14
+ - A responsive mobile sidebar overlay.
15
+ - Optional themed templates for `django-two-factor-auth` login, setup completion,
16
+ account security, and backup-token flows.
17
+
18
+ Vanta Admin does not replace Django admin, change your permissions, or configure
19
+ two-factor authentication for you. If your project uses `django-two-factor-auth`,
20
+ Vanta provides matching templates and CSS for the visible 2FA screens.
21
+
22
+ ## Tested With
23
+ Vanta Admin was created and tested with:
24
+
25
+ - Python 3.13.14
26
+ - Django 6.0.6
27
+
28
+ The package currently declares support for Django 5.2 up to, but not including,
29
+ Django 7. Older supported-range versions may also work well, but they have not
30
+ been verified as thoroughly yet.
31
+
32
+ ## Installation
33
+
34
+ ### PyPI with pip
35
+ ```bash
36
+ pip install vanta-admin
37
+ ```
38
+
39
+ ### PyPI with uv
40
+ ```bash
41
+ uv add vanta-admin
42
+ ```
43
+
44
+ ### Directly from GitHub with pip
45
+ ```bash
46
+ pip install "git+https://github.com/oli-dev0/vanta-admin-theme.git@main"
47
+ ```
48
+
49
+ ### Directly from GitHub with uv
50
+ ```bash
51
+ uv add "git+https://github.com/oli-dev0/vanta-admin-theme.git@main"
52
+ ```
53
+
54
+ ## Django Setup
55
+ In your Django settings file, add `vanta_admin` to `INSTALLED_APPS` before
56
+ `django.contrib.admin` so its templates override the default admin templates.
57
+
58
+ This is usually in `settings.py`, or in your project's active settings module
59
+ if you split settings across multiple files:
60
+ ```python
61
+ INSTALLED_APPS = [
62
+ 'vanta_admin',
63
+ 'django.contrib.admin',
64
+ # ...
65
+ ]
66
+ ```
67
+
68
+ Then run your normal static asset flow for Django:
69
+ ```bash
70
+ python manage.py collectstatic
71
+ ```
72
+
73
+ ## Optional Two-Factor Auth Theme Support
74
+
75
+ If your project already uses `django-two-factor-auth`, place `vanta_admin` before
76
+ the two-factor apps and before `django.contrib.admin` so Vanta's templates are
77
+ found first:
78
+
79
+ ```python
80
+ INSTALLED_APPS = [
81
+ 'vanta_admin',
82
+ 'django_otp',
83
+ 'django_otp.plugins.otp_static',
84
+ 'django_otp.plugins.otp_totp',
85
+ 'two_factor',
86
+ 'django.contrib.admin',
87
+ # ...
88
+ ]
89
+ ```
90
+
91
+ Configure `django-two-factor-auth` normally in your project URLs and settings.
92
+ Vanta only provides the theme layer.
93
+
94
+ ## Notes
95
+ - The package name on PyPI is `vanta-admin`.
96
+ - The Django app label you add to `INSTALLED_APPS` is `vanta_admin`.
97
+ - Two-factor auth support is visual/template support for projects that already
98
+ install and configure `django-two-factor-auth`.
99
+
100
+ ## Links
101
+ - Website: https://vanta-admin.org/
102
+ - Repository: https://github.com/oli-dev0/vanta-admin-theme
103
+ - Issues: https://github.com/oli-dev0/vanta-admin-theme/issues
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "vanta-admin"
7
- version = "0.1.3"
7
+ version = "0.1.5"
8
8
  description = "A sharp, dark, and portable Django admin theme forged for builders who want the admin to feel less default."
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -29,9 +29,9 @@ dependencies = [
29
29
 
30
30
  [project.urls]
31
31
  Homepage = "https://vanta-admin.org/"
32
- Documentation = "https://github.com/oli-dev0/vanta-admin/blob/main/packages/vanta_admin/README.md"
33
- Repository = "https://github.com/oli-dev0/vanta-admin"
34
- Issues = "https://github.com/oli-dev0/vanta-admin/issues"
32
+ Documentation = "https://github.com/oli-dev0/vanta-admin-theme/blob/main/README.md"
33
+ Repository = "https://github.com/oli-dev0/vanta-admin-theme"
34
+ Issues = "https://github.com/oli-dev0/vanta-admin-theme/issues"
35
35
 
36
36
  [tool.setuptools]
37
37
  include-package-data = false
@@ -2,4 +2,4 @@ from django.apps import AppConfig
2
2
 
3
3
 
4
4
  class VantaAdminConfig(AppConfig):
5
- name = 'vanta_admin'
5
+ name = "vanta_admin"