-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex_tpl.html
77 lines (71 loc) · 1.92 KB
/
index_tpl.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
<!doctype html>
<html>
<head>
<!-- <title>The Go+ REPL</title>-->
<link rel="icon" href="favicon.svg" type="image/svg+xml">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="static/jquery-3.5.1.min.js"></script>
<script src="static/jquery.terminal-2.17.6.min.js"></script>
<link href="static/jquery.terminal-2.17.6.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;
}
#navgop {
float: left;
padding: 4px 4px;
color:white;
}
</style>
</head>
<body>
<div id="outer">
<div id="GopVersion" style="display:none">$GopVersion</div>
<div id="iGopVersion" style="display:none">$iGopVersion</div>
<div id="term">Loading...</div>
<div id="navbar">
<!-- <a id="GopherJS" href=".">GopherJS</a>-->
<a id="Wasm" href="?wasm">Wasm</a>
<div id="navgop">
<input type="checkbox" id="enableGoplus" checked="true">Go+ Mode</input>
</div>
<a href="https://github.com/goplus/gop" target="_blank">About Go+</a>
</div>
</div>
<script src="loader.js"></script>
</body>
</html>