You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.ftl 2.2 kB

2 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>JWebssh</title>
  7. <link rel='shortcut icon' type='image/x-icon' href='/static/image/favicon.ico'/>
  8. <link rel="stylesheet" href="/static/css/pure-min.css">
  9. <link href="/static/css/xterm.css" rel="stylesheet" type="text/css"/>
  10. <link rel='stylesheet' href='http://fonts.googleapis.com/css?family=PT+Sans:400,700'>
  11. <link rel="stylesheet" href="/static/css/reset.css">
  12. <link rel="stylesheet" href="/static/css/supersized.css">
  13. <link rel="stylesheet" href="/static/css/style.css">
  14. <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
  15. <!--[if lt IE 9]>
  16. <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
  17. <![endif]-->
  18. </head>
  19. <body>
  20. <div class="page-container" id="form" name="form" >
  21. <h1>JWebssh</h1>
  22. <form action="" method="post">
  23. <fieldset>
  24. <input id="terminalRow" name="terminalRow" type="hidden" value=100>
  25. <div class="pure-item">
  26. <input id="host" name="host" type="text" placeholder="Host" value=${host}>
  27. </div>
  28. <div class="pure-item">
  29. <input id="port" name="port" type="text" placeholder="Port" value=${port}>
  30. </div>
  31. <div class="pure-item">
  32. <input id="username" name="username" type="text" placeholder="Username" value=${username}>
  33. </div>
  34. <div class="pure-item">
  35. <input id="password" name="password" type="password" placeholder="Password" value=${password}>
  36. </div>
  37. <button type="button" onclick="connect()">Connect</button>
  38. </fieldset>
  39. </form>
  40. </div>
  41. <div id="term" align="center"></div>
  42. <!-- Javascript -->
  43. <script src="/static/js/jquerymin.js"></script>
  44. <script src="/static/js/supersized.3.2.7.min.js"></script>
  45. <script src="/static/js/supersized-init.js"></script>
  46. <script src="/static/js/base64.js"></script>
  47. <script src="/static/js/jquerymin.js"></script>
  48. <script src="/static/js/xterm.js"></script>
  49. <script src="/static/js/ws.js"></script>
  50. <script src="/static/js/formvalid.js"></script>
  51. <script src="/static/js/main.js?${digest}"></script>
  52. </body>
  53. </html>