-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.html
191 lines (181 loc) · 8.1 KB
/
main.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>Web Term</title>
<link rel="stylesheet" media="all" href="lib/jquery-ui-1.10.3.custom/css/ui-lightness/jquery-ui-1.10.3.custom.min.css">
<link rel="stylesheet" media="all" href="lib/layout-default-latest.css">
<link rel="stylesheet" media="all" href="lib/jQuery-contextMenu/jquery.contextMenu.css">
<link rel="stylesheet" media="all" href="lib/pnotify-1.2.0/jquery.pnotify.default.css">
<link rel="stylesheet" media="all" href="jquery-ui-custom.css">
<link rel="stylesheet" media="all" href="widgets.css">
<link rel="stylesheet" media="all" href="main.css">
<link rel="stylesheet" media="all" href="webterm/screen.css">
<link rel="stylesheet" media="all" href="webterm/accordion.css">
<link rel="stylesheet" media="all" href="webterm/bbs/common.css">
<link rel="stylesheet" media="all" href="webterm/bbs/smth.css">
<link rel="chrome-application-definition" href="manifest.json">
</head>
<body>
<div id="body-box">
<div id="tabs">
<div id="title-bar">
<ul id="tab-bar">
</ul>
<div id='new-menu'>
<div id='new-tab'><div class='icon'></div></div>
<ul id="quick-connect">
</ul>
</div>
<div id='title-panel'>
<div id='menu'>
<div id='main-menu' class='ui-icon ui-icon-carat-1-s' title='主菜单'></div>
<ul>
<li><a href="#input-dialog">文本输入框</a></li>
<li><a href="#script-dialog">运行脚本</a></li>
<li><a href="#status-bar">显示状态栏</a></li>
<li><a href="https://github.com/iambus/WebTerm" target="_blank">项目主页</a></li>
<li><a href="#help">帮助</a></li>
<li><a href="#about-dialog">关于</a></li>
</ul>
</div>
<div id='settings' class='button ui-icon ui-icon-gear' title='设置'></div>
<div id='min-window' class='button ui-icon ui-icon-minus' title='最小化'></div>
<div id='max-window' class='button ui-icon ui-icon-newwin' title='最大化'></div>
<div id='close-window' class='button ui-icon ui-icon-close' title='关闭'></div>
</div>
</div>
<div id="main">
</div>
</div>
<div id="status-bar">
<div id="message-history-button" class='ui-icon ui-icon-comment'></div>
<div id="message"><div id="message-body"></div></div>
<div id="bottom-button-panel">
<div id='status-bar-close-button' class='button ui-icon ui-icon-close' title='关闭状态栏'></div>
</div>
</div>
</div>
<textarea id="ime"></textarea>
<textarea id="clipboard"></textarea>
<div id="logger" style="display: none;"></div>
<div id="input-dialog" class="dialog" title="文本输入框">
<textarea></textarea>
</div>
<div id="script-dialog" class="dialog" title="运行脚本">
<div id="script-editor"></div>
</div>
<div id="connect-dialog" class='dialog' title="连接到">
<form>
<fieldset>
<div>
<label for="connect-host">主机</label>
<div class="icon-input">
<div class="icon" id="connect-icon">
<img src="lib/smth.ico"/>
<ul id="connect-book">
</ul>
</div>
<input name="host" id="connect-host" value="bbs.newsmth.net" class="text ui-widget-content"/>
</div>
<label for="connect-port">端口</label>
<input name="port" id="connect-port" value="23" type="number" min="1" max="65535" class="number ui-widget-content"/>
</div>
<div>
<label for="connect-protocol">协议</label>
<select name="protocol" id="connect-protocol" class="ui-widget-content">
<option selected="selected">TELNET</option>
</select>
<label for="connect-encoding">编码</label>
<select name="encoding" id="connect-encoding" class="ui-widget-content">
<option selected="selected">GBK</option>
</select>
<label for="connect-type">类型</label>
<select name="type" id="connect-type" class="ui-widget-content">
<option selected="selected">SMTH</option>
<option>LILY</option>
<option>Firebird</option>
</select>
</div>
</fieldset>
</form>
</div>
<div id="settings-dialog" class='dialog' title="设置">
<div id='settings-tabs'>
<ul>
<li><a href='#settings-init-script-editor'>启动脚本</a></li>
<li><a href='#settings-session-script-editor'>连接脚本</a></li>
</ul>
<div id='settings-init-script-editor'>
<textarea></textarea>
</div>
<div id='settings-session-script-editor'>
<textarea></textarea>
</div>
</div>
</div>
<div id="about-dialog" class="dialog" title="关于WebTerm">
<p id="about-version">Webterm version unknown, Chrome version unknown</p>
<p>作者:<a href="mailto:iambus@gmail.com" target="_blank">iambus@gmail.com</a></p>
<p>项目主页:<a href="https://github.com/iambus/WebTerm" target="_blank">https://github.com/iambus/WebTerm</a></p>
<p>提交Bug:<a href="https://github.com/iambus/WebTerm/issues" target="_blank">https://github.com/iambus/WebTerm/issues</a></p>
</div>
<div id="close-window-confirm-dialog" class="dialog" title="确认退出应用程序">
<p><span class="ui-icon ui-icon-alert" style="float: left; margin: 0 7px 20px 0;"></span>退出程序将关闭所有已打开的标签,并断开所有进行中的连接。</p>
</div>
<div id="connect-add-name" class="dialog" title="请为此地址输入一个名字">
<input style="width: 100%">
</div>
<script src="lib/jquery-1.9.1.min.js"></script>
<script src="lib/underscore-min.js"></script>
<script src="lib/jquery-ui-1.10.3.custom/js/jquery-ui-1.10.3.custom.min.js"></script>
<script src="lib/jquery.layout-latest.min.js"></script>
<script src="lib/ace/ace.js"></script>
<script src="lib/jQuery-contextMenu/jquery.contextMenu.js"></script>
<script src="lib/pnotify-1.2.0/jquery.pnotify.min.js"></script>
<script src="lib/coffee-script.js"></script>
<script src="lib/CoffeeScriptEval.js"></script>
<script src="lib/async.js"></script>
<script src="monkey_patches.js"></script>
<script src="encoding-indexes.js"></script>
<script src="encoding.js"></script>
<script src="wcwidth.js"></script>
<script src="logger.js"></script>
<script src="telnet.js"></script>
<script src="gesture.js"></script>
<script src="preview.js"></script>
<script src="keymap.js"></script>
<script src="webterm.js"></script>
<script src="webterm/eval.js"></script>
<script src="webterm/ajax.js"></script>
<script src="webterm/tabs.js"></script>
<script src="webterm/resources.js"></script>
<script src="webterm/clipboard.js"></script>
<script src="webterm/keys.js"></script>
<script src="webterm/screen.js"></script>
<script src="webterm/storage.js"></script>
<script src="webterm/settings.js"></script>
<script src="webterm/cache.js"></script>
<script src="webterm/editors.js"></script>
<script src="webterm/dialogs.js"></script>
<script src="webterm/dnd.js"></script>
<script src="webterm/upload.js"></script>
<script src="webterm/windows.js"></script>
<script src="webterm/status_bar.js"></script>
<script src="webterm/accordion.js"></script>
<script src="webterm/notifications.js"></script>
<script src="webterm/ip.js"></script>
<script src="webterm/alert.js"></script>
<script src="webterm/init.js"></script>
<script src="webterm/bbs/mode.js"></script>
<script src="webterm/bbs/common.js"></script>
<script src="webterm/bbs/smth.js"></script>
<script src="webterm/bbs/lily.js"></script>
<script src="webterm/bbs/firebird.js"></script>
<script src="webterm/bbs/list.js"></script>
<script src="webterm/tabs/bbs.js"></script>
<script src="webterm/address_book.js"></script>
<script src="test.js"></script>
<script src="main.js"></script>
</body>
</html>