-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
126 lines (125 loc) · 4.97 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
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
<!DOCTYPE html>
<html>
<head>
<title>Blabble Chrome Example</title>
<link href="./css/bootstrap.min.css" rel="stylesheet" />
<link href="./css/site.css" rel="stylesheet" />
<script language="javascript" src="./js/jquery.min.js"></script>
<script language="javascript" src="./js/bootstrap.min.js"></script>
<script language="javascript" src="./js/blabble.js"></script>
</head>
<body>
<embed id="softphonePlugin" type="application/x-blabble" onload="phoneOnLoad" logging="false">
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<img class="brand-logo" src="./img/icon_128.png" />
<a class="brand" href="#">
Blabble Chrome Example</a>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="accountSettings well span5">
<h3>Account Settings</h3>
<form class="form-horizontal">
<div class="control-group">
<label for="status" class="control-label">Status:</label>
<div class="controls">
<span class="control-text" id="status">Not Connected</span>
</div>
</div>
<div id="connectionInfo">
<div class="control-group">
<label for="server" class="control-label">Server:</label>
<div class="controls">
<input type="text" id="server" value="" />
</div>
</div>
<div class="control-group">
<label for="user" class="control-label">User:</label>
<div class="controls">
<input type="text" id="user" value="" />
</div>
</div>
<div class="control-group">
<label for="pass" class="control-label">Password:</label>
<div class="controls">
<input type="password" id="pass" value="" />
</div>
</div>
<div class="connectButton control-group">
<div class="controls">
<button id="connect" class="btn btn-primary">Connect</button>
</div>
</div>
</div>
<div id="disconnectBlock" class="connectButton control-group" style="display:none;">
<div class="controls">
<button id="disconnect" class="btn btn-danger">Disconnect</button>
</div>
</div>
</form>
</div>
<div class="softphone well span5" style="margin-left:50px">
<form class="form-horizontal">
<div class="control-group">
<label for="status" class="control-label">Current Call:</label>
<div class="controls">
<span class="control-text" id="callInfo">None</span>
</div>
</div>
<div class="control-group">
<label for="user" class="control-label">sip:</label>
<div class="controls">
<div class="input-append">
<input type="text" id="dialBox" class="input-medium" autocomplete="off" />
<button class="btn" id="dial"><span class="phone-icon dial-icon"></span></button>
<button class="btn" id="hangup"><span class="phone-icon hangup-icon"></span></button>
</div>
<div class="dial-pad-container dropdown">
<a class="btn" id="expand-dialpad" data-target="#" data-toggle="dropdown"><i class="icon-chevron-right"></i></a>
<div class="dial-pad dropdown-menu">
<div class="dial-row">
<button class="btn btn-small" id="dial-1">1<div class="dial-letters"> </div></button>
<button class="btn btn-small" id="dial-2">2<div class="dial-letters">abc</div></button>
<button class="btn btn-small" id="dial-3">3<div class="dial-letters">def</div></button>
</div>
<div class="dial-row">
<button class="btn btn-small" id="dial-4">4<div class="dial-letters">ghi</div></button>
<button class="btn btn-small" id="dial-5">5<div class="dial-letters">jkl</div></button>
<button class="btn btn-small" id="dial-6">6<div class="dial-letters">mno</div></button>
</div>
<div class="dial-row">
<button class="btn btn-small" id="dial-7">7<div class="dial-letters">pqrs</div></button>
<button class="btn btn-small" id="dial-8">8<div class="dial-letters">tuv</div></button>
<button class="btn btn-small" id="dial-9">9<div class="dial-letters">wxyz</div></button>
</div>
<div class="dial-row">
<button class="btn btn-small" id="dial-star">*</button>
<button class="btn btn-small" id="dial-0">0</button>
<button class="btn btn-small" id="dial-pound">#</button>
</div>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
<div id="incomingCall" class="modal hide fade" data-backdrop="static" data-keyboard="false">
<div class="modal-header">
<h3>Incoming call</h3>
</div>
<div class="modal-body">
<p>From: <span id="incomingCID"></span></p>
</div>
<div class="modal-footer">
<a href="#" class="btn" id="rejectIncoming">Reject</a>
<a href="#" class="btn btn-primary" id="answerIncoming">Answer</a>
</div>
</div>
</body>
</html>