From 2e052828a6f177cb55ac7dcbfade007fe0ae3fe6 Mon Sep 17 00:00:00 2001 From: Ken Johnson Date: Sun, 16 Jun 2013 00:49:28 -0400 Subject: [PATCH] taskbar / active enhancement --- app/views/benefit_forms/index.html.erb | 12 +++++++++++- app/views/layouts/shared/_sidebar.html.erb | 8 ++++---- app/views/paid_time_off/index.html.erb | 13 ++++++++++++- app/views/performance/index.html.erb | 7 ++++++- app/views/retirement/index.html.erb | 12 +++++++++++- app/views/work_info/index.html.erb | 8 +++++++- 6 files changed, 51 insertions(+), 9 deletions(-) diff --git a/app/views/benefit_forms/index.html.erb b/app/views/benefit_forms/index.html.erb index f529beb..372a2ce 100644 --- a/app/views/benefit_forms/index.html.erb +++ b/app/views/benefit_forms/index.html.erb @@ -58,4 +58,14 @@ - \ No newline at end of file + + + \ No newline at end of file diff --git a/app/views/layouts/shared/_sidebar.html.erb b/app/views/layouts/shared/_sidebar.html.erb index 6391e64..bc6e77a 100755 --- a/app/views/layouts/shared/_sidebar.html.erb +++ b/app/views/layouts/shared/_sidebar.html.erb @@ -26,7 +26,7 @@ Benefit Forms <% end %> -
  • +
  • <%= link_to user_retirement_index_path(:user_id => current_user.user_id) do %>
    @@ -34,7 +34,7 @@ 401k Info <% end %>
  • -
  • +
  • <%= link_to user_paid_time_off_index_path(:user_id => current_user.user_id) do %>
    @@ -42,7 +42,7 @@ PTO <% end %>
  • -
  • +
  • <%= link_to user_work_info_index_path(:user_id => current_user.user_id) do %>
    @@ -50,7 +50,7 @@ Work Info <% end %>
  • -
  • +
  • <%= link_to user_performance_index_path(:user_id => current_user.user_id) do %>
    diff --git a/app/views/paid_time_off/index.html.erb b/app/views/paid_time_off/index.html.erb index 45a235d..2b4e668 100644 --- a/app/views/paid_time_off/index.html.erb +++ b/app/views/paid_time_off/index.html.erb @@ -122,6 +122,16 @@ \ No newline at end of file diff --git a/app/views/retirement/index.html.erb b/app/views/retirement/index.html.erb index 5c10190..4e45f31 100644 --- a/app/views/retirement/index.html.erb +++ b/app/views/retirement/index.html.erb @@ -71,4 +71,14 @@
    - \ No newline at end of file + + + \ No newline at end of file diff --git a/app/views/work_info/index.html.erb b/app/views/work_info/index.html.erb index 39fee76..1b429b5 100644 --- a/app/views/work_info/index.html.erb +++ b/app/views/work_info/index.html.erb @@ -50,8 +50,14 @@ function maskSSN(){ } +function makeActive(){ + $('li[id="employee_info"]').addClass('active'); +}; + + $(document).ready(function () { - maskSSN() + maskSSN(), + makeActive() }); \ No newline at end of file