Job results view - warvox - VoIP based wardialing tool, forked from rapid7/warvox.
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
 (DIR) commit 5d5ff7536bcc334921225494e5eb292653bee43f
 (DIR) parent 4128340993deb6db8c6af78b4e26d68a89b4349c
 (HTM) Author: HD Moore <hd_moore@rapid7.com>
       Date:   Thu,  3 Jan 2013 00:50:26 -0600
       
       Job results view
       
       Diffstat:
         A app/views/jobs/view_results.html.e… |      52 +++++++++++++++++++++++++++++++
       
       1 file changed, 52 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/app/views/jobs/view_results.html.erb b/app/views/jobs/view_results.html.erb
       @@ -0,0 +1,52 @@
       +<% if @results.length > 0 %>
       +
       +
       +<h1 class='title'>Dial Results for Job <%=@job.id%></h1>
       +
       +
       +<table width='100%' align='center' border=0 cellspacing=0 cellpadding=6>
       +<tr>
       +        <td align='center'>
       +                <%= render :partial => 'shared/graphs/call_results' %>
       +        </td>
       +</tr>
       +</table>
       +
       +<br/>
       +
       +<%= will_paginate @results, :renderer => BootstrapPagination::Rails %>
       +
       +<table class='table table-striped table-bordered' width='90%' id='results'>
       +  <thead>
       +  <tr>
       +    <th>Number</th>
       +    <th>CallerID</th>
       +    <th>Provider</th>
       +    <th>Completed</th>
       +    <th>Busy</th>
       +    <th>Seconds</th>
       +        <th>Ring Time</th>
       +  </tr>
       +  </thead>
       +  <tbody>
       +<% @results.each do |call| %>
       +  <tr>
       +    <td><%= call.number %></td>
       +    <td><%= call.caller_id %></td>
       +    <td><%= call.provider.name %></td>
       +    <td><%= call.answered %></td>
       +    <td><%= call.busy %></td>
       +    <td><%= call.audio_length %></td>
       +    <td><%= call.ring_length %></td>
       +  </tr>
       +<% end %>
       +  </tbody>
       +</table>
       +
       +<%= will_paginate @results, :renderer => BootstrapPagination::Rails %>
       +
       +<% else %>
       +
       +<h1 class='title'>No Results</h1>
       +
       +<% end %>