-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
47 lines (44 loc) · 1.31 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
<html>
<head>
<link rel="stylesheet" type="text/css" href="assets/css/asciinema-player.css" />
<style>
.row {
display: flex;
}
.column {
flex: 50%;
}
</style>
</head>
<body>
<div class="row">
<div class="column">
<div id="terminal"></div>
<div id="tree"></div>
</div>
<div class="column">
<div id="git-status"></div>
<div id="git-log"></div>
</div>
</div>
<script src="assets/js/asciinema-player.min.js"></script>
<script>
AsciinemaPlayer.create('data/channel-test-terminal.cast', document.getElementById('terminal'), {
autoPlay: true,
preload: true
});
AsciinemaPlayer.create('data/channel-test-tree.cast', document.getElementById('tree'), {
autoPlay: true,
preload: true
});
AsciinemaPlayer.create('data/channel-test-git-status.cast', document.getElementById('git-status'), {
autoPlay: true,
preload: true
});
AsciinemaPlayer.create('data/channel-test-git-log.cast', document.getElementById('git-log'), {
autoPlay: true,
preload: true
});
</script>
</body>
</html>