lib/pwn/reports/phone.rb in pwn-0.4.544 vs lib/pwn/reports/phone.rb in pwn-0.4.545
- old
+ new
@@ -102,13 +102,14 @@
<a class="toggle-vis" data-column="3" href="#">Source # Rules</a> |
<a class="toggle-vis" data-column="4" href="#">Target #</a> |
<a class="toggle-vis" data-column="5" href="#">Seconds Recorded</a> |
<a class="toggle-vis" data-column="6" href="#">Call Stopped</a>
<a class="toggle-vis" data-column="7" href="#">Reason</a>
- <a class="toggle-vis" data-column="8" href="#">Recording</a> |
- <a class="toggle-vis" data-column="9" href="#">Spectrogram</a> |
- <a class="toggle-vis" data-column="10" href="#">Waveform</a>
+ <a class="toggle-vis" data-column="8" href="#">Screenlog</a> |
+ <a class="toggle-vis" data-column="9" href="#">Recording</a> |
+ <a class="toggle-vis" data-column="10" href="#">Spectrogram</a> |
+ <a class="toggle-vis" data-column="11" href="#">Waveform</a>
</div>
<br /><br />
<div>
<table id="pwn_phone_results" class="display" cellspacing="0">
@@ -120,10 +121,11 @@
<th>Source # Rules</th>
<th>Target #</th>
<th>Seconds Recorded</th>
<th>Call Stopped</th>
<th>Reason Stopped</th>
+ <th>Screenlog</th>
<th>Recording</th>
<th>Spectrogram</th>
<th>Waveform</th>
</tr>
</thead>
@@ -195,9 +197,16 @@
"render": $.fn.dataTable.render.text()
},
{
"data": "reason",
"render": $.fn.dataTable.render.text()
+ },
+ {
+ "data": "screenlog",
+ "render": function (data, type, row, meta) {
+ var screenlog = htmlEntityEncode(data);
+ return '<a href="' + screenlog +'" target="_blank">' + screenlog + '</a>';
+ }
},
{
"data": "recording",
"render": function (data, type, row, meta) {
var wav = htmlEntityEncode(data);