-
Notifications
You must be signed in to change notification settings - Fork 4
/
control.html
42 lines (41 loc) · 1.29 KB
/
control.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Strophe.js Remote Presentation Example</title>
<script type='text/javascript'
src='http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js'></script>
<script type='text/javascript'
src='strophejs/strophe.js'></script>
<script type='text/javascript'
src='strophejs/plugins/strophe.pubsub.js'></script>
<script type='text/javascript'
src='config.js'></script>
<script type='text/javascript'
src='control.js'></script>
</head>
<body>
<div id='login' style='text-align: center'>
<form name='cred'>
<label for='jid'>JID:</label>
<input type='text' id='jid' />
<label for='pass'>Password:</label>
<input type='password' id='pass' />
<input type='button' id='connect' value='connect' />
</form>
</div>
<hr />
<div id='control' style='text-align: center'>
<form name='control'>
<input id='back' type='button' value='<'/>
<input id='home' type='button' value='home'/>
<input id='forward' type='button' value='>'/>
</form>
</div>
<br />
<hr />
<div id='log' style='text-align: center'></div>
<br />
<hr />
<div id='debug'></div>
</body>
</html>