-
Notifications
You must be signed in to change notification settings - Fork 0
/
dropdown.html
85 lines (51 loc) · 2.68 KB
/
dropdown.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Bokeh Plot</title>
<script type="text/javascript" src="https://cdn.pydata.org/bokeh/release/bokeh-1.3.4.min.js"></script>
<script type="text/javascript" src="https://cdn.pydata.org/bokeh/release/bokeh-widgets-1.3.4.min.js"></script>
<script type="text/javascript">
Bokeh.set_log_level("info");
</script>
</head>
<body>
<div class="bk-root" id="d71e78c2-ebb5-4092-af5a-59dfce1568a6" data-root-id="1007"></div>
<script type="application/json" id="1008">
{"5a4cb632-bda2-45da-ab4f-9d4b026603b8":{"roots":{"references":[{"attributes":{"button_type":"warning","callback":null,"icon":null,"label":"Select pages","menu":[["Returned from Suppliers Rate","item_1"],["PassQC Rate","item_2"],["Processing Bio-pipeline Rate","item_3"]]},"id":"1007","type":"Dropdown"}],"root_ids":["1007"]},"title":"Bokeh Application","version":"1.3.4"}}
</script>
<script type="text/javascript">
(function() {
var fn = function() {
Bokeh.safely(function() {
(function(root) {
function embed_document(root) {
var docs_json = document.getElementById('1008').textContent;
var render_items = [{"docid":"5a4cb632-bda2-45da-ab4f-9d4b026603b8","roots":{"1007":"d71e78c2-ebb5-4092-af5a-59dfce1568a6"}}];
root.Bokeh.embed.embed_items(docs_json, render_items);
}
if (root.Bokeh !== undefined) {
embed_document(root);
} else {
var attempts = 0;
var timer = setInterval(function(root) {
if (root.Bokeh !== undefined) {
embed_document(root);
clearInterval(timer);
}
attempts++;
if (attempts > 100) {
console.log("Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing");
clearInterval(timer);
}
}, 10, root)
}
})(window);
});
};
if (document.readyState != "loading") fn();
else document.addEventListener("DOMContentLoaded", fn);
})();
</script>
</body>
</html>