2014-09-05 10:33:43 +04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<title>{{.i18n.wide}}</title>
|
2014-09-16 19:58:52 +04:00
|
|
|
<link rel="stylesheet" href="{{.conf.StaticServer}}/static/css/shell.css?{{.conf.StaticResourceVersion}}">
|
2014-09-05 10:33:43 +04:00
|
|
|
</head>
|
|
|
|
<body>
|
2014-09-08 18:09:00 +04:00
|
|
|
<input id="shellInput" placeholder="Command..."/>
|
|
|
|
|
2014-09-05 10:33:43 +04:00
|
|
|
<div>
|
2014-09-09 07:54:39 +04:00
|
|
|
<textarea id="shellOutput" rows="40" ></textarea>
|
2014-09-05 10:33:43 +04:00
|
|
|
</div>
|
2014-09-08 18:09:00 +04:00
|
|
|
|
2014-09-05 10:33:43 +04:00
|
|
|
<script type="text/javascript">
|
|
|
|
var config = {
|
|
|
|
channel: {
|
2014-09-16 19:58:52 +04:00
|
|
|
shell: '{{.conf.ShellChannel}}'
|
2014-09-17 06:54:57 +04:00
|
|
|
},
|
|
|
|
wideSessionId: {{.session.Id}}
|
2014-09-05 10:33:43 +04:00
|
|
|
};
|
|
|
|
</script>
|
2014-09-16 19:58:52 +04:00
|
|
|
<script type="text/javascript" src="{{.conf.StaticServer}}/static/js/lib/jquery-2.1.1.min.js"></script>
|
|
|
|
<script type="text/javascript" src="{{.conf.StaticServer}}/static/js/lib/reconnecting-websocket.js"></script>
|
2014-09-05 10:33:43 +04:00
|
|
|
|
|
|
|
|
2014-09-16 19:58:52 +04:00
|
|
|
<script type="text/javascript" src="{{.conf.StaticServer}}/static/js/shell.js?{{.conf.StaticResourceVersion}}"></script>
|
2014-09-05 10:33:43 +04:00
|
|
|
</body>
|
|
|
|
</html>
|