-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.html
23 lines (21 loc) · 872 Bytes
/
home.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<html>
<head>
<title>try bolt</title>
<meta name="description" content="Try interactive notebooks with the Bolt library for distributed ndarrays in Python and Spark">
<meta name="keywords" content="python spark arrays ndarrays image processing">
<link rel="shortcut icon" type="image/png" href="favicon.ico" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
</head>
<body>
<iframe id="frame" src="" style="border: 0; position:fixed; top:0; left:0; right:0; bottom:0; width:100%; height:100%"></iframe>
</body>
</html>
<script>
$("body").ready(function() {
$.ajax({type: "POST", data: JSON.stringify({"path": "/"}),
url: "http://notebooks.codeneuro.org:9000/api/spawn/"})
.done( function(data) {
$('#frame').attr('src', data.url + 'notebooks/bolt/intro.ipynb', '_self');
})
})
</script>