This repository has been archived by the owner on Jun 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
53 lines (45 loc) · 2.06 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
<!DOCTYPE html>
<html>
<head>
<link href="bootstrap.css" rel="stylesheet">
<link href="atomix.css" rel="stylesheet"/>
<link href="font-awesome/css/font-awesome.css" rel="stylesheet" />
<script src="atomix.js"></script>
</head>
<body>
<header class="header">
<i class="fa fa-asterisk"></i><b>ATOMIX</b><text>Realtime Asterisk Monitor Web Panel</text>
</header>
<div class="main-panel">
<div class="panel panel-default">
<div class="panel-heading"><i class="fa fa-cog"></i> Panels to Show</div>
<div class="panel-body" id="options">
<button class="btn btn-primary" id="dahdi-btn" onclick='ShowPanel("dahdi");'>DAHDI channels</button>
<button class="btn btn-primary" id="pjsip-btn" onclick='ShowPanel("pjsip");'>SIP Peers</button>
<button class="btn btn-primary" id="channels-btn" onclick='ShowPanel("channels");'>Calls</button>
<button class="btn btn-primary" id="console-btn" onclick='ShowPanel("console");'>Console</button>
</div>
</div>
<div class="panel panel-default" id="dahdi-panel">
<div class="panel-heading"><i class="fa fa-user"></i> DAHDI Channels</div>
<div class="panel-body" id="dahdi"> </div>
</div>
<div class="panel panel-default" id="pjsip-panel" >
<div class="panel-heading"><i class="fa fa-user"></i> SIP Contacts</div>
<div class="panel-body" id=pjsip> </div>
</div>
<div class="panel panel-default" id="channels-panel">
<div class="panel-heading"><i class="fa fa-phone"></i> Calls</div>
<div class="panel-body" id="channels"></div>
</div>
<div class="panel panel-default" id="console-panel">
<div class="panel-heading"><i class="fa fa-cogs"></i> Console</div>
<div class="panel-body">
<pre id="log" style="height: 20em; overflow-y: scroll; background-color: #faa;"></pre>
<input id="command" type="text" size="50" maxlength="50" placeholder ="Enter command" >
<button class="btn"onclick='sendCommand();'>Send</button>
</div>
</div>
</div>
</body>
</html>