index.html.erb - warvox - VoIP based wardialing tool, forked from rapid7/warvox.
 (HTM) git clone git://jay.scot/warvox
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
       index.html.erb (1412B)
       ---
            1 <h1 class='title'>WarVOX Projects</h1>
            2 <p>
            3         <a class="btn" href="<%= new_project_path %>">
            4                 <i class="fa fa-plus"></i> Create Project
            5         </a>
            6 </p>
            7 
            8 <%= will_paginate @projects, :renderer => BootstrapPagination::Rails %>
            9 <table id='projects-table' class='table table-striped' width='90%'>
           10         <thead>
           11         <tr>
           12                 <th>Name</th>
           13                 <th>Description</th>
           14                 <th>Jobs</th>
           15                 <th>Calls</th>
           16                 <th>Analyzed</th>
           17                 <th>Created</th>
           18                 <th>Actions</th>
           19         </tr>
           20         </thead>
           21         <tbody>
           22                 <% @projects.each do |project|  %>
           23                         <tr>
           24                                 <td><%= link_to( h(project.name), project_path(project)) %></td>
           25                                 <td><%=truncate(project.description, :length => 40, :separator => '') %></td>
           26                                 <td><%= number_with_delimiter(project.jobs.count) %></td>
           27                                 <td><%= number_with_delimiter(project.calls.count) %></td>
           28                                 <td><%= number_with_delimiter(project.calls.where('analysis_completed_at IS NOT NULL').count) %></td>
           29                                 <td><%= time_ago_in_words(project.created_at) %> ago</td>
           30                                 <td>
           31                                         <a class="btn" href="<%= edit_project_path(project) %>"rel="tooltip" title="Update Project Information"><i class="fa fa-pencil"></i></a>
           32                                         <a class="btn" href="<%= project_path(project) %>" data-confirm="Delete this project?" data-method="delete" rel="nofollow tooltip" title="Delete Project"><i class="fa fa-trash"></i></a>
           33                         </td>
           34                         </tr>
           35                 <% end %>
           36         </tbody>
           37 </table>
           38 
           39 <%= will_paginate @projects, :renderer => BootstrapPagination::Rails %>
           40