-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
80 lines (56 loc) · 2.35 KB
/
index.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
<!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>Xmpp</title>
<link rel="stylesheet" type="text/css" href="bootstrap-4.0.0-alpha.6-dist/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="bootstrap-4.0.0-alpha.6-dist/css/bootstrap-grid.min.css">
<script type='text/javascript' src='jquery-3.2.1.min.js'></script>
<script type="text/javascript" src="EventEmitter.min.js"></script>
<script type='text/javascript' src='stanzaio.bundle.min.js'></script>
<script type='text/javascript' src='stanzaio-client.js'></script>
<script type='text/javascript' src='main.js'></script>
</head>
<body style="margin: 5px">
<div class="container-fluid">
<form class="form-inline">
<label class="mr-sm-2" for='jid'>JID</label>
<input class="form-control mb-2 mr-sm-2 mb-sm-0" type='text' id='jid' placeholder="jid"/>
<label class="mr-sm-2" for='pass'>Password</label>
<input class="form-control mb-2 mr-sm-2 mb-sm-0" type='password' id='pass' placeholder="password"/>
<input type='button' class="btn btn-primary" id='connect' value='connect'/>
</form>
<hr/>
<div class="row">
<div class="col-lg-3 col-md-5 col-sm-6">
<div class="card">
<div class="card-block">
<h4>Channels</h4>
</div>
<div class="list-group list-group-flush" id="channels">
</div>
<div class="card-block">
<h4>Direct Messages</h4>
</div>
<div class="list-group list-group-flush" id="users">
</div>
</div>
</div>
<div class="col-lg-9 col-md-7 col-sm-6">
<div class="card">
<div id='messages' class="card-block" style='min-height:400px;max-height: 400px; overflow: auto'>
</div>
</div>
</div>
</div>
<hr/>
<div class="row">
<div class="col-12">
<div class="input-group">
<span id="send" class="input-group-addon btn btn-success">+</span>
<textarea class="form-control" rows="1" id='msg'></textarea>
</div>
</div>
</div>
</div>
</body>
</html>