staticdash 0.3.2__py3-none-any.whl → 0.3.3__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 +0 -4
- {staticdash-0.3.2.dist-info → staticdash-0.3.3.dist-info}/METADATA +1 -1
- staticdash-0.3.3.dist-info/RECORD +8 -0
- staticdash-0.3.2.dist-info/RECORD +0 -8
- {staticdash-0.3.2.dist-info → staticdash-0.3.3.dist-info}/WHEEL +0 -0
- {staticdash-0.3.2.dist-info → staticdash-0.3.3.dist-info}/top_level.txt +0 -0
staticdash/dashboard.py
CHANGED
@@ -86,9 +86,7 @@ class Page(AbstractPage):
|
|
86
86
|
toolbar += a("Copy", href="#", cls="copy-btn", **{"data-target": code_id})
|
87
87
|
toolbar += a("View Raw", href="#", cls="view-raw-btn", **{"data-target": code_id, "style": "margin-left:10px;"})
|
88
88
|
escaped_code = html.escape(code)
|
89
|
-
header_text = f"{language.capitalize()} Example"
|
90
89
|
block_wrapper = div(
|
91
|
-
h4(header_text),
|
92
90
|
div(
|
93
91
|
toolbar,
|
94
92
|
raw_util(f'<pre><code id="{code_id}" class="language-{language}">{escaped_code}</code></pre>'),
|
@@ -133,9 +131,7 @@ class MiniPage(AbstractPage):
|
|
133
131
|
toolbar += a("Copy", href="#", cls="copy-btn", **{"data-target": code_id})
|
134
132
|
toolbar += a("View Raw", href="#", cls="view-raw-btn", **{"data-target": code_id, "style": "margin-left:10px;"})
|
135
133
|
escaped_code = html.escape(code)
|
136
|
-
header_text = f"{language.capitalize()} Example"
|
137
134
|
block_wrapper = div(
|
138
|
-
h4(header_text),
|
139
135
|
div(
|
140
136
|
toolbar,
|
141
137
|
raw_util(f'<pre><code id="{code_id}" class="language-{language}">{escaped_code}</code></pre>'),
|
@@ -0,0 +1,8 @@
|
|
1
|
+
staticdash/__init__.py,sha256=KqViaDkiQnhBI8-j3hr14umLDmPgddvdB_G1nJeC5Xs,38
|
2
|
+
staticdash/dashboard.py,sha256=lJMRt-3kGucPqGak6bty2y4xcTS4xhRYISoj9YGNVWY,9781
|
3
|
+
staticdash/assets/css/style.css,sha256=I0IAJoAxyPjx5DHD4f_D0xKgFGtZOpnOUlD2qomCVfw,3978
|
4
|
+
staticdash/assets/js/script.js,sha256=pXqvTyw1LRNYl5u1kQbRtQkwe0dnd1yDs1Jstj7S-GU,4148
|
5
|
+
staticdash-0.3.3.dist-info/METADATA,sha256=rCwXd558UO6Gou5pFqfEFan5NyVJzYgtaHCZsnjB7fc,1776
|
6
|
+
staticdash-0.3.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
7
|
+
staticdash-0.3.3.dist-info/top_level.txt,sha256=3MzZU6SptkUkjcHV1cvPji0H4aRzPphLHnpStgGEcxM,11
|
8
|
+
staticdash-0.3.3.dist-info/RECORD,,
|
@@ -1,8 +0,0 @@
|
|
1
|
-
staticdash/__init__.py,sha256=KqViaDkiQnhBI8-j3hr14umLDmPgddvdB_G1nJeC5Xs,38
|
2
|
-
staticdash/dashboard.py,sha256=_ZF-4HqqKQLDaKSNtizNbru0qDzDAT2xhTtzR8h-Rr0,9985
|
3
|
-
staticdash/assets/css/style.css,sha256=I0IAJoAxyPjx5DHD4f_D0xKgFGtZOpnOUlD2qomCVfw,3978
|
4
|
-
staticdash/assets/js/script.js,sha256=pXqvTyw1LRNYl5u1kQbRtQkwe0dnd1yDs1Jstj7S-GU,4148
|
5
|
-
staticdash-0.3.2.dist-info/METADATA,sha256=lt-Q8ce2Azr3bqY8YXaGy3-z_EXQuPP3aKR7Kup8x20,1776
|
6
|
-
staticdash-0.3.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
7
|
-
staticdash-0.3.2.dist-info/top_level.txt,sha256=3MzZU6SptkUkjcHV1cvPji0H4aRzPphLHnpStgGEcxM,11
|
8
|
-
staticdash-0.3.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|