multiinsert 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (149) hide show
  1. data/.gitignore +15 -0
  2. data/Gemfile +49 -0
  3. data/Gemfile.lock +182 -0
  4. data/README.md +4 -0
  5. data/README.rdoc +261 -0
  6. data/Rakefile +7 -0
  7. data/app/assets/images/Dashboard.jpg +0 -0
  8. data/app/assets/images/black.png +0 -0
  9. data/app/assets/images/giff.gif +0 -0
  10. data/app/assets/images/rails.png +0 -0
  11. data/app/assets/images/sprites.png +0 -0
  12. data/app/assets/javascripts/application.js +15 -0
  13. data/app/assets/javascripts/effects.js +9 -0
  14. data/app/assets/javascripts/evaluations.js.coffee +3 -0
  15. data/app/assets/javascripts/tabs_old.js +42 -0
  16. data/app/assets/stylesheets/application.css +13 -0
  17. data/app/assets/stylesheets/evaluations.css.scss +3 -0
  18. data/app/assets/stylesheets/style.css +477 -0
  19. data/app/assets/stylesheets/tab.css +190 -0
  20. data/app/controllers/application_controller.rb +15 -0
  21. data/app/controllers/employee_heirarchies_controller.rb +2 -0
  22. data/app/controllers/evaluations_controller.rb +80 -0
  23. data/app/controllers/sessions_controller.rb +48 -0
  24. data/app/helpers/application_helper.rb +2 -0
  25. data/app/helpers/employee_heirarchies_helper.rb +2 -0
  26. data/app/helpers/evaluations_helper.rb +2 -0
  27. data/app/mailers/.gitkeep +0 -0
  28. data/app/models/.gitkeep +0 -0
  29. data/app/models/employee.rb +5 -0
  30. data/app/models/employee_heirarchy.rb +6 -0
  31. data/app/models/evaluation.rb +6 -0
  32. data/app/models/evaluation_interval.rb +5 -0
  33. data/app/models/evaluation_period.rb +6 -0
  34. data/app/models/interval_format.rb +4 -0
  35. data/app/models/role.rb +7 -0
  36. data/app/models/score.rb +3 -0
  37. data/app/models/team.rb +10 -0
  38. data/app/models/team.rb~ +10 -0
  39. data/app/models/team_value.rb +5 -0
  40. data/app/models/user.rb +49 -0
  41. data/app/models/user.rb~ +11 -0
  42. data/app/models/user_history.rb +6 -0
  43. data/app/models/user_role.rb +5 -0
  44. data/app/models/value.rb +8 -0
  45. data/app/models/value.rb~ +7 -0
  46. data/app/views/devise/confirmations/new.html.erb +12 -0
  47. data/app/views/devise/mailer/confirmation_instructions.html.erb +5 -0
  48. data/app/views/devise/mailer/reset_password_instructions.html.erb +8 -0
  49. data/app/views/devise/mailer/unlock_instructions.html.erb +7 -0
  50. data/app/views/devise/passwords/edit.html.erb +16 -0
  51. data/app/views/devise/passwords/new.html.erb +12 -0
  52. data/app/views/devise/registrations/edit.html.erb +29 -0
  53. data/app/views/devise/registrations/new.html.erb +36 -0
  54. data/app/views/devise/sessions/new.html.erb +17 -0
  55. data/app/views/devise/shared/_links.erb +25 -0
  56. data/app/views/devise/unlocks/new.html.erb +12 -0
  57. data/app/views/evaluations/edit.html.erb +21 -0
  58. data/app/views/evaluations/first.html.erb +5 -0
  59. data/app/views/evaluations/index.html.erb +7 -0
  60. data/app/views/evaluations/new.html.erb +15 -0
  61. data/app/views/evaluations/show.html.erb +21 -0
  62. data/app/views/layouts/application.html.erb +87 -0
  63. data/config.ru +4 -0
  64. data/config/application.rb +63 -0
  65. data/config/boot.rb +6 -0
  66. data/config/database.yml +31 -0
  67. data/config/database.yml~ +31 -0
  68. data/config/environment.rb +5 -0
  69. data/config/environments/development.rb +37 -0
  70. data/config/environments/production.rb +67 -0
  71. data/config/environments/test.rb +37 -0
  72. data/config/initializers/backtrace_silencers.rb +7 -0
  73. data/config/initializers/devise.rb +240 -0
  74. data/config/initializers/inflections.rb +15 -0
  75. data/config/initializers/mime_types.rb +5 -0
  76. data/config/initializers/rails_admin.rb +116 -0
  77. data/config/initializers/secret_token.rb +7 -0
  78. data/config/initializers/session_store.rb +8 -0
  79. data/config/initializers/wrap_parameters.rb +14 -0
  80. data/config/locales/devise.en.yml +59 -0
  81. data/config/locales/en.yml +5 -0
  82. data/config/routes.rb +70 -0
  83. data/db/migrate/20130220053413_devise_create_users.rb +52 -0
  84. data/db/migrate/20130220055237_create_rails_admin_histories_table.rb +18 -0
  85. data/db/migrate/20130220060116_create_values.rb +9 -0
  86. data/db/migrate/20130220060116_create_values.rb~ +8 -0
  87. data/db/migrate/20130220060206_create_scores.rb +9 -0
  88. data/db/migrate/20130220060258_create_teams.rb +8 -0
  89. data/db/migrate/20130220060347_create_team_values.rb +9 -0
  90. data/db/migrate/20130220060347_create_team_values.rb~ +10 -0
  91. data/db/migrate/20130220060427_create_roles.rb +8 -0
  92. data/db/migrate/20130220060605_create_evaluation_periods.rb +10 -0
  93. data/db/migrate/20130220060807_create_evaluation_intervals.rb +9 -0
  94. data/db/migrate/20130220060902_create_interval_formats.rb +9 -0
  95. data/db/migrate/20130220061022_create_user_histories.rb +13 -0
  96. data/db/migrate/20130220061242_create_evaluations.rb +16 -0
  97. data/db/migrate/20130305063738_create_user_roles.rb +9 -0
  98. data/db/migrate/20130305091849_create_employees.rb +12 -0
  99. data/db/migrate/20130305144125_create_employee_heirarchies.rb +13 -0
  100. data/db/migrate/20130305150244_add_foreign_keys_to_employee_heirarchies.rb +6 -0
  101. data/db/migrate/20130307035139_addmanagerid_to_evaluations.rb +9 -0
  102. data/db/schema.rb +175 -0
  103. data/db/seeds.rb +7 -0
  104. data/doc/README_FOR_APP +2 -0
  105. data/lib/assets/.gitkeep +0 -0
  106. data/lib/tasks/.gitkeep +0 -0
  107. data/log/.gitkeep +0 -0
  108. data/public/404.html +26 -0
  109. data/public/422.html +26 -0
  110. data/public/500.html +25 -0
  111. data/public/favicon.ico +0 -0
  112. data/public/robots.txt +5 -0
  113. data/script/rails +6 -0
  114. data/test/fixtures/.gitkeep +0 -0
  115. data/test/fixtures/evaluation_intervals.yml +9 -0
  116. data/test/fixtures/evaluation_periods.yml +11 -0
  117. data/test/fixtures/evaluations.yml +19 -0
  118. data/test/fixtures/interval_formats.yml +7 -0
  119. data/test/fixtures/roles.yml +7 -0
  120. data/test/fixtures/scores.yml +9 -0
  121. data/test/fixtures/team_values.yml +9 -0
  122. data/test/fixtures/teams.yml +9 -0
  123. data/test/fixtures/user_histories.yml +15 -0
  124. data/test/fixtures/users.yml +11 -0
  125. data/test/fixtures/values.yml +7 -0
  126. data/test/functional/.gitkeep +0 -0
  127. data/test/functional/employee_heirarchies_controller_test.rb +7 -0
  128. data/test/functional/evaluations_controller_test.rb +7 -0
  129. data/test/integration/.gitkeep +0 -0
  130. data/test/performance/browsing_test.rb +12 -0
  131. data/test/test_helper.rb +13 -0
  132. data/test/unit/.gitkeep +0 -0
  133. data/test/unit/evaluation_interval_test.rb +7 -0
  134. data/test/unit/evaluation_period_test.rb +7 -0
  135. data/test/unit/evaluation_test.rb +7 -0
  136. data/test/unit/helpers/employee_heirarchies_helper_test.rb +4 -0
  137. data/test/unit/helpers/evaluations_helper_test.rb +4 -0
  138. data/test/unit/interval_format_test.rb +7 -0
  139. data/test/unit/role_test.rb +7 -0
  140. data/test/unit/score_test.rb +7 -0
  141. data/test/unit/team_test.rb +7 -0
  142. data/test/unit/team_value_test.rb +7 -0
  143. data/test/unit/user_history_test.rb +7 -0
  144. data/test/unit/user_test.rb +7 -0
  145. data/test/unit/value_test.rb +7 -0
  146. data/vendor/assets/javascripts/.gitkeep +0 -0
  147. data/vendor/assets/stylesheets/.gitkeep +0 -0
  148. data/vendor/plugins/.gitkeep +0 -0
  149. metadata +258 -0
