multiinsert 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (153) hide show
  1. data/.gitignore +17 -15
  2. data/Gemfile +3 -48
  3. data/LICENSE.txt +22 -0
  4. data/README.md +28 -3
  5. data/Rakefile +1 -7
  6. data/lib/multiinsert.rb +38 -0
  7. data/lib/multiinsert/version.rb +3 -0
  8. data/multiinsert.gemspec +23 -0
  9. metadata +8 -180
  10. data/Gemfile.lock +0 -182
  11. data/README.rdoc +0 -261
  12. data/app/assets/images/Dashboard.jpg +0 -0
  13. data/app/assets/images/black.png +0 -0
  14. data/app/assets/images/giff.gif +0 -0
  15. data/app/assets/images/rails.png +0 -0
  16. data/app/assets/images/sprites.png +0 -0
  17. data/app/assets/javascripts/application.js +0 -15
  18. data/app/assets/javascripts/effects.js +0 -9
  19. data/app/assets/javascripts/evaluations.js.coffee +0 -3
  20. data/app/assets/javascripts/tabs_old.js +0 -42
  21. data/app/assets/stylesheets/application.css +0 -13
  22. data/app/assets/stylesheets/evaluations.css.scss +0 -3
  23. data/app/assets/stylesheets/style.css +0 -477
  24. data/app/assets/stylesheets/tab.css +0 -190
  25. data/app/controllers/application_controller.rb +0 -15
  26. data/app/controllers/employee_heirarchies_controller.rb +0 -2
  27. data/app/controllers/evaluations_controller.rb +0 -80
  28. data/app/controllers/sessions_controller.rb +0 -48
  29. data/app/helpers/application_helper.rb +0 -2
  30. data/app/helpers/employee_heirarchies_helper.rb +0 -2
  31. data/app/helpers/evaluations_helper.rb +0 -2
  32. data/app/mailers/.gitkeep +0 -0
  33. data/app/models/.gitkeep +0 -0
  34. data/app/models/employee.rb +0 -5
  35. data/app/models/employee_heirarchy.rb +0 -6
  36. data/app/models/evaluation.rb +0 -6
  37. data/app/models/evaluation_interval.rb +0 -5
  38. data/app/models/evaluation_period.rb +0 -6
  39. data/app/models/interval_format.rb +0 -4
  40. data/app/models/role.rb +0 -7
  41. data/app/models/score.rb +0 -3
  42. data/app/models/team.rb +0 -10
  43. data/app/models/team.rb~ +0 -10
  44. data/app/models/team_value.rb +0 -5
  45. data/app/models/user.rb +0 -49
  46. data/app/models/user.rb~ +0 -11
  47. data/app/models/user_history.rb +0 -6
  48. data/app/models/user_role.rb +0 -5
  49. data/app/models/value.rb +0 -8
  50. data/app/models/value.rb~ +0 -7
  51. data/app/views/devise/confirmations/new.html.erb +0 -12
  52. data/app/views/devise/mailer/confirmation_instructions.html.erb +0 -5
  53. data/app/views/devise/mailer/reset_password_instructions.html.erb +0 -8
  54. data/app/views/devise/mailer/unlock_instructions.html.erb +0 -7
  55. data/app/views/devise/passwords/edit.html.erb +0 -16
  56. data/app/views/devise/passwords/new.html.erb +0 -12
  57. data/app/views/devise/registrations/edit.html.erb +0 -29
  58. data/app/views/devise/registrations/new.html.erb +0 -36
  59. data/app/views/devise/sessions/new.html.erb +0 -17
  60. data/app/views/devise/shared/_links.erb +0 -25
  61. data/app/views/devise/unlocks/new.html.erb +0 -12
  62. data/app/views/evaluations/edit.html.erb +0 -21
  63. data/app/views/evaluations/first.html.erb +0 -5
  64. data/app/views/evaluations/index.html.erb +0 -7
  65. data/app/views/evaluations/new.html.erb +0 -15
  66. data/app/views/evaluations/show.html.erb +0 -21
  67. data/app/views/layouts/application.html.erb +0 -87
  68. data/config.ru +0 -4
  69. data/config/application.rb +0 -63
  70. data/config/boot.rb +0 -6
  71. data/config/database.yml +0 -31
  72. data/config/database.yml~ +0 -31
  73. data/config/environment.rb +0 -5
  74. data/config/environments/development.rb +0 -37
  75. data/config/environments/production.rb +0 -67
  76. data/config/environments/test.rb +0 -37
  77. data/config/initializers/backtrace_silencers.rb +0 -7
  78. data/config/initializers/devise.rb +0 -240
  79. data/config/initializers/inflections.rb +0 -15
  80. data/config/initializers/mime_types.rb +0 -5
  81. data/config/initializers/rails_admin.rb +0 -116
  82. data/config/initializers/secret_token.rb +0 -7
  83. data/config/initializers/session_store.rb +0 -8
  84. data/config/initializers/wrap_parameters.rb +0 -14
  85. data/config/locales/devise.en.yml +0 -59
  86. data/config/locales/en.yml +0 -5
  87. data/config/routes.rb +0 -70
  88. data/db/migrate/20130220053413_devise_create_users.rb +0 -52
  89. data/db/migrate/20130220055237_create_rails_admin_histories_table.rb +0 -18
  90. data/db/migrate/20130220060116_create_values.rb +0 -9
  91. data/db/migrate/20130220060116_create_values.rb~ +0 -8
  92. data/db/migrate/20130220060206_create_scores.rb +0 -9
  93. data/db/migrate/20130220060258_create_teams.rb +0 -8
  94. data/db/migrate/20130220060347_create_team_values.rb +0 -9
  95. data/db/migrate/20130220060347_create_team_values.rb~ +0 -10
  96. data/db/migrate/20130220060427_create_roles.rb +0 -8
  97. data/db/migrate/20130220060605_create_evaluation_periods.rb +0 -10
  98. data/db/migrate/20130220060807_create_evaluation_intervals.rb +0 -9
  99. data/db/migrate/20130220060902_create_interval_formats.rb +0 -9
  100. data/db/migrate/20130220061022_create_user_histories.rb +0 -13
  101. data/db/migrate/20130220061242_create_evaluations.rb +0 -16
  102. data/db/migrate/20130305063738_create_user_roles.rb +0 -9
  103. data/db/migrate/20130305091849_create_employees.rb +0 -12
  104. data/db/migrate/20130305144125_create_employee_heirarchies.rb +0 -13
  105. data/db/migrate/20130305150244_add_foreign_keys_to_employee_heirarchies.rb +0 -6
  106. data/db/migrate/20130307035139_addmanagerid_to_evaluations.rb +0 -9
  107. data/db/schema.rb +0 -175
  108. data/db/seeds.rb +0 -7
  109. data/doc/README_FOR_APP +0 -2
  110. data/lib/assets/.gitkeep +0 -0
  111. data/lib/tasks/.gitkeep +0 -0
  112. data/log/.gitkeep +0 -0
  113. data/public/404.html +0 -26
  114. data/public/422.html +0 -26
  115. data/public/500.html +0 -25
  116. data/public/favicon.ico +0 -0
  117. data/public/robots.txt +0 -5
  118. data/script/rails +0 -6
  119. data/test/fixtures/.gitkeep +0 -0
  120. data/test/fixtures/evaluation_intervals.yml +0 -9
  121. data/test/fixtures/evaluation_periods.yml +0 -11
  122. data/test/fixtures/evaluations.yml +0 -19
  123. data/test/fixtures/interval_formats.yml +0 -7
  124. data/test/fixtures/roles.yml +0 -7
  125. data/test/fixtures/scores.yml +0 -9
  126. data/test/fixtures/team_values.yml +0 -9
  127. data/test/fixtures/teams.yml +0 -9
  128. data/test/fixtures/user_histories.yml +0 -15
  129. data/test/fixtures/users.yml +0 -11
  130. data/test/fixtures/values.yml +0 -7
  131. data/test/functional/.gitkeep +0 -0
  132. data/test/functional/employee_heirarchies_controller_test.rb +0 -7
  133. data/test/functional/evaluations_controller_test.rb +0 -7
  134. data/test/integration/.gitkeep +0 -0
  135. data/test/performance/browsing_test.rb +0 -12
  136. data/test/test_helper.rb +0 -13
  137. data/test/unit/.gitkeep +0 -0
  138. data/test/unit/evaluation_interval_test.rb +0 -7
  139. data/test/unit/evaluation_period_test.rb +0 -7
  140. data/test/unit/evaluation_test.rb +0 -7
  141. data/test/unit/helpers/employee_heirarchies_helper_test.rb +0 -4
  142. data/test/unit/helpers/evaluations_helper_test.rb +0 -4
  143. data/test/unit/interval_format_test.rb +0 -7
  144. data/test/unit/role_test.rb +0 -7
  145. data/test/unit/score_test.rb +0 -7
  146. data/test/unit/team_test.rb +0 -7
  147. data/test/unit/team_value_test.rb +0 -7
  148. data/test/unit/user_history_test.rb +0 -7
  149. data/test/unit/user_test.rb +0 -7
  150. data/test/unit/value_test.rb +0 -7
  151. data/vendor/assets/javascripts/.gitkeep +0 -0
  152. data/vendor/assets/stylesheets/.gitkeep +0 -0
  153. data/vendor/plugins/.gitkeep +0 -0
