wide/view/shell.html

29 lines
978 B
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>
<link rel="stylesheet" href="{{.Wide.StaticServer}}/static/css/shell.css?{{.Wide.StaticResourceVersion}}">
</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: {
shell: '{{.Wide.ShellChannel}}'
}
};
</script>
<script type="text/javascript" src="{{.Wide.StaticServer}}/static/js/lib/jquery-2.1.1.min.js"></script>
<script type="text/javascript" src="{{.Wide.StaticServer}}/static/js/lib/reconnecting-websocket.js"></script>
<script type="text/javascript" src="{{.Wide.StaticServer}}/static/js/shell.js?{{.Wide.StaticResourceVersion}}"></script>
</body>
</html>