Sha256: 98836b3732dd1a6934608cceedf5809604467d9fb81dba19d68630ad64d810b3

Contents?: true

Size: 1.38 KB

Versions: 2

Compression:

Stored size: 1.38 KB

Contents

<html>
  <head>
    <title>termvana</title>
    <link href='css/jquery.repl.css' rel='stylesheet' type='text/css'>
    <link href='css/nirvana.css' rel='stylesheet' type='text/css'>
    <script src='js/jquery.min.js' type='text/javascript'></script>
    <script src='js/nirvana.js' type='text/javascript'></script>
    <script src='js/jquery.hotkeys.js' type='text/javascript'></script>
    <script src="js/jquery.ui.autocomplete.min.js"></script>
    <script src='js/jquery.readline.js' type='text/javascript'></script>
    <script src='js/jquery.repl.js' type='text/javascript'></script>
    <script type='text/javascript'>
      $(document).ready( function(){
          $('#input').readline({
            autocompleteCss: 'css/jquery.ui.autocomplete.css',
            readlineCss: 'css/jquery.readline.css',
            startCompletion: $.ws.nirvanaComplete
          }).repl({
            resultPrompt: '',
            startMessage: function() { return '$ termvana' },
            spinner: 'images/spinner.gif',
            loop: function(val) {
              $.readline.addHistory(val);
              $.ws().send(JSON.stringify({full_command: val}));
            }
            });
        $(window).click(function(){ $('#input').focus(); });
      });
    </script>
  </head>
  <body class="termkitCommandView">
    <form id="terminal">
      <input id='input' type='text'>
    </form>
  </body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
termvana-0.2.0.beta2 lib/termvana/public/index.html
termvana-0.2.0.beta1 lib/termvana/public/index.html