Skip to content

Commit af2ff80

Browse files
committed
Add closed captions to dev dashboard
1 parent d4bd71b commit af2ff80

File tree

4 files changed

+16
-1
lines changed

4 files changed

+16
-1
lines changed

devtools/test_dashboard/index-mathjax3.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ <h4>no MathJax: Apple: $2, Orange: $3</h4>
2424
<div id="graph"></div>
2525
</div>
2626
<div id="snapshot"></div>
27+
<div style="position:absolute; border-top: .3em solid #eee; bottom: 0px; left: 0; width: 100%">
28+
<div style="margin-top: -1.2em; padding-left: 3px; font-weight: bold; color: #555; width:100%;">Closed Captions</div>
29+
<div id="c2m-plotly-cc" style="width: 100%; height: 40px; padding: 18px 0 0 15px; color: #333">Test</div>
30+
</div>
2731

2832
<script>
2933
window.MathJax = {

devtools/test_dashboard/index-mathjax3chtml.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
<div id="graph"></div>
2323
</div>
2424
<div id="snapshot"></div>
25+
<div style="position:absolute; border-top: .3em solid #eee; bottom: 0px; left: 0; width: 100%">
26+
<div style="margin-top: -1.2em; padding-left: 3px; font-weight: bold; color: #555; width:100%;">Closed Captions</div>
27+
<div id="c2m-plotly-cc" style="width: 100%; height: 40px; padding: 18px 0 0 15px; color: #333">Test</div>
28+
</div>
2529

2630
<script>
2731
window.MathJax = window.MathJax || {

devtools/test_dashboard/index-strict.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
<div id="graph"></div>
2222
</div>
2323
<div id="snapshot"></div>
24+
<div style="position:absolute; border-top: .3em solid #eee; bottom: 0px; left: 0; width: 100%">
25+
<div style="margin-top: -1.2em; padding-left: 3px; font-weight: bold; color: #555; width:100%;">Closed Captions</div>
26+
<div id="c2m-plotly-cc" style="width: 100%; height: 40px; padding: 18px 0 0 15px; color: #333">Test</div>
27+
</div>
2428

2529
<script src="../../node_modules/mathjax-v2/MathJax.js?config=TeX-AMS-MML_SVG"></script>
2630
<script charset="utf-8" id="source" src="../../build/plotly.js"></script>

devtools/test_dashboard/index.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@
2020
<div id="graph"></div>
2121
</div>
2222
<div id="snapshot"></div>
23-
23+
<div style="position:absolute; border-top: .3em solid #eee; bottom: 0px; left: 0; width: 100%">
24+
<div style="margin-top: -1.2em; padding-left: 3px; font-weight: bold; color: #555; width:100%;">Closed Captions</div>
25+
<div id="c2m-plotly-cc" style="width: 100%; height: 40px; padding: 18px 0 0 15px; color: #333">Test</div>
26+
</div>
2427
<script src="../../node_modules/mathjax-v2/MathJax.js?config=TeX-AMS-MML_SVG"></script>
2528
<script charset="utf-8" id="source" src="../../build/plotly.js" type="module"></script>
2629
<script charset="utf-8" src="../../build/test_dashboard-bundle.js"></script>

0 commit comments

Comments
 (0)