wide/view/shell.html

31 lines
1.0 KiB
HTML
Raw Normal View History

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-10-12 18:00:26 +04:00
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
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 = {
2014-10-12 18:00:26 +04:00
channel: {
shell: '{{.conf.ShellChannel}}'
},
wideSessionId: {{.session.Id}}
};</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>