Closer - warvox - VoIP based wardialing tool, forked from rapid7/warvox.
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
 (DIR) commit c078c54129840102135ff8b7cee15f5176b09e3a
 (DIR) parent d2b998dd5f188d4f7c037ae8953471eab9c1fa27
 (HTM) Author: HD Moore <hd_moore@rapid7.com>
       Date:   Mon, 31 Dec 2012 00:11:03 -0600
       
       Closer
       
       Diffstat:
         M app/assets/stylesheets/bootstrap_a… |      17 ++++++++++++++---
         M app/controllers/home_controller.rb  |      12 ++++++++++++
         M app/controllers/user_sessions_cont… |       2 --
         M app/views/layouts/application.html… |       8 +++++---
         M app/views/layouts/login.html.erb    |       2 +-
         M config/routes.rb                    |       3 +++
       
       6 files changed, 35 insertions(+), 9 deletions(-)
       ---
 (DIR) diff --git a/app/assets/stylesheets/bootstrap_and_overrides.css.less b/app/assets/stylesheets/bootstrap_and_overrides.css.less
       @@ -38,8 +38,19 @@ body {
        @navbarBackground: #ea5709;
        @navbarBackgroundHighlight: #4A1C04;
        
       +
       +.check-item {
       +        font-size: 18px;
       +        margin-bottom: 10px;
       +}
       +.check-result {
       +        margin-left: 40px;
       +        width: 500px;
       +        font-size: 16px;
       +}
       +
        .project-title {
       -        font-size: 22px;
       +        font-size: 18px;
                color: @white;
                margin-top: 10px;
                margin-right: 50px;
       @@ -123,8 +134,8 @@ background-image: linear-gradient(to bottom, #EA5709 0%, #000000 100%);
        #login-logo {
                margin-left: auto;
                margin-right: auto;
       -        width: 88px;
       -        height: 20px;
       +        width: 222px;
       +        height: 68px;
                margin-top: 60px;
        }
        
 (DIR) diff --git a/app/controllers/home_controller.rb b/app/controllers/home_controller.rb
       @@ -12,4 +12,16 @@ class HomeController < ApplicationController
                        rescue ::LoadError
                        end
                end
       +
       +        def help
       +        end
       +
       +        def check
       +                @has_project  = ( Project.count > 0 )
       +                @has_provider = ( Provider.count > 0 )
       +                @has_job      = ( DialJob.count > 0 )
       +                @has_result   = ( DialResult.where(:completed => true ).count > 0 )
       +                @has_analysis = ( DialResult.where(:processed => true ).count > 0 )
       +        end
       +
        end
 (DIR) diff --git a/app/controllers/user_sessions_controller.rb b/app/controllers/user_sessions_controller.rb
       @@ -10,7 +10,6 @@ class UserSessionsController < ApplicationController
                def create
                        @user_session = UserSession.new(params[:user_session])
                        if @user_session.save
       -                        flash[:notice] = "Login successful!"
                                redirect_back_or_default projects_path
                        else
                                render :action => :new
       @@ -19,7 +18,6 @@ class UserSessionsController < ApplicationController
        
                def destroy
                        current_user_session.destroy
       -                flash[:notice] = "Logout successful!"
                        redirect_back_or_default login_url
                end
        end
 (DIR) diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
       @@ -32,7 +32,7 @@
        
                                <%= menu_group :pull => :right  do %>
                                <% if @project and @project.id %>
       -                                <li class="project-title"><%= truncate(@project.name, :length => 25) %></li>
       +                                <li class="project-title"><%= truncate(@project.name, :length => 20) %></li>
                                        <%= menu_item "Dial", new_dial_job_path(@project) %>
                                        <%= menu_item "Jobs", dial_jobs_path(@project) %>
                                        <%= menu_item "Results", dial_results_path(@project) %>
       @@ -49,14 +49,16 @@
                                                <% end %>
                                        <% end %>
        
       -                                <%= drop_down "Administration" do %>
       +                                <%= drop_down "Admin" do %>
                                                <%= menu_item raw('<i class="icon-user"></i> My Account'), user_path(current_user) %>
                                                <%= menu_item raw('<i class="icon-globe"></i> Providers'), providers_path %>
                                                <%= menu_item raw('<i class="icon-wrench"></i> Config'), settings_path %>
                                                <%= menu_item raw('<i class="icon-info-sign"></i> About'), about_path %>
                                        <% end %>
        
       -                                <%= menu_item "Logout", logout_path %>
       +                                <%= menu_item raw('<div class="help-icon"><i class="icon-off icon-white" rel="tooltip" title="Logout"></i></div>'), logout_path %>
       +
       +                                <%= menu_item raw('<div class="help-icon"><i class="icon-question-sign icon-white" rel="tooltip" title="Help!"></i></div>'), check_path %>
                                <% end %>
                        <% end %>
        
 (DIR) diff --git a/app/views/layouts/login.html.erb b/app/views/layouts/login.html.erb
       @@ -28,7 +28,7 @@
          </head>
          <body id="login">
          <div id="login-panel">
       -  <div id="login-logo"><img src="/assets/logo_light.png" border=0 alt="WarVOX"></div>
       +  <div id="login-logo"><img src="/assets/logo_bigger.png" border=0 alt="WarVOX"></div>
          <div id="box">
            <%= yield %>
          </div>
 (DIR) diff --git a/config/routes.rb b/config/routes.rb
       @@ -38,6 +38,9 @@ Web::Application.routes.draw do
          match '/projects/:project_id/settings'    => 'settings#index', :as => :project_settings
          match '/about'               => 'home#about'
          match '/home/about'          => 'home#about'
       +  match '/help'                => 'home#help'
       +  match '/check'               => 'home#check', :as => :check
       +
        
          root :to => "projects#index"
        end