django-cfg 1.4.88__py3-none-any.whl → 1.4.89__py3-none-any.whl
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.
Potentially problematic release.
This version of django-cfg might be problematic. Click here for more details.
- django_cfg/__init__.py +1 -1
- django_cfg/apps/centrifugo/views/__init__.py +0 -2
- django_cfg/apps/dashboard/services/__init__.py +2 -0
- django_cfg/apps/dashboard/services/overview_service.py +205 -0
- django_cfg/apps/frontend/test_routing.py +134 -0
- django_cfg/apps/frontend/views.py +69 -28
- django_cfg/apps/urls.py +0 -1
- django_cfg/core/builders/apps_builder.py +0 -58
- django_cfg/modules/django_unfold/__init__.py +5 -24
- django_cfg/modules/django_unfold/models/__init__.py +0 -23
- django_cfg/modules/django_unfold/models/config.py +11 -65
- django_cfg/modules/django_unfold/{dashboard.py → navigation.py} +21 -152
- django_cfg/modules/django_unfold/tailwind.py +2 -4
- django_cfg/pyproject.toml +1 -1
- django_cfg/registry/third_party.py +0 -9
- django_cfg/routing/callbacks.py +1 -43
- django_cfg/static/frontend/admin/404/index.html +1 -1
- django_cfg/static/frontend/admin/404.html +1 -1
- django_cfg/static/frontend/admin/500/index.html +1 -1
- django_cfg/static/frontend/admin/_next/static/{D_d9HRw5Yn7BRHAX5q89_ → 0sN9ktsgXH48ygtGSrhfu}/_buildManifest.js +1 -1
- django_cfg/static/frontend/admin/_next/static/chunks/50314-9443faa6df24aebf.js +1 -0
- django_cfg/static/frontend/admin/_next/static/chunks/pages/{_app-1c0fff0f59a6d683.js → _app-c7dcd3aa616fab68.js} +1 -1
- django_cfg/static/frontend/admin/_next/static/chunks/pages/private/{centrifugo-44a8313fa040e9ad.js → centrifugo-f9ecbc3ae0052a03.js} +1 -1
- django_cfg/static/frontend/admin/auth/index.html +1 -1
- django_cfg/static/frontend/admin/index.html +1 -1
- django_cfg/static/frontend/admin/legal/cookies/index.html +1 -1
- django_cfg/static/frontend/admin/legal/privacy/index.html +1 -1
- django_cfg/static/frontend/admin/legal/security/index.html +1 -1
- django_cfg/static/frontend/admin/legal/terms/index.html +1 -1
- django_cfg/static/frontend/admin/private/centrifugo/index.html +1 -1
- django_cfg/static/frontend/admin/private/index.html +1 -1
- django_cfg/static/frontend/admin/private/profile/index.html +1 -1
- django_cfg/static/frontend/admin/private/ui/index.html +2 -2
- {django_cfg-1.4.88.dist-info → django_cfg-1.4.89.dist-info}/METADATA +1 -1
- {django_cfg-1.4.88.dist-info → django_cfg-1.4.89.dist-info}/RECORD +39 -143
- django_cfg/apps/centrifugo/static/django_cfg_centrifugo/css/dashboard.css +0 -260
- django_cfg/apps/centrifugo/static/django_cfg_centrifugo/js/dashboard/live_channels.mjs +0 -313
- django_cfg/apps/centrifugo/static/django_cfg_centrifugo/js/dashboard/live_testing.mjs +0 -803
- django_cfg/apps/centrifugo/static/django_cfg_centrifugo/js/dashboard/main.mjs +0 -341
- django_cfg/apps/centrifugo/static/django_cfg_centrifugo/js/dashboard/overview.mjs +0 -432
- django_cfg/apps/centrifugo/static/django_cfg_centrifugo/js/dashboard/testing.mjs +0 -33
- django_cfg/apps/centrifugo/static/django_cfg_centrifugo/js/dashboard/websocket.mjs +0 -210
- django_cfg/apps/centrifugo/templates/django_cfg_centrifugo/components/channels_content.html +0 -46
- django_cfg/apps/centrifugo/templates/django_cfg_centrifugo/components/live_channels_content.html +0 -123
- django_cfg/apps/centrifugo/templates/django_cfg_centrifugo/components/overview_content.html +0 -45
- django_cfg/apps/centrifugo/templates/django_cfg_centrifugo/components/publishes_content.html +0 -84
- django_cfg/apps/centrifugo/templates/django_cfg_centrifugo/components/stat_cards.html +0 -53
- django_cfg/apps/centrifugo/templates/django_cfg_centrifugo/components/system_status.html +0 -91
- django_cfg/apps/centrifugo/templates/django_cfg_centrifugo/components/tab_navigation.html +0 -29
- django_cfg/apps/centrifugo/templates/django_cfg_centrifugo/components/testing_tools.html +0 -415
- django_cfg/apps/centrifugo/templates/django_cfg_centrifugo/layout/base.html +0 -61
- django_cfg/apps/centrifugo/templates/django_cfg_centrifugo/pages/dashboard.html +0 -58
- django_cfg/apps/centrifugo/templates/django_cfg_centrifugo/tags/connection_script.html +0 -48
- django_cfg/apps/centrifugo/templatetags/__init__.py +0 -1
- django_cfg/apps/centrifugo/templatetags/centrifugo_tags.py +0 -81
- django_cfg/apps/centrifugo/urls_admin.py +0 -20
- django_cfg/apps/centrifugo/views/dashboard.py +0 -28
- django_cfg/modules/django_dashboard/__init__.py +0 -23
- django_cfg/modules/django_dashboard/components.py +0 -312
- django_cfg/modules/django_dashboard/debug.py +0 -174
- django_cfg/modules/django_dashboard/management/__init__.py +0 -0
- django_cfg/modules/django_dashboard/management/commands/__init__.py +0 -0
- django_cfg/modules/django_dashboard/management/commands/debug_dashboard.py +0 -109
- django_cfg/modules/django_dashboard/sections/__init__.py +0 -1
- django_cfg/modules/django_dashboard/sections/base.py +0 -129
- django_cfg/modules/django_dashboard/sections/commands.py +0 -33
- django_cfg/modules/django_dashboard/sections/documentation.py +0 -393
- django_cfg/modules/django_dashboard/sections/overview.py +0 -398
- django_cfg/modules/django_dashboard/sections/stats.py +0 -48
- django_cfg/modules/django_dashboard/sections/system.py +0 -74
- django_cfg/modules/django_dashboard/sections/widgets.py +0 -222
- django_cfg/modules/django_unfold/callbacks/__init__.py +0 -9
- django_cfg/modules/django_unfold/callbacks/actions.py +0 -51
- django_cfg/modules/django_unfold/callbacks/apizones.py +0 -122
- django_cfg/modules/django_unfold/callbacks/base.py +0 -290
- django_cfg/modules/django_unfold/callbacks/charts.py +0 -223
- django_cfg/modules/django_unfold/callbacks/commands.py +0 -40
- django_cfg/modules/django_unfold/callbacks/main.py +0 -322
- django_cfg/modules/django_unfold/callbacks/statistics.py +0 -240
- django_cfg/modules/django_unfold/callbacks/system.py +0 -180
- django_cfg/modules/django_unfold/callbacks/users.py +0 -65
- django_cfg/modules/django_unfold/models/dashboard.py +0 -207
- django_cfg/modules/django_unfold/models/tabs.py +0 -26
- django_cfg/modules/django_unfold/models.py +0 -98
- django_cfg/modules/django_unfold/templates/unfold/helpers/app_list.html +0 -102
- django_cfg/static/frontend/admin/_next/static/chunks/50314-5ec79b293c2283dd.js +0 -1
- django_cfg/templates/admin/sections/commands_section.html +0 -5
- django_cfg/templates/admin/sections/documentation_section.html +0 -5
- django_cfg/templates/admin/sections/overview_section.html +0 -5
- django_cfg/templates/admin/sections/stats_section.html +0 -5
- django_cfg/templates/admin/sections/system_section.html +0 -5
- django_cfg/templates/admin/sections/widgets_section.html +0 -11
- django_cfg/templates/admin_old/components/action_grid.html +0 -49
- django_cfg/templates/admin_old/components/card.html +0 -50
- django_cfg/templates/admin_old/components/data_table.html +0 -67
- django_cfg/templates/admin_old/components/metric_card.html +0 -39
- django_cfg/templates/admin_old/components/modal.html +0 -58
- django_cfg/templates/admin_old/components/progress_bar.html +0 -20
- django_cfg/templates/admin_old/components/section_header.html +0 -26
- django_cfg/templates/admin_old/components/stat_item.html +0 -32
- django_cfg/templates/admin_old/components/stats_grid.html +0 -72
- django_cfg/templates/admin_old/components/status_badge.html +0 -28
- django_cfg/templates/admin_old/components/user_avatar.html +0 -27
- django_cfg/templates/admin_old/constance/change_list.html +0 -74
- django_cfg/templates/admin_old/constance/includes/default_value.html +0 -24
- django_cfg/templates/admin_old/constance/includes/fieldset_header.html +0 -15
- django_cfg/templates/admin_old/constance/includes/results_list.html +0 -16
- django_cfg/templates/admin_old/constance/includes/setting_row.html +0 -50
- django_cfg/templates/admin_old/constance/includes/table_headers.html +0 -10
- django_cfg/templates/admin_old/examples/component_class_example.html +0 -156
- django_cfg/templates/admin_old/import_export/change_list_export.html +0 -24
- django_cfg/templates/admin_old/import_export/change_list_import.html +0 -24
- django_cfg/templates/admin_old/import_export/change_list_import_export.html +0 -34
- django_cfg/templates/admin_old/index.html +0 -80
- django_cfg/templates/admin_old/index_new.html +0 -119
- django_cfg/templates/admin_old/layouts/base_dashboard.html +0 -62
- django_cfg/templates/admin_old/layouts/dashboard_with_tabs.html +0 -176
- django_cfg/templates/admin_old/sections/commands_section.html +0 -549
- django_cfg/templates/admin_old/sections/documentation_section.html +0 -152
- django_cfg/templates/admin_old/sections/overview_section.html +0 -112
- django_cfg/templates/admin_old/sections/stats_section.html +0 -35
- django_cfg/templates/admin_old/sections/system_section.html +0 -99
- django_cfg/templates/admin_old/sections/widgets_section.html +0 -129
- django_cfg/templates/admin_old/snippets/components/activity_tracker.html +0 -70
- django_cfg/templates/admin_old/snippets/components/charts_section.html +0 -113
- django_cfg/templates/admin_old/snippets/components/django_commands.html +0 -270
- django_cfg/templates/admin_old/snippets/components/quick_actions.html +0 -66
- django_cfg/templates/admin_old/snippets/components/recent_activity_improved.html +0 -25
- django_cfg/templates/admin_old/snippets/components/recent_users_table.html +0 -102
- django_cfg/templates/admin_old/snippets/components/stats_cards.html +0 -4
- django_cfg/templates/admin_old/snippets/components/stats_tiles.html +0 -92
- django_cfg/templates/admin_old/snippets/components/system_health.html +0 -22
- django_cfg/templates/admin_old/snippets/components/system_metrics.html +0 -199
- django_cfg/templates/admin_old/snippets/components/user_permissions.html +0 -57
- django_cfg/templates/admin_old/snippets/tabs/app_stats_tab.html +0 -201
- django_cfg/templates/admin_old/snippets/tabs/commands_tab.html +0 -114
- django_cfg/templates/admin_old/snippets/tabs/documentation_tab.html +0 -42
- django_cfg/templates/admin_old/snippets/tabs/overview_tab.html +0 -116
- django_cfg/templates/admin_old/snippets/tabs/stats_tab.html +0 -89
- django_cfg/templates/admin_old/snippets/tabs/users_tab.html +0 -51
- django_cfg/templates/admin_old/snippets/tabs/widgets_tab.html +0 -38
- django_cfg/templates/admin_old/snippets/zones/zones_table.html +0 -176
- /django_cfg/static/frontend/admin/_next/static/{D_d9HRw5Yn7BRHAX5q89_ → 0sN9ktsgXH48ygtGSrhfu}/_ssgManifest.js +0 -0
- {django_cfg-1.4.88.dist-info → django_cfg-1.4.89.dist-info}/WHEEL +0 -0
- {django_cfg-1.4.88.dist-info → django_cfg-1.4.89.dist-info}/entry_points.txt +0 -0
- {django_cfg-1.4.88.dist-info → django_cfg-1.4.89.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
{% extends 'admin/base.html' %}
|
|
2
|
-
|
|
3
|
-
{% load unfold %}
|
|
4
|
-
|
|
5
|
-
{% block extrahead %}
|
|
6
|
-
{{ block.super }}
|
|
7
|
-
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
|
8
|
-
<!-- Removed Tailwind CDN - using CSS-only solution -->
|
|
9
|
-
|
|
10
|
-
<!-- Alpine.js Components - Load before Alpine.js -->
|
|
11
|
-
{% load static %}
|
|
12
|
-
<script src="{% static 'admin/js/utils.js' %}"></script>
|
|
13
|
-
<script src="{% static 'admin/js/alpine/dashboard-tabs.js' %}"></script>
|
|
14
|
-
|
|
15
|
-
<!-- Note: Alpine.js and its plugins are already loaded by Unfold's skeleton.html -->
|
|
16
|
-
<!-- Removed duplicate Alpine.js CDN loading to prevent conflicts with Unfold's Alpine instance -->
|
|
17
|
-
|
|
18
|
-
<!-- Admin Styles -->
|
|
19
|
-
<link rel="stylesheet" href="{% static 'admin/css/layout.css' %}">
|
|
20
|
-
<link rel="stylesheet" href="{% static 'admin/css/theme.css' %}">
|
|
21
|
-
<link rel="stylesheet" href="{% static 'admin/css/tabs.css' %}">
|
|
22
|
-
|
|
23
|
-
<!-- JavaScript Component Notes:
|
|
24
|
-
- Dashboard tabs functionality: dashboard-tabs.js Alpine component
|
|
25
|
-
- Toggle category functionality: commands-panel.js Alpine component
|
|
26
|
-
- Command execution: command-modal.js Alpine component
|
|
27
|
-
- copyToClipboard and getCookie: dashboard.js (loaded in base_dashboard.html)
|
|
28
|
-
-->
|
|
29
|
-
{% endblock %}
|
|
30
|
-
|
|
31
|
-
{% block breadcrumbs %}{% endblock %}
|
|
32
|
-
|
|
33
|
-
{% block title %}
|
|
34
|
-
{% if subtitle %}
|
|
35
|
-
{{ subtitle }} |
|
|
36
|
-
{% endif %}
|
|
37
|
-
{{ title }} | {{ site_title|default:'Django site admin' }}
|
|
38
|
-
{% endblock %}
|
|
39
|
-
|
|
40
|
-
{% block branding %}
|
|
41
|
-
{% include "unfold/helpers/site_branding.html" %}
|
|
42
|
-
{% endblock %}
|
|
43
|
-
|
|
44
|
-
{% block content %}
|
|
45
|
-
<!-- Main Dashboard Container -->
|
|
46
|
-
{% component "unfold/components/container.html" %}
|
|
47
|
-
<div x-data="dashboardTabs">
|
|
48
|
-
<!-- Tabs Navigation -->
|
|
49
|
-
<div class="flex gap-1 mb-4" id="dashboard-tabs">
|
|
50
|
-
<button
|
|
51
|
-
type="button"
|
|
52
|
-
@click="switchTab(0)"
|
|
53
|
-
:class="isActive(0) ? 'active' : ''"
|
|
54
|
-
class="px-4 py-3 rounded-t-lg focus:outline-none font-semibold"
|
|
55
|
-
>
|
|
56
|
-
<span class="material-icons mr-2 align-middle text-sm">dashboard</span>
|
|
57
|
-
Overview
|
|
58
|
-
</button>
|
|
59
|
-
<button
|
|
60
|
-
type="button"
|
|
61
|
-
@click="switchTab(1)"
|
|
62
|
-
:class="isActive(1) ? 'active' : ''"
|
|
63
|
-
class="px-4 py-3 rounded-t-lg focus:outline-none"
|
|
64
|
-
>
|
|
65
|
-
<span class="material-icons mr-2 align-middle text-sm">public</span>
|
|
66
|
-
API Zones
|
|
67
|
-
</button>
|
|
68
|
-
<button
|
|
69
|
-
type="button"
|
|
70
|
-
@click="switchTab(2)"
|
|
71
|
-
:class="isActive(2) ? 'active' : ''"
|
|
72
|
-
class="px-4 py-3 rounded-t-lg focus:outline-none"
|
|
73
|
-
>
|
|
74
|
-
<span class="material-icons mr-2 align-middle text-sm">people</span>
|
|
75
|
-
Users
|
|
76
|
-
</button>
|
|
77
|
-
<button
|
|
78
|
-
type="button"
|
|
79
|
-
@click="switchTab(3)"
|
|
80
|
-
:class="isActive(3) ? 'active' : ''"
|
|
81
|
-
class="px-4 py-3 rounded-t-lg focus:outline-none"
|
|
82
|
-
>
|
|
83
|
-
<span class="material-icons mr-2 align-middle text-sm">settings</span>
|
|
84
|
-
System
|
|
85
|
-
</button>
|
|
86
|
-
<button
|
|
87
|
-
type="button"
|
|
88
|
-
@click="switchTab(4)"
|
|
89
|
-
:class="isActive(4) ? 'active' : ''"
|
|
90
|
-
class="px-4 py-3 rounded-t-lg focus:outline-none"
|
|
91
|
-
>
|
|
92
|
-
<span class="material-icons mr-2 align-middle text-sm">analytics</span>
|
|
93
|
-
Statistics
|
|
94
|
-
</button>
|
|
95
|
-
<button
|
|
96
|
-
type="button"
|
|
97
|
-
@click="switchTab(5)"
|
|
98
|
-
:class="isActive(5) ? 'active' : ''"
|
|
99
|
-
class="px-4 py-3 rounded-t-lg focus:outline-none"
|
|
100
|
-
>
|
|
101
|
-
<span class="material-icons mr-2 align-middle text-sm">apps</span>
|
|
102
|
-
App Stats
|
|
103
|
-
</button>
|
|
104
|
-
<button
|
|
105
|
-
type="button"
|
|
106
|
-
@click="switchTab(6)"
|
|
107
|
-
:class="isActive(6) ? 'active' : ''"
|
|
108
|
-
class="px-4 py-3 rounded-t-lg focus:outline-none"
|
|
109
|
-
>
|
|
110
|
-
<span class="material-icons mr-2 align-middle text-sm">terminal</span>
|
|
111
|
-
Commands
|
|
112
|
-
</button>
|
|
113
|
-
<button
|
|
114
|
-
type="button"
|
|
115
|
-
@click="switchTab(7)"
|
|
116
|
-
:class="isActive(7) ? 'active' : ''"
|
|
117
|
-
class="px-4 py-3 rounded-t-lg focus:outline-none"
|
|
118
|
-
>
|
|
119
|
-
<span class="material-icons mr-2 align-middle text-sm">widgets</span>
|
|
120
|
-
Widgets
|
|
121
|
-
</button>
|
|
122
|
-
</div>
|
|
123
|
-
|
|
124
|
-
<div class="flex flex-col gap-5">
|
|
125
|
-
|
|
126
|
-
<!-- Tab Content with improved spacing -->
|
|
127
|
-
<div class="tab-content" x-show="isActive(0)">
|
|
128
|
-
{% block overview_tab %}{% endblock %}
|
|
129
|
-
</div>
|
|
130
|
-
|
|
131
|
-
<div class="tab-content" x-show="isActive(1)">
|
|
132
|
-
{% block zones_tab %}{% endblock %}
|
|
133
|
-
</div>
|
|
134
|
-
|
|
135
|
-
<div class="tab-content" x-show="isActive(2)">
|
|
136
|
-
{% block users_tab %}{% endblock %}
|
|
137
|
-
</div>
|
|
138
|
-
|
|
139
|
-
<div class="tab-content" x-show="isActive(3)">
|
|
140
|
-
{% block system_tab %}{% endblock %}
|
|
141
|
-
</div>
|
|
142
|
-
|
|
143
|
-
<div class="tab-content" x-show="isActive(4)">
|
|
144
|
-
{% block stats_tab %}{% endblock %}
|
|
145
|
-
</div>
|
|
146
|
-
|
|
147
|
-
<div class="tab-content" x-show="isActive(5)">
|
|
148
|
-
{% block app_stats_tab %}{% endblock %}
|
|
149
|
-
</div>
|
|
150
|
-
|
|
151
|
-
<div class="tab-content" x-show="isActive(6)">
|
|
152
|
-
{% block commands_tab %}{% endblock %}
|
|
153
|
-
</div>
|
|
154
|
-
|
|
155
|
-
<div class="tab-content" x-show="isActive(7)">
|
|
156
|
-
{% block widgets_tab %}{% endblock %}
|
|
157
|
-
</div>
|
|
158
|
-
</div>
|
|
159
|
-
</div>
|
|
160
|
-
|
|
161
|
-
<!-- Footer Section -->
|
|
162
|
-
<div class="text-center py-8 border-t theme-border mt-5">
|
|
163
|
-
<p class="text-sm text-gray-500 dark:text-gray-400">
|
|
164
|
-
{% load django_cfg %}
|
|
165
|
-
<a href="{% lib_site_url %}" class="text-blue-600 hover:text-blue-700 font-medium">
|
|
166
|
-
{% lib_name %}
|
|
167
|
-
</a>
|
|
168
|
-
<span class="mx-2">•</span>
|
|
169
|
-
<a href="{% lib_health_url %}" class="text-blue-600 hover:text-blue-700">
|
|
170
|
-
System Health
|
|
171
|
-
</a>
|
|
172
|
-
</p>
|
|
173
|
-
</div>
|
|
174
|
-
|
|
175
|
-
{% endcomponent %}
|
|
176
|
-
{% endblock %}
|