-
Notifications
You must be signed in to change notification settings - Fork 105
Expand file tree
/
Copy pathindex.html
More file actions
64 lines (59 loc) · 1.61 KB
/
Copy pathindex.html
File metadata and controls
64 lines (59 loc) · 1.61 KB
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
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://code.jquery.com/jquery-latest.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.terminal/1.23.2/js/jquery.terminal.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/jquery.terminal/1.23.2/css/jquery.terminal.min.css" rel="stylesheet"/>
<style>
/* position the outer div filling the whole browser window */
#outer {
position: fixed;
display: flex;
flex-direction: column;
top: 0; right: 0; bottom: 0; left: 0;
}
/* Terminal output at the top should grow to fill the space */
#term {
order: 0;
flex-grow: 1;
}
/* Navigation bar is fixed size at the bottom */
#navbar {
order: 1;
flex-grow: 0;
background-color: #333;
}
/* Style the links inside the navigation bar */
#navbar a {
float: left;
color: #fff;
text-align: center;
padding: 4px 12px;
text-decoration: none;
font-size: 17px;
}
/* Change the color of links on hover */
#navbar a:hover {
background-color: #ddd;
color: black;
}
/* Add a color to the active/current link */
#navbar a.active {
background-color: #4CAF50;
color: white;
}
</style>
</head>
<body>
<div id="outer">
<div id="term">Loading...</div>
<div id="navbar">
<a id="gopherjs" href=".">Gopherjs</a>
<a id="go/wasm" href="?wasm">Go/wasm</a>
<a href="https://github.com/go-python/gpython" target="_blank">About</a>
</div>
</div>
<script src="loader.js"></script>
</body>
</html>