wide/views/shell.html

36 lines
1.3 KiB
HTML
Raw Normal View History

2014-10-24 07:41:23 +04:00
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>{{.i18n.wide}}</title>
2014-12-25 12:08:58 +03:00
<meta name="keywords" content="Wide, Golang, IDE, Team, Cloud, B3log, Shell"/>
<meta name="description" content="A Web-based IDE for Teams using Golang, do your development anytime, anywhere."/>
<meta name="author" content="B3log">
2014-10-24 07:41:23 +04:00
<link rel="stylesheet" href="{{.conf.StaticServer}}/static/css/shell.css?{{.conf.StaticResourceVersion}}">
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
</head>
<body>
<input id="shellInput" placeholder="Command..."/>
<div>
<textarea id="shellOutput" rows="40" ></textarea>
</div>
<script type="text/javascript">
var config = {
channel: {
shell: '{{.conf.ShellChannel}}'
},
2014-12-07 06:07:32 +03:00
wideSessionId: {{.session.ID}}
2014-10-24 07:41:23 +04:00
};</script>
<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>
<script type="text/javascript" src="{{.conf.StaticServer}}/static/js/shell.js?{{.conf.StaticResourceVersion}}"></script>
</body>
</html>