@@ -1,11 +0,0 @@
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
@@ -1,6 +0,0 @@
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
@@ -1,5 +0,0 @@
1
- class UserRole < ActiveRecord::Base
2
- attr_accessible :role_id, :user_id
3
- belongs_to :role
4
- belongs_to :user
5
- end
@@ -1,8 +0,0 @@
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
@@ -1,7 +0,0 @@
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
@@ -1,12 +0,0 @@
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" %>
@@ -1,5 +0,0 @@
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>
@@ -1,8 +0,0 @@
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>
@@ -1,7 +0,0 @@
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>
@@ -1,16 +0,0 @@
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" %>
@@ -1,12 +0,0 @@
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" %>
@@ -1,29 +0,0 @@
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 %>
@@ -1,36 +0,0 @@
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" %>
@@ -1,17 +0,0 @@
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" %>
@@ -1,25 +0,0 @@
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 -%>
@@ -1,12 +0,0 @@
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" %>
@@ -1,21 +0,0 @@
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 %>
@@ -1,5 +0,0 @@
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%>
@@ -1,7 +0,0 @@
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 %>
@@ -1,15 +0,0 @@
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 %>
@@ -1,21 +0,0 @@
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 %>
@@ -1,87 +0,0 @@
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>
data/config.ru DELETED
@@ -1,4 +0,0 @@
1
- # This file is used by Rack-based servers to start the application.
2
-
3
- require ::File.expand_path('../config/environment', __FILE__)
4
- run EmployPerf::Application
@@ -1,63 +0,0 @@
1
- require File.expand_path('../boot', __FILE__)
2
-
3
- require 'rails/all'
4
-
5
- if defined?(Bundler)
6
- # If you precompile assets before deploying to production, use this line
7
- Bundler.require(*Rails.groups(:assets => %w(development test)))
8
- # If you want your assets lazily compiled in production, use this line
9
- # Bundler.require(:default, :assets, Rails.env)
10
- end
11
-
12
- module EmployPerf
13
- class Application < Rails::Application
14
- # Settings in config/environments/* take precedence over those specified here.
15
- # Application configuration should go into files in config/initializers
16
- # -- all .rb files in that directory are automatically loaded.
17
-
18
- # Custom directories with classes and modules you want to be autoloadable.
19
- # config.autoload_paths += %W(#{config.root}/extras)
20
-
21
- # Only load the plugins named here, in the order given (default is alphabetical).
22
- # :all can be used as a placeholder for all plugins not explicitly named.
23
- # config.plugins = [ :exception_notification, :ssl_requirement, :all ]
24
-
25
- # Activate observers that should always be running.
26
- # config.active_record.observers = :cacher, :garbage_collector, :forum_observer
27
-
28
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
29
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
30
- # config.time_zone = 'Central Time (US & Canada)'
31
-
32
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
33
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
34
- # config.i18n.default_locale = :de
35
-
36
- # Configure the default encoding used in templates for Ruby 1.9.
37
- config.encoding = "utf-8"
38
-
39
- # Configure sensitive parameters which will be filtered from the log file.
40
- config.filter_parameters += [:password]
41
- config.assets.initialize_on_precompile = false
42
-
43
- # Enable escaping HTML in JSON.
44
- config.active_support.escape_html_entities_in_json = true
45
-
46
- # Use SQL instead of Active Record's schema dumper when creating the database.
47
- # This is necessary if your schema can't be completely dumped by the schema dumper,
48
- # like if you have constraints or database-specific column types
49
- # config.active_record.schema_format = :sql
50
-
51
- # Enforce whitelist mode for mass assignment.
52
- # This will create an empty whitelist of attributes available for mass-assignment for all models
53
- # in your app. As such, your models will need to explicitly whitelist or blacklist accessible
54
- # parameters by using an attr_accessible or attr_protected declaration.
55
- config.active_record.whitelist_attributes = true
56
-
57
- # Enable the asset pipeline
58
- config.assets.enabled = true
59
-
60
- # Version of your assets, change this if you want to expire all your assets
61
- config.assets.version = '1.0'
62
- end
63
- end