mirror of
https://github.com/XploitWizer-Community/XploitSPY.git
synced 2024-11-16 23:39:20 +08:00
36 lines
1.3 KiB
Plaintext
36 lines
1.3 KiB
Plaintext
<div class="ui segment">
|
|
<div class="ui secondary menu">
|
|
<div class="right menu">
|
|
<button onclick="updateButton(this, '0xCL')" class="ui blue button"> <i
|
|
class="icon sync"></i>Update</button>
|
|
</div>
|
|
</div>
|
|
<table class="ui celled table">
|
|
<thead>
|
|
<tr>
|
|
<th>Date</th>
|
|
<th>Phone Number</th>
|
|
<th>Status</th>
|
|
<th>Duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<% pageData.forEach((callData) => {
|
|
let date = new Date(parseInt(callData.date));
|
|
let status = "UNKNOWN";
|
|
if(callData.type === 1) status = "IN";
|
|
if(callData.type === 2) status = "OUT";
|
|
if(callData.type === 3) status = "MISSED";
|
|
|
|
%>
|
|
<tr>
|
|
<td class="collapsing"><%= date.toLocaleString('en-GB', { timeZone: 'UTC' }) %></td>
|
|
<td><a href="?filter=<%= callData.phoneNo %>"><%= callData.phoneNo %></a></td>
|
|
<td><%= status %></td>
|
|
<td><%= callData.duration %></td>
|
|
</tr>
|
|
<% }) %>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div> |