-
Notifications
You must be signed in to change notification settings - Fork 0
/
pbxlog.html
58 lines (57 loc) · 1.17 KB
/
pbxlog.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
<html>
<head>
<title>pbxlog</title>
<style>
table { border: 1px black solid; border-collapse: collapse; width: 100%; }
th { border: 1px black solid; }
td { text-align: left; }
tr.group1 { background: #00a9a5; }
tr.group2 { background: #a6808c; }
tr.group3 { background: #86a08b; }
tr.group4 { background: #a7bbec; }
tr.group5 { background: #d5bbb1; }
</style>
</head>
<body>
<h1>pbxlog</h1>
<table>
<tr>
<th>callid</th>
<th>extension</th>
<th>extname</th>
<th>auth</th>
<th>authname</th>
<th>calltime</th>
<th>duration</th>
<th>code</th>
<th>dialed</th>
<th>account</th>
<th>cost</th>
<th>clid</th>
<th>clidname</th>
<th>gpno</th>
<th>ringtime</th>
</tr>
{{range .List}}
<tr class="group{{.Group}}">
<td>{{ .Callid }}</td>
<td>{{ .Extension }}</td>
<td>{{ .ExtName }}</td>
<td>{{ .Auth }}</td>
<td>{{ .AuthName }}</td>
<td>{{ .Calltime }}</td>
<td>{{ .Duration }}</td>
<td>{{ .Code }}</td>
<td>{{ .Dialed }}</td>
<td>{{ .Account }}</td>
<td>{{ .Cost }}</td>
<td>{{ .Clid }}</td>
<td>{{ .Clidname }}</td>
<td>{{ .Gpno }}</td>
<td>{{ .Ringtime }}</td>
</tr>
{{end}}
</table>
Page: <a href="?page=1">First</a> <a href="?page={{.Prev}}">Prev</a> <a href="?page={{.Next}}">Next</a>
</body>
</html>