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