ref: a97a44aca4a4980a8fe33455745831226df96c15 termy/public/index.html -rw-r--r-- 558 bytes View raw
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!doctype html>
<html>
  <head>
    <meta charset='utf-8'>
    <link rel="stylesheet" href="js/xterm.css" />
    <script src="js/xterm.js"></script>
    <script src="js/addons/fit/fit.js"></script>
    <script src="js/browserfs.js"></script>
    <script src="js/rope.js"></script>
    <style>
      html, body { height: 100%; margin: 0; padding: 0; }
      #terminal { height: calc(100% - 20px); padding: 10px; background-color: black; }
    </style>
  </head>
  <body>
    <div id="terminal"></div>
    <script src="js/termy.js"></script>
  </body>
</html>