brilliance-admin 0.42.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.
Files changed (73) hide show
  1. admin_panel/__init__.py +4 -0
  2. admin_panel/api/__init__.py +0 -0
  3. admin_panel/api/routers.py +18 -0
  4. admin_panel/api/utils.py +28 -0
  5. admin_panel/api/views/__init__.py +0 -0
  6. admin_panel/api/views/auth.py +29 -0
  7. admin_panel/api/views/autocomplete.py +33 -0
  8. admin_panel/api/views/graphs.py +30 -0
  9. admin_panel/api/views/index.py +38 -0
  10. admin_panel/api/views/schema.py +29 -0
  11. admin_panel/api/views/settings.py +29 -0
  12. admin_panel/api/views/table.py +136 -0
  13. admin_panel/auth.py +32 -0
  14. admin_panel/docs.py +37 -0
  15. admin_panel/exceptions.py +38 -0
  16. admin_panel/integrations/__init__.py +0 -0
  17. admin_panel/integrations/sqlalchemy/__init__.py +6 -0
  18. admin_panel/integrations/sqlalchemy/auth.py +144 -0
  19. admin_panel/integrations/sqlalchemy/autocomplete.py +38 -0
  20. admin_panel/integrations/sqlalchemy/fields.py +254 -0
  21. admin_panel/integrations/sqlalchemy/fields_schema.py +316 -0
  22. admin_panel/integrations/sqlalchemy/table/__init__.py +19 -0
  23. admin_panel/integrations/sqlalchemy/table/base.py +141 -0
  24. admin_panel/integrations/sqlalchemy/table/create.py +73 -0
  25. admin_panel/integrations/sqlalchemy/table/delete.py +18 -0
  26. admin_panel/integrations/sqlalchemy/table/list.py +178 -0
  27. admin_panel/integrations/sqlalchemy/table/retrieve.py +61 -0
  28. admin_panel/integrations/sqlalchemy/table/update.py +95 -0
  29. admin_panel/schema/__init__.py +7 -0
  30. admin_panel/schema/admin_schema.py +191 -0
  31. admin_panel/schema/category.py +149 -0
  32. admin_panel/schema/graphs/__init__.py +1 -0
  33. admin_panel/schema/graphs/category_graphs.py +50 -0
  34. admin_panel/schema/group.py +67 -0
  35. admin_panel/schema/table/__init__.py +8 -0
  36. admin_panel/schema/table/admin_action.py +76 -0
  37. admin_panel/schema/table/category_table.py +175 -0
  38. admin_panel/schema/table/fields/__init__.py +5 -0
  39. admin_panel/schema/table/fields/base.py +249 -0
  40. admin_panel/schema/table/fields/function_field.py +65 -0
  41. admin_panel/schema/table/fields_schema.py +216 -0
  42. admin_panel/schema/table/table_models.py +53 -0
  43. admin_panel/static/favicon.jpg +0 -0
  44. admin_panel/static/index-BeniOHDv.js +525 -0
  45. admin_panel/static/index-vlBToOhT.css +8 -0
  46. admin_panel/static/materialdesignicons-webfont-CYDMK1kx.woff2 +0 -0
  47. admin_panel/static/materialdesignicons-webfont-CgCzGbLl.woff +0 -0
  48. admin_panel/static/materialdesignicons-webfont-D3kAzl71.ttf +0 -0
  49. admin_panel/static/materialdesignicons-webfont-DttUABo4.eot +0 -0
  50. admin_panel/static/tinymce/dark-first/content.min.css +250 -0
  51. admin_panel/static/tinymce/dark-first/skin.min.css +2820 -0
  52. admin_panel/static/tinymce/dark-slim/content.min.css +249 -0
  53. admin_panel/static/tinymce/dark-slim/skin.min.css +2821 -0
  54. admin_panel/static/tinymce/img/example.png +0 -0
  55. admin_panel/static/tinymce/img/tinymce.woff2 +0 -0
  56. admin_panel/static/tinymce/lightgray/content.min.css +1 -0
  57. admin_panel/static/tinymce/lightgray/fonts/tinymce.woff +0 -0
  58. admin_panel/static/tinymce/lightgray/skin.min.css +1 -0
  59. admin_panel/static/tinymce/plugins/accordion/css/accordion.css +17 -0
  60. admin_panel/static/tinymce/plugins/accordion/plugin.js +48 -0
  61. admin_panel/static/tinymce/plugins/codesample/css/prism.css +1 -0
  62. admin_panel/static/tinymce/plugins/customLink/css/link.css +3 -0
  63. admin_panel/static/tinymce/plugins/customLink/plugin.js +147 -0
  64. admin_panel/static/tinymce/tinymce.min.js +2 -0
  65. admin_panel/static/vanilla-picker-B6E6ObS_.js +8 -0
  66. admin_panel/templates/index.html +25 -0
  67. admin_panel/translations.py +145 -0
  68. admin_panel/utils.py +50 -0
  69. brilliance_admin-0.42.0.dist-info/METADATA +155 -0
  70. brilliance_admin-0.42.0.dist-info/RECORD +73 -0
  71. brilliance_admin-0.42.0.dist-info/WHEEL +5 -0
  72. brilliance_admin-0.42.0.dist-info/licenses/LICENSE +17 -0
  73. brilliance_admin-0.42.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,250 @@
1
+ body {
2
+ --main-bg-color: #010d26;
3
+ --header-color: #001c3b;
4
+ --preview-bg-color: #001c3b;
5
+ --main-color: #999;
6
+ }
7
+
8
+ body {
9
+ color: var(--main-color);
10
+ background: var(--main-bg-color);
11
+ font-family: 'Verdana','Tahoma','Arial','Helvetica','sans-serif';
12
+ font-size: 14px;
13
+ line-height: 1.3;
14
+ background-color: var(--main-bg-color);
15
+ }
16
+
17
+ td,th {
18
+ font-family: 'Verdana','Tahoma','Arial','Helvetica','sans-serif';
19
+ font-size: 14px
20
+ }
21
+
22
+ .word-wrap {
23
+ word-wrap: break-word;
24
+ word-break: break-all;
25
+ word-break: break-word;
26
+ -moz-hyphens: auto;
27
+ -webkit-hyphens: auto;
28
+ hyphens: auto
29
+ }
30
+
31
+ .mce-content-body .mce-reset {
32
+ margin: 0;
33
+ padding: 0;
34
+ border: 0;
35
+ outline: 0;
36
+ vertical-align: top;
37
+ background: transparent;
38
+ text-decoration: none;
39
+ color: black;
40
+ font-family: Arial;
41
+ font-size: 11px;
42
+ text-shadow: none;
43
+ float: none;
44
+ position: static;
45
+ width: auto;
46
+ height: auto;
47
+ white-space: nowrap;
48
+ cursor: inherit;
49
+ line-height: normal;
50
+ font-weight: normal;
51
+ text-align: left;
52
+ -webkit-tap-highlight-color: transparent;
53
+ -moz-box-sizing: content-box;
54
+ -webkit-box-sizing: content-box;
55
+ box-sizing: content-box;
56
+ direction: ltr;
57
+ max-width: none
58
+ }
59
+
60
+ .mce-object {
61
+ border: 1px dotted #3A3A3A;
62
+ background: #D5D5D5 url(../img/object.gif) no-repeat center
63
+ }
64
+
65
+ .mce-preview-object {
66
+ display: inline-block;
67
+ position: relative;
68
+ margin: 0 2px;
69
+ line-height: 0;
70
+ border: 1px solid gray
71
+ }
72
+
73
+ .mce-preview-object[data-mce-selected="2"] .mce-shim {
74
+ display: none
75
+ }
76
+
77
+ .mce-preview-object .mce-shim {
78
+ position: absolute;
79
+ top: 0;
80
+ left: 0;
81
+ width: 100%;
82
+ height: 100%;
83
+ background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
84
+ }
85
+
86
+ figure.align-left {
87
+ float: left
88
+ }
89
+
90
+ figure.align-right {
91
+ float: right
92
+ }
93
+
94
+ figure.image.align-center {
95
+ display: table;
96
+ margin-left: auto;
97
+ margin-right: auto
98
+ }
99
+
100
+ figure.image {
101
+ display: inline-block;
102
+ border: 1px solid gray;
103
+ margin: 0 2px 0 1px;
104
+ background: #f5f2f0
105
+ }
106
+
107
+ figure.image img {
108
+ margin: 8px 8px 0
109
+ }
110
+
111
+ figure.image figcaption {
112
+ margin: 6px 8px;
113
+ text-align: center
114
+ }
115
+
116
+ .mce-toc {
117
+ border: 1px solid gray
118
+ }
119
+
120
+ .mce-toc h2 {
121
+ margin: 4px
122
+ }
123
+
124
+ .mce-toc li {
125
+ list-style-type: none
126
+ }
127
+
128
+ .mce-pagebreak {
129
+ cursor: default;
130
+ display: block;
131
+ border: 0;
132
+ width: 100%;
133
+ height: 5px;
134
+ border: 1px dashed #666;
135
+ margin-top: 15px;
136
+ page-break-before: always
137
+ }
138
+
139
+ @media print {
140
+ .mce-pagebreak {
141
+ border: 0
142
+ }
143
+ }
144
+
145
+ .mce-item-anchor {
146
+ cursor: default;
147
+ display: inline-block;
148
+ -webkit-user-select: all;
149
+ -webkit-user-modify: read-only;
150
+ -moz-user-select: all;
151
+ -moz-user-modify: read-only;
152
+ user-select: all;
153
+ user-modify: read-only;
154
+ width: 9px!important;
155
+ height: 9px!important;
156
+ border: 1px dotted #3A3A3A;
157
+ background: #D5D5D5 url(../img/anchor.gif) no-repeat center
158
+ }
159
+
160
+ .mce-nbsp,.mce-shy {
161
+ background: #AAA
162
+ }
163
+
164
+ .mce-shy::after {
165
+ content: '-'
166
+ }
167
+
168
+ .mce-match-marker {
169
+ background: #AAA;
170
+ color: #fff
171
+ }
172
+
173
+ .mce-match-marker-selected {
174
+ background: #3399ff;
175
+ color: #fff
176
+ }
177
+
178
+ .mce-spellchecker-word {
179
+ border-bottom: 2px solid rgba(208,2,27,.5);
180
+ cursor: default
181
+ }
182
+
183
+ .mce-spellchecker-grammar {
184
+ border-bottom: 2px solid #008000;
185
+ cursor: default
186
+ }
187
+
188
+ .mce-item-table,.mce-item-table td,.mce-item-table th,.mce-item-table caption {
189
+ border: 1px dashed #BBB
190
+ }
191
+
192
+ td[data-mce-selected],th[data-mce-selected] {
193
+ background-color: #2276d2!important
194
+ }
195
+
196
+ .mce-edit-focus {
197
+ outline: 1px dotted #333
198
+ }
199
+
200
+ .mce-content-body [contentEditable=false] [contentEditable=true]:focus {
201
+ outline: 2px solid #2276d2
202
+ }
203
+
204
+ .mce-content-body [contentEditable=false] [contentEditable=true]:hover {
205
+ outline: 2px solid #2276d2
206
+ }
207
+
208
+ .mce-content-body [contentEditable=false][data-mce-selected] {
209
+ outline: 2px solid #2276d2
210
+ }
211
+
212
+ .mce-content-body.mce-content-readonly [contentEditable=true]:focus,.mce-content-body.mce-content-readonly [contentEditable=true]:hover {
213
+ outline: none
214
+ }
215
+
216
+ .mce-content-body [data-mce-selected="inline-boundary"] {
217
+ background: #666
218
+ }
219
+
220
+ .mce-content-body .mce-item-anchor[data-mce-selected] {
221
+ background: #D5D5D5 url(../img/anchor.gif) no-repeat center
222
+ }
223
+
224
+ .mce-content-body hr {
225
+ cursor: default
226
+ }
227
+
228
+ .mce-content-body table {
229
+ -webkit-nbsp-mode: normal
230
+ }
231
+
232
+ .ephox-snooker-resizer-bar {
233
+ background-color: #2276d2;
234
+ opacity: 0;
235
+ -webkit-user-select: none;
236
+ -moz-user-select: none;
237
+ user-select: none
238
+ }
239
+
240
+ .ephox-snooker-resizer-cols {
241
+ cursor: col-resize
242
+ }
243
+
244
+ .ephox-snooker-resizer-rows {
245
+ cursor: row-resize
246
+ }
247
+
248
+ .ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging {
249
+ opacity: .2
250
+ }