-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
66 lines (51 loc) · 2 KB
/
index.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
<!--
Copyright 2017-present, Facebook, Inc.
All rights reserved.
This source code is licensed under the license found in the
LICENSE file in the root directory of this source tree.
-->
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="favicon.png">
<!-- Bootstrap & jQuery -->
<link rel="stylesheet" href={{ static_url("css/bootstrap.min.css") }}>
<script src={{ static_url("js/jquery.min.js") }}></script>
<script src={{ static_url("js/bootstrap.min.js") }}></script>
<link rel="stylesheet" href={{ static_url("css/react-resizable-styles.css") }}>
<link rel="stylesheet" href={{ static_url("css/react-grid-layout-styles.css") }}>
<!-- Other deps -->
<script src={{ static_url("js/react-react.min.js") }}></script>
<script src={{ static_url("js/react-dom.min.js") }}></script>
<script src={{ static_url("fonts/layout_bin_packer") }}></script>
<!-- Mathjax -->
<script type="text/javascript" async src={{ static_url("js/mathjax-MathJax.js") }}></script>
<!-- Plotly -->
<script src={{ static_url("js/plotly-plotly.min.js") }}></script>
<!-- Custom styles for this template -->
<script>
// TODO: this is not great. Should probably be an endpoint with a JSON
// response or the first thing the socket sends back.
var ENV_LIST = [
{% for item in items %}
'{{escape(item)}}',
{% end %}
];
var ACTIVE_ENV = '{{escape(active_item)}}';
var USER = '{{escape(user)}}';
// Plotly setup
window.PLOTLYENV = window.PLOTLYENV || {};
window.PLOTLYENV.BASE_URL = 'https://plot.ly';
</script>
<script src={{ static_url("js/main.js") }}></script>
<link rel="stylesheet" href={{ static_url("css/style.css") }}>
<title>visdom</title>
<!-- <link rel="icon" href="http://example.com/favicon.png"> -->
</head>
<body>
<noscript>JS is required</noscript>
<div id="app"></div>
</body>
</html>