keepup-http 0.5.0__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.
- keepup_http/__init__.py +38 -0
- keepup_http/api_docs.py +76 -0
- keepup_http/body_limit.py +156 -0
- keepup_http/events_api.py +237 -0
- keepup_http/factory.py +562 -0
- keepup_http/lock_routes.py +155 -0
- keepup_http/plugin.py +53 -0
- keepup_http/routes.py +549 -0
- keepup_http/static/css/aos.css +1 -0
- keepup_http/static/css/main_nebula.css +232 -0
- keepup_http/static/css/main_new.css +869 -0
- keepup_http/static/css/tailwind.css +1 -0
- keepup_http/static/index_nebula.html +282 -0
- keepup_http/static/index_new.html +275 -0
- keepup_http/static/js/aos.js +1 -0
- keepup_http/static/js/feather-icons.js +13 -0
- keepup_http/static/js/layout_bootstrap.js +29 -0
- keepup_http/static/js/main_new.js +2076 -0
- keepup_http/static/js/tailwind.js +83 -0
- keepup_http/static/modules/css/background_tasks.css +233 -0
- keepup_http/static/modules/css/cluster.css +16 -0
- keepup_http/static/modules/css/event_manager.css +386 -0
- keepup_http/static/modules/css/integration_logs.css +33 -0
- keepup_http/static/modules/css/metrics.css +115 -0
- keepup_http/static/modules/css/modules.css +189 -0
- keepup_http/static/modules/css/themes.css +563 -0
- keepup_http/static/modules/css/users.css +278 -0
- keepup_http/static/modules/js/background_tasks.js +695 -0
- keepup_http/static/modules/js/chart.js +14 -0
- keepup_http/static/modules/js/chartjs-adapter-date-fns.bundle.min.js +7 -0
- keepup_http/static/modules/js/cluster.js +374 -0
- keepup_http/static/modules/js/event_manager.js +1007 -0
- keepup_http/static/modules/js/integration_logs.js +795 -0
- keepup_http/static/modules/js/metrics.js +929 -0
- keepup_http/static/modules/js/modules.js +1128 -0
- keepup_http/static/modules/js/themes.js +684 -0
- keepup_http/static/modules/js/users.js +898 -0
- keepup_http/web.py +214 -0
- keepup_http-0.5.0.dist-info/METADATA +29 -0
- keepup_http-0.5.0.dist-info/RECORD +43 -0
- keepup_http-0.5.0.dist-info/WHEEL +5 -0
- keepup_http-0.5.0.dist-info/entry_points.txt +2 -0
- keepup_http-0.5.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
/* Styles of the users section only */
|
|
2
|
+
.users-table {
|
|
3
|
+
width: 100%;
|
|
4
|
+
border-collapse: collapse;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.users-table th,
|
|
8
|
+
.users-table td {
|
|
9
|
+
padding: 12px;
|
|
10
|
+
text-align: left;
|
|
11
|
+
border-bottom: 1px solid #e5e7eb;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.users-table th {
|
|
15
|
+
background-color: #f9fafb;
|
|
16
|
+
font-weight: 600;
|
|
17
|
+
color: #374151;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.user-actions {
|
|
21
|
+
min-width: 300px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.user-action-btn {
|
|
25
|
+
display: inline-flex;
|
|
26
|
+
align-items: center;
|
|
27
|
+
justify-content: center;
|
|
28
|
+
border-radius: 4px;
|
|
29
|
+
font-weight: 500;
|
|
30
|
+
transition: all 0.2s;
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
white-space: nowrap;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.user-action-btn:hover {
|
|
36
|
+
transform: translateY(-1px);
|
|
37
|
+
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.btn-block {
|
|
41
|
+
background-color: #dc2626;
|
|
42
|
+
color: white;
|
|
43
|
+
border: 1px solid #dc2626;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.btn-block:hover {
|
|
47
|
+
background-color: #b91c1c;
|
|
48
|
+
border-color: #b91c1c;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.btn-activate {
|
|
52
|
+
background-color: #059669;
|
|
53
|
+
color: white;
|
|
54
|
+
border: 1px solid #059669;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.btn-activate:hover {
|
|
58
|
+
background-color: #047857;
|
|
59
|
+
border-color: #047857;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.btn-make-admin {
|
|
63
|
+
background-color: #7c3aed;
|
|
64
|
+
color: white;
|
|
65
|
+
border: 1px solid #7c3aed;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.btn-make-admin:hover {
|
|
69
|
+
background-color: #6d28d9;
|
|
70
|
+
border-color: #6d28d9;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.btn-make-client {
|
|
74
|
+
background-color: #f59e0b;
|
|
75
|
+
color: white;
|
|
76
|
+
border: 1px solid #f59e0b;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.btn-make-client:hover {
|
|
80
|
+
background-color: #d97706;
|
|
81
|
+
border-color: #d97706;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.btn-change-password {
|
|
85
|
+
background-color: #2563eb;
|
|
86
|
+
color: white;
|
|
87
|
+
border: 1px solid #2563eb;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.btn-change-password:hover {
|
|
91
|
+
background-color: #1d4ed8;
|
|
92
|
+
border-color: #1d4ed8;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.status-badge {
|
|
96
|
+
display: inline-flex;
|
|
97
|
+
align-items: center;
|
|
98
|
+
padding: 0.25rem 0.75rem;
|
|
99
|
+
border-radius: 9999px;
|
|
100
|
+
font-size: 0.75rem;
|
|
101
|
+
font-weight: 600;
|
|
102
|
+
text-transform: uppercase;
|
|
103
|
+
letter-spacing: 0.05em;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.status-active {
|
|
107
|
+
background-color: #d1fae5;
|
|
108
|
+
color: #065f46;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.status-blocked {
|
|
112
|
+
background-color: #fee2e2;
|
|
113
|
+
color: #991b1b;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.role-badge {
|
|
117
|
+
display: inline-flex;
|
|
118
|
+
align-items: center;
|
|
119
|
+
padding: 0.25rem 0.75rem;
|
|
120
|
+
border-radius: 9999px;
|
|
121
|
+
font-size: 0.75rem;
|
|
122
|
+
font-weight: 600;
|
|
123
|
+
text-transform: uppercase;
|
|
124
|
+
letter-spacing: 0.05em;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.role-admin {
|
|
128
|
+
background-color: #ede9fe;
|
|
129
|
+
color: #5b21b6;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.role-client {
|
|
133
|
+
background-color: #dbeafe;
|
|
134
|
+
color: #1e40af;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.users-table tr:hover {
|
|
138
|
+
background-color: #f9fafb;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.user-actions {
|
|
142
|
+
display: flex;
|
|
143
|
+
gap: 8px;
|
|
144
|
+
flex-wrap: wrap;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.user-action-btn {
|
|
148
|
+
padding: 4px 8px;
|
|
149
|
+
border-radius: 4px;
|
|
150
|
+
font-size: 12px;
|
|
151
|
+
font-weight: 500;
|
|
152
|
+
cursor: pointer;
|
|
153
|
+
border: none;
|
|
154
|
+
transition: all 0.2s;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.user-action-btn:hover {
|
|
158
|
+
transform: translateY(-1px);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.btn-activate {
|
|
162
|
+
background-color: #dcfce7;
|
|
163
|
+
color: #166534;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.btn-activate:hover {
|
|
167
|
+
background-color: #bbf7d0;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.btn-block {
|
|
171
|
+
background-color: #fee2e2;
|
|
172
|
+
color: #991b1b;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.btn-block:hover {
|
|
176
|
+
background-color: #fecaca;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.btn-make-admin {
|
|
180
|
+
background-color: #dbeafe;
|
|
181
|
+
color: #1e40af;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.btn-make-admin:hover {
|
|
185
|
+
background-color: #bfdbfe;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.btn-make-client {
|
|
189
|
+
background-color: #f3e8ff;
|
|
190
|
+
color: #7e22ce;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.btn-make-client:hover {
|
|
194
|
+
background-color: #e9d5ff;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.user-tariff-info {
|
|
198
|
+
min-width: 200px;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.tariff-dropdown {
|
|
202
|
+
font-size: 0.75rem;
|
|
203
|
+
border: 1px solid #d1d5db;
|
|
204
|
+
border-radius: 0.375rem;
|
|
205
|
+
background-color: white;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.user-action-btn {
|
|
209
|
+
border: none;
|
|
210
|
+
border-radius: 0.25rem;
|
|
211
|
+
padding: 0.25rem 0.5rem;
|
|
212
|
+
font-size: 0.75rem;
|
|
213
|
+
cursor: pointer;
|
|
214
|
+
transition: background-color 0.2s;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.btn-block {
|
|
218
|
+
background-color: #fef2f2;
|
|
219
|
+
color: #dc2626;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.btn-block:hover {
|
|
223
|
+
background-color: #fee2e2;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.btn-activate {
|
|
227
|
+
background-color: #f0fdf4;
|
|
228
|
+
color: #16a34a;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.btn-activate:hover {
|
|
232
|
+
background-color: #dcfce7;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.btn-make-admin {
|
|
236
|
+
background-color: #eff6ff;
|
|
237
|
+
color: #2563eb;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.btn-make-admin:hover {
|
|
241
|
+
background-color: #dbeafe;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.btn-make-client {
|
|
245
|
+
background-color: #faf5ff;
|
|
246
|
+
color: #7c3aed;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.btn-make-client:hover {
|
|
250
|
+
background-color: #f3e8ff;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.status-badge, .role-badge {
|
|
254
|
+
padding: 0.25rem 0.5rem;
|
|
255
|
+
border-radius: 0.375rem;
|
|
256
|
+
font-size: 0.75rem;
|
|
257
|
+
font-weight: 600;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.status-active {
|
|
261
|
+
background-color: #dcfce7;
|
|
262
|
+
color: #166534;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.status-blocked {
|
|
266
|
+
background-color: #fecaca;
|
|
267
|
+
color: #991b1b;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.role-admin {
|
|
271
|
+
background-color: #dbeafe;
|
|
272
|
+
color: #1e40af;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.role-client {
|
|
276
|
+
background-color: #f3e8ff;
|
|
277
|
+
color: #7c3aed;
|
|
278
|
+
}
|