staticdash 2025.32__py3-none-any.whl → 2025.33__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.
- staticdash/dashboard.py +16 -5
- {staticdash-2025.32.dist-info → staticdash-2025.33.dist-info}/METADATA +1 -1
- {staticdash-2025.32.dist-info → staticdash-2025.33.dist-info}/RECORD +5 -5
- {staticdash-2025.32.dist-info → staticdash-2025.33.dist-info}/WHEEL +0 -0
- {staticdash-2025.32.dist-info → staticdash-2025.33.dist-info}/top_level.txt +0 -0
staticdash/dashboard.py
CHANGED
|
@@ -314,20 +314,31 @@ class Dashboard:
|
|
|
314
314
|
head.add(link(rel="stylesheet", href=f"{rel_prefix}assets/css/style.css"))
|
|
315
315
|
head.add(script(type="text/javascript", src=f"{rel_prefix}assets/js/script.js"))
|
|
316
316
|
|
|
317
|
-
# MathJax: config for $...$ and
|
|
317
|
+
# MathJax: config for $...$ and $$...$$
|
|
318
318
|
head.add(raw_util(
|
|
319
319
|
"<script>window.MathJax={tex:{inlineMath:[['$','$'],['\\\\(','\\\\)']],displayMath:[['$$','$$'],['\\\\[','\\\\]']]}};</script>"
|
|
320
320
|
))
|
|
321
|
-
|
|
321
|
+
# Local-first, CDN-fallback (for editable installs without vendored files)
|
|
322
|
+
head.add(raw_util(
|
|
323
|
+
f"<script src=\"{rel_prefix}assets/vendor/mathjax/tex-svg.js\" "
|
|
324
|
+
"onerror=\"var s=document.createElement('script');"
|
|
325
|
+
"s.src='https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js';"
|
|
326
|
+
"document.head.appendChild(s);\"></script>"
|
|
327
|
+
))
|
|
322
328
|
|
|
323
|
-
# Prism (theme + core + languages) —
|
|
329
|
+
# Prism (theme + core + languages) — still local
|
|
324
330
|
head.add(link(rel="stylesheet", href=f"{rel_prefix}assets/vendor/prism/prism-tomorrow.min.css"))
|
|
325
331
|
head.add(script(src=f"{rel_prefix}assets/vendor/prism/prism.min.js"))
|
|
326
332
|
head.add(script(src=f"{rel_prefix}assets/vendor/prism/components/prism-python.min.js"))
|
|
327
333
|
head.add(script(src=f"{rel_prefix}assets/vendor/prism/components/prism-javascript.min.js"))
|
|
328
334
|
|
|
329
|
-
# Plotly local
|
|
330
|
-
head.add(
|
|
335
|
+
# Plotly local-first, CDN-fallback
|
|
336
|
+
head.add(raw_util(
|
|
337
|
+
f"<script src=\"{rel_prefix}assets/vendor/plotly/plotly.min.js\" "
|
|
338
|
+
"onerror=\"var s=document.createElement('script');"
|
|
339
|
+
"s.src='https://cdn.plot.ly/plotly-2.32.0.min.js';"
|
|
340
|
+
"document.head.appendChild(s);\"></script>"
|
|
341
|
+
))
|
|
331
342
|
|
|
332
343
|
# Defaults that match your CSS; override in CSS if they change
|
|
333
344
|
head.add(raw_util("<style>:root{--sidebar-width:240px;--content-padding-x:20px;}</style>"))
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
staticdash/__init__.py,sha256=UN_-h8wFGfTPHYjnEb7N9CsxqXo-DQVo0cmREOtvRXE,244
|
|
2
|
-
staticdash/dashboard.py,sha256=
|
|
2
|
+
staticdash/dashboard.py,sha256=lcjGzdgsRpWyS59txmQLpJT3BqNEWw2TqlzOw0gsUHs,17843
|
|
3
3
|
staticdash/assets/css/style.css,sha256=JCoEkEzDiGc29jjhtWBMv-cirwzSWgOpCviMVIm6x2s,6533
|
|
4
4
|
staticdash/assets/js/script.js,sha256=7xBRlz_19wybbNVwAcfuKNXtDEojGB4EB0Yj4klsoTA,6998
|
|
5
5
|
staticdash/assets/vendor/mathjax/tex-mml-chtml.js,sha256=MASABpB4tYktI2Oitl4t-78w_lyA-D7b_s9GEP0JOGI,1173007
|
|
@@ -13,7 +13,7 @@ staticdash/assets/vendor/prism/components/prism-json.min.js,sha256=lW2GuqWufsQQZ
|
|
|
13
13
|
staticdash/assets/vendor/prism/components/prism-markup.min.js,sha256=h5_J0lbDUtmA4FOFf6cHMwhTuL-2fOKE6mYaJN7FdW4,2850
|
|
14
14
|
staticdash/assets/vendor/prism/components/prism-python.min.js,sha256=7UOFaFvPLUk1yNu6tL3hZgPaEyngktK_NsPa3WfpqFw,2113
|
|
15
15
|
staticdash/assets/vendor/prism/components/prism-sql.min.js,sha256=P8X4zmmVDsc63JcvBh30Kq6nj6pIZHCRNOoq3Ag_OjM,3261
|
|
16
|
-
staticdash-2025.
|
|
17
|
-
staticdash-2025.
|
|
18
|
-
staticdash-2025.
|
|
19
|
-
staticdash-2025.
|
|
16
|
+
staticdash-2025.33.dist-info/METADATA,sha256=wLNa2jFtnKbsbvsdudn41_rJ07atJ_V6pRJudkiOi64,1960
|
|
17
|
+
staticdash-2025.33.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
18
|
+
staticdash-2025.33.dist-info/top_level.txt,sha256=3MzZU6SptkUkjcHV1cvPji0H4aRzPphLHnpStgGEcxM,11
|
|
19
|
+
staticdash-2025.33.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|