@@ -0,0 +1,49 @@
1
+ class User < ActiveRecord::Base
2
+ # Include default devise modules. Others available are:
3
+ # :token_authenticatable, :confirmable,
4
+ # :lockable, :timeoutable and :omniauthable
5
+ devise :database_authenticatable, :registerable,:confirmable,
6
+ :recoverable, :rememberable, :trackable, :validatable
7
+ # Setup accessible (or protected) attributes for your model
8
+ attr_accessible :email, :password, :password_confirmation, :remember_me, :firstname, :lastname, :phonenum, :address, :team_id, :role_id, :evaulation,:manager_id
9
+ belongs_to :team
10
+ # belongs_to :role
11
+ has_many :evaluations
12
+ has_many :user_histories
13
+ #~ attr_accessible :title, :body
14
+ has_many :user_roles
15
+ has_many :roles, :through => :user_roles
16
+ accepts_nested_attributes_for :evaluations
17
+
18
+ #~ has_many :subordinates, :class_name => "User", :foreign_key => "manager_id"
19
+ #~ belongs_to :manager, :class_name => "User"
20
+
21
+ scope :managers, :conditions => { :role_id => 2 }
22
+
23
+ rails_admin do
24
+ list do
25
+ field :email
26
+ field :password
27
+ field :password_confirmation
28
+ field :team_id
29
+ field :role_id
30
+ field :manager_id
31
+ end
32
+ show do
33
+ field :email
34
+ field :password
35
+ field :password_confirmation
36
+ field :team_id
37
+ field :role_id
38
+ field :manager_id
39
+ end
40
+ edit do
41
+ field :email
42
+ field :password
43
+ field :password_confirmation
44
+ field :team_id
45
+ field :role_id
46
+ field :manager_id
47
+ end
48
+ end
49
+ end
@@ -0,0 +1,11 @@
1
+ class User < ActiveRecord::Base
2
+ # Include default devise modules. Others available are:
3
+ # :token_authenticatable, :confirmable,
4
+ # :lockable, :timeoutable and :omniauthable
5
+ devise :database_authenticatable, :registerable,:confirmable,
6
+ :recoverable, :rememberable, :trackable, :validatable
7
+
8
+ # Setup accessible (or protected) attributes for your model
9
+ attr_accessible :email, :password, :password_confirmation, :remember_me
10
+ # attr_accessible :title, :body
11
+ end
@@ -0,0 +1,6 @@
1
+ class UserHistory < ActiveRecord::Base
2
+ attr_accessible :date, :evaluation_period_id, :team_id, :totalpoints, :user_id,:manager_id
3
+ belongs_to :team
4
+ belongs_to :user
5
+ belongs_to :evaluation_period
6
+ end
@@ -0,0 +1,5 @@
1
+ class UserRole < ActiveRecord::Base
2
+ attr_accessible :role_id, :user_id
3
+ belongs_to :role
4
+ belongs_to :user
5
+ end
@@ -0,0 +1,8 @@
1
+ class Value < ActiveRecord::Base
2
+ attr_accessible :description, :title
3
+ has_many :team_values
4
+ has_many :teams, :through => :team_values
5
+ has_many :evaluations
6
+ accepts_nested_attributes_for :evaluations, :reject_if => lambda { |a| a[:content].blank? }, :allow_destroy => true
7
+ #belongs_to :team
8
+ end
@@ -0,0 +1,7 @@
1
+ class Value < ActiveRecord::Base
2
+ attr_accessible :description
3
+ has_many :team_values
4
+ has_many :teams, :through => :team_values
5
+ has_many :evaluations
6
+ #belongs_to :team
7
+ end
@@ -0,0 +1,12 @@
1
+ <h2>Resend confirmation instructions</h2>
2
+
3
+ <%= form_for(resource, :as => resource_name, :url => confirmation_path(resource_name), :html => { :method => :post }) do |f| %>
4
+ <%= devise_error_messages! %>
5
+
6
+ <div><%= f.label :email %><br />
7
+ <%= f.email_field :email, :autofocus => true %></div>
8
+
9
+ <div><%= f.submit "Resend confirmation instructions" %></div>
10
+ <% end %>
11
+
12
+ <%= render "devise/shared/links" %>
@@ -0,0 +1,5 @@
1
+ <p>Welcome <%= @email %>!</p>
2
+
3
+ <p>You can confirm your account email through the link below:</p>
4
+
5
+ <p><%= link_to 'Confirm my account', confirmation_url(@resource, :confirmation_token => @resource.confirmation_token) %></p>
@@ -0,0 +1,8 @@
1
+ <p>Hello <%= @resource.email %>!</p>
2
+
3
+ <p>Someone has requested a link to change your password. You can do this through the link below.</p>
4
+
5
+ <p><%= link_to 'Change my password', edit_password_url(@resource, :reset_password_token => @resource.reset_password_token) %></p>
6
+
7
+ <p>If you didn't request this, please ignore this email.</p>
8
+ <p>Your password won't change until you access the link above and create a new one.</p>
@@ -0,0 +1,7 @@
1
+ <p>Hello <%= @resource.email %>!</p>
2
+
3
+ <p>Your account has been locked due to an excessive number of unsuccessful sign in attempts.</p>
4
+
5
+ <p>Click the link below to unlock your account:</p>
6
+
7
+ <p><%= link_to 'Unlock my account', unlock_url(@resource, :unlock_token => @resource.unlock_token) %></p>
@@ -0,0 +1,16 @@
1
+ <h2>Change your password</h2>
2
+
3
+ <%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put }) do |f| %>
4
+ <%= devise_error_messages! %>
5
+ <%= f.hidden_field :reset_password_token %>
6
+
7
+ <div><%= f.label :password, "New password" %><br />
8
+ <%= f.password_field :password, :autofocus => true %></div>
9
+
10
+ <div><%= f.label :password_confirmation, "Confirm new password" %><br />
11
+ <%= f.password_field :password_confirmation %></div>
12
+
13
+ <div><%= f.submit "Change my password" %></div>
14
+ <% end %>
15
+
16
+ <%= render "devise/shared/links" %>
@@ -0,0 +1,12 @@
1
+ <h2>Forgot your password?</h2>
2
+
3
+ <%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :post }) do |f| %>
4
+ <%= devise_error_messages! %>
5
+
6
+ <div><%= f.label :email %><br />
7
+ <%= f.email_field :email, :autofocus => true %></div>
8
+
9
+ <div><%= f.submit "Send me reset password instructions" %></div>
10
+ <% end %>
11
+
12
+ <%= render "devise/shared/links" %>
@@ -0,0 +1,29 @@
1
+ <h2>Edit <%= resource_name.to_s.humanize %></h2>
2
+
3
+ <%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put }) do |f| %>
4
+ <%= devise_error_messages! %>
5
+
6
+ <div><%= f.label :email %><br />
7
+ <%= f.email_field :email, :autofocus => true %></div>
8
+
9
+ <% if devise_mapping.confirmable? && resource.pending_reconfirmation? %>
10
+ <div>Currently waiting confirmation for: <%= resource.unconfirmed_email %></div>
11
+ <% end %>
12
+
13
+ <div><%= f.label :password %> <i>(leave blank if you don't want to change it)</i><br />
14
+ <%= f.password_field :password, :autocomplete => "off" %></div>
15
+
16
+ <div><%= f.label :password_confirmation %><br />
17
+ <%= f.password_field :password_confirmation %></div>
18
+
19
+ <div><%= f.label :current_password %> <i>(we need your current password to confirm your changes)</i><br />
20
+ <%= f.password_field :current_password %></div>
21
+
22
+ <div><%= f.submit "Update" %></div>
23
+ <% end %>
24
+
25
+ <h3>Cancel my account</h3>
26
+
27
+ <p>Unhappy? <%= button_to "Cancel my account", registration_path(resource_name), :data => { :confirm => "Are you sure?" }, :method => :delete %>.</p>
28
+
29
+ <%= link_to "Back", :back %>
@@ -0,0 +1,36 @@
1
+ <h2>Sign up</h2>
2
+
3
+ <%= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %>
4
+ <%= devise_error_messages! %>
5
+
6
+ <div><%= f.label :email %><br />
7
+ <%= f.email_field :email, :autofocus => true %></div>
8
+
9
+ <div><%= f.label :password %><br />
10
+ <%= f.password_field :password %></div>
11
+
12
+ <div><%= f.label :password_confirmation %><br />
13
+ <%= f.password_field :password_confirmation %></div>
14
+
15
+ <div><%= f.label :role %><br />
16
+ <%= select("user", "role_id", Role.all.collect {|p| [ p.role_description, p.id ] }, {:prompt =>'Select role'})%><br>
17
+
18
+ <%= f.label :SelectTeam %><br />
19
+ <%= f.select("team_id", Team.all.collect{|c| [c.name, c.id]}, {:prompt =>'Select team'})%><br>
20
+
21
+ <div><%= f.label :firstname %><br />
22
+ <%= f.text_field :firstname %></div>
23
+
24
+ <div><%= f.label :lastname %><br />
25
+ <%= f.text_field :lastname %></div>
26
+
27
+ <div><%= f.label :phoneno %><br />
28
+ <%= f.text_field :phonenum %></div>
29
+
30
+ <div><%= f.label :address %><br />
31
+ <%= f.text_field :address %></div>
32
+
33
+ <div><%= f.submit "Sign up" %></div>
34
+ <% end %>
35
+
36
+ <%= render "devise/shared/links" %>
@@ -0,0 +1,17 @@
1
+ <h2>Sign in</h2>
2
+
3
+ <%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>
4
+ <div><%= f.label :email %><br />
5
+ <%= f.email_field :email, :autofocus => true %></div>
6
+
7
+ <div><%= f.label :password %><br />
8
+ <%= f.password_field :password %></div>
9
+
10
+ <% if devise_mapping.rememberable? -%>
11
+ <div><%= f.check_box :remember_me %> <%= f.label :remember_me %></div>
12
+ <% end -%>
13
+
14
+ <div><%= f.submit "Sign in" %></div>
15
+ <% end %>
16
+
17
+ <%= render "devise/shared/links" %>
@@ -0,0 +1,25 @@
1
+ <%- if controller_name != 'sessions' %>
2
+ <%= link_to "Sign in", new_session_path(resource_name) %><br />
3
+ <% end -%>
4
+
5
+ <%- if devise_mapping.registerable? && controller_name != 'registrations' %>
6
+ <%#= link_to "Sign up", new_registration_path(resource_name) %><br />
7
+ <% end -%>
8
+
9
+ <%- if devise_mapping.recoverable? && controller_name != 'passwords' %>
10
+ <%= link_to "Forgot your password?", new_password_path(resource_name) %><br />
11
+ <% end -%>
12
+
13
+ <%- if devise_mapping.confirmable? && controller_name != 'confirmations' %>
14
+ <%= link_to "Didn't receive confirmation instructions?", new_confirmation_path(resource_name) %><br />
15
+ <% end -%>
16
+
17
+ <%- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks' %>
18
+ <%= link_to "Didn't receive unlock instructions?", new_unlock_path(resource_name) %><br />
19
+ <% end -%>
20
+
21
+ <%- if devise_mapping.omniauthable? %>
22
+ <%- resource_class.omniauth_providers.each do |provider| %>
23
+ <%= link_to "Sign in with #{provider.to_s.titleize}", omniauth_authorize_path(resource_name, provider) %><br />
24
+ <% end -%>
25
+ <% end -%>
@@ -0,0 +1,12 @@
1
+ <h2>Resend unlock instructions</h2>
2
+
3
+ <%= form_for(resource, :as => resource_name, :url => unlock_path(resource_name), :html => { :method => :post }) do |f| %>
4
+ <%= devise_error_messages! %>
5
+
6
+ <div><%= f.label :email %><br />
7
+ <%= f.email_field :email, :autofocus => true %></div>
8
+
9
+ <div><%= f.submit "Resend unlock instructions" %></div>
10
+ <% end %>
11
+
12
+ <%= render "devise/shared/links" %>
@@ -0,0 +1,21 @@
1
+ <% @evaluations.each do |evaluation| %>
2
+
3
+ <%= form_for :evaluation do |f| %>
4
+ <%= f.label :SelfPoints %>
5
+ <%#= f.text_field :self_points%>
6
+ <%= f.select("self_points", Score.all.collect {|c| [c.level, c.id]}, {:prompt =>'Select points'})%><br>
7
+
8
+ <%= f.label :SelfComments %>
9
+ <%= f.text_field :self_comments%><br>
10
+
11
+ <%#= f.label :ManagerPoints %>
12
+ <%#= f.text_field :manager_points%>
13
+
14
+ <%#= f.label :ManagerComments %>
15
+ <%#= f.text_field :manager_comments%>
16
+
17
+ <%= f.hidden_field :value_id, :value => value.id %>
18
+ <% end %>
19
+
20
+
21
+ <% end %>
@@ -0,0 +1,5 @@
1
+ <p> <center>welcome to RubySoftware performance form </center></p>
2
+
3
+ <%= link_to "Login",new_user_session_path%>
4
+ <%#= link_to "Register",new_user_registration_path%>
5
+ <%= link_to "ForgotYourPassword",new_user_password_path%>
@@ -0,0 +1,7 @@
1
+ <% @evaluations.each do |evaluation|%>
2
+ <%#= current_user.email%><br>
3
+ Selfpoints<%= evaluation.self_points%><br>
4
+ Selfcomments<%= evaluation.self_comments%><br>
5
+ Managerpoints<%#= evaluation.manager_points%><br>
6
+ Managercomments<%#= evaluation.manager_comments%><br>
7
+ <% end %>
@@ -0,0 +1,15 @@
1
+ <%= form_tag("/evaluations") do %>
2
+
3
+ <% @values.each do |value| %>
4
+ <%= value.title%><br>
5
+ <%= value.description%><br/>
6
+ <%= label_tag :SelfPoints %>
7
+ <%= select("evaluation-self_points-"+value.id.to_s,"", Score.all.collect {|c| [c.level, c.id]}, :prompt =>'Select points')%><br>
8
+ <%= label_tag :SelfComments %>
9
+ <%= text_field_tag "evaluation-self_comments-"+value.id.to_s%><br>
10
+ <% end %>
11
+
12
+
13
+ <%= submit_tag("Submit Evaluation") %>
14
+
15
+ <% end %>
@@ -0,0 +1,21 @@
1
+ <% @evaluations.each do |evaluation| %>
2
+
3
+ <%= form_for :evaluation do |f| %>
4
+ <%= f.label :SelfPoints %>
5
+ <%#= f.text_field :self_points%>
6
+ <%= f.select("self_points", Score.all.collect {|c| [c.level, c.id]}, {:prompt =>'Select points'})%><br>
7
+
8
+ <%= f.label :SelfComments %>
9
+ <%= f.text_field :self_comments%><br>
10
+
11
+ <%#= f.label :ManagerPoints %>
12
+ <%#= f.text_field :manager_points%>
13
+
14
+ <%#= f.label :ManagerComments %>
15
+ <%#= f.text_field :manager_comments%>
16
+
17
+ <%= f.hidden_field :value_id, :value => value.id %>
18
+ <% end %>
19
+
20
+
21
+ <% end %>
@@ -0,0 +1,87 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml">
3
+ <head>
4
+ <!--<link rel="stylesheet" href="/assets/style.css" />
5
+ <link rel="stylesheet" href="/assets/tab.css" /> -->
6
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
7
+ <%= javascript_include_tag 'application'%>
8
+ <%= javascript_include_tag 'employee'%>
9
+ <script type="text/javascript" src="/assets/effects.js"></script>
10
+ <script type="text/javascript" src="/assets/tabs_old.js"></script>
11
+ <title>Live the Value</title>
12
+ </head>
13
+ <body>
14
+
15
+ <div class="one">
16
+ <!--<div class="black_lay">
17
+ <img src="images/giff.gif" class="giff_img"/>
18
+ </div>-->
19
+ <div class="left">
20
+ <div class="logo_menu_container">
21
+ <div class="logo"></div>
22
+ <div class="menu_container">
23
+ <div class="menu_div">
24
+ <a class="dashboard" href="#">Dashboard</a>
25
+ </div>
26
+ <div class="menu_div">
27
+ <a class="myprof" href="#">MY Profile</a>
28
+ </div>
29
+ <div class="menu_div">
30
+ <a class="restpswd" href="#">Reset Password</a>
31
+ </div>
32
+ <div class="menu_div">
33
+ <a class="preview" href="#">Preview Date</a>
34
+ </div>
35
+ <div class="menu_div">
36
+ <a class="final" href="#">Final Review</a>
37
+ </div>
38
+ <div class="menu_div">
39
+ <a class="self" href="#">Self Evaluate</a>
40
+ </div>
41
+ <div class="menu_div">
42
+ <a class="more" href="#">More Pages</a>
43
+ </div>
44
+ <div class="menu_div" style="border-bottom: #CCCCCC solid 1px;">
45
+ <a class="mng" href="#">Manager Point</a>
46
+ </div>
47
+ </div><!--End logo_container-->
48
+ </div> <!--End logo_menu_container--></div>
49
+ <div class="right">
50
+ <div class="top_bar">
51
+ <div class="value">
52
+ <input class="value_btn" type="button" value="Value"/>
53
+ </div>
54
+ <div class="user_details">
55
+ <label class="user_name">FazilAbdulkadher</label>
56
+ <div class="user_photo"></div>
57
+ <div class="expand_arrow" id="box1">
58
+ <input class="arw_butt" type="button" onclick="showFrontLayer();"/>
59
+ </div>
60
+ </div>
61
+ </div><!--top_bar-->
62
+ <div id="baselayer">
63
+ <div id="bg_mask">
64
+ <div id="frontlayer">
65
+ <div class="photo_user"></div>
66
+ <div class="user_options">
67
+ <span class="user_option_list">Fazil Abdulakdher</span><br /><br />
68
+ <span class="user_option_list">Edit My Profile</span><br /><br /><br />
69
+ <span class="user_option_logout">Log out</span>
70
+ </div>
71
+ </div>
72
+ </div>
73
+ </div>
74
+
75
+ <p class="notice"><%= notice %></p>
76
+ <p class="alert"><%= alert %></p>
77
+ <%= yield %>
78
+ <% if user_signed_in?%>
79
+ <%=link_to "Logout",destroy_user_session_path%>
80
+ <%end%>
81
+ <div class="footer">
82
+ <div class="copy_right">www.ruby-softawre.com</div>
83
+ <div class="copy_right_ruby">&copy; 2013 Ruby Software</div>
84
+ </div><!--End footer-->
85
+ </div></div>
86
+ </body>
87
+ </html>