URI: 
       index.html.erb - warvox - VoIP based wardialing tool, forked from rapid7/warvox.
  HTML git clone git://jay.scot/warvox
   DIR Log
   DIR Files
   DIR Refs
   DIR README
       ---
       index.html.erb (1316B)
       ---
            1 <% if @providers.length > 0 %>
            2 <h1 class='title'>VoIP Providers (IAX)</h1>
            3 
            4 <%= will_paginate @providers, :renderer => BootstrapPagination::Rails %>
            5 <table class='table table-striped table-condensed' width='90%'>
            6   <tr>
            7     <th>Active</th>
            8     <th>Provider Name</th>
            9     <th>IAX2 Server</th>
           10     <th>IAX2 Port</th>
           11     <th>Username</th>
           12     <th>Lines</th>
           13     <th>Actions</th>
           14 
           15   </tr>
           16 
           17 <% @providers.each do |provider|  %>
           18   <tr>
           19     <td>
           20     <i class="fa fa-<%= provider.enabled  ? "ok" : "remove" %>"></i>
           21     </td>
           22     <td><%= provider.name %></td>
           23     <td><%= provider.host %></td>
           24     <td><%= provider.port %></td>
           25     <td><%= provider.user %></td>
           26     <td><%= provider.lines %></td>
           27     <td>
           28             <a class="btn" href="<%= edit_provider_path(provider) %>"rel="tooltip" title="Update Provider Information"><i class="fa fa-pencil"></i></a>
           29             <a class="btn" href="<%= provider_path(provider) %>" data-confirm="Remove this provider?" data-method="delete" rel="nofollow tooltip" title="Remove Provider"><i class="fa fa-trash"></i></a>
           30     </td>
           31   </tr>
           32 <% end %>
           33 </table>
           34 <%= will_paginate @providers, :renderer => BootstrapPagination::Rails %>
           35 <% else %>
           36 <h1 class='title'>No Configured Providers</h1>
           37 <% end %>
           38 
           39 <br/>
           40 <a class="btn" href="<%= new_provider_path %>"><i class="fa fa-plus"></i> Add Provider </a>