-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2,780 changed files
with
565,187 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Place all the behaviors and hooks related to the matching controller here. | ||
# All this logic will automatically be available in application.js. | ||
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Place all the behaviors and hooks related to the matching controller here. | ||
# All this logic will automatically be available in application.js. | ||
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
.pricing-table .plan { | ||
border-radius: 1px; | ||
text-align: center; | ||
background-color: #f3f3f3; | ||
-moz-box-shadow: 0 0 6px 2px #b0b2ab; | ||
-webkit-box-shadow: 0 0 6px 2px #b0b2ab; | ||
box-shadow: 0 0 6px 2px #b0b2ab; | ||
} | ||
|
||
.plan:hover { | ||
background-color: #fff; | ||
-moz-box-shadow: 0 0 12px 3px #b0b2ab; | ||
-webkit-box-shadow: 0 0 12px 3px #b0b2ab; | ||
box-shadow: 0 0 12px 3px #b0b2ab; | ||
} | ||
|
||
.plan { | ||
margin-left: 3px !import; | ||
padding: 20px; | ||
color: #ff; | ||
background-color: #5e5f59; | ||
-moz-border-radius: 1px 1px 0 0; | ||
-webkit-border-radius: 1px 1px 0 0; | ||
border-radius: 1px 1px 0 0; | ||
} | ||
#plan1{ | ||
margin-top: 12px; | ||
} | ||
#plan3{ | ||
margin-top: 12px; | ||
} | ||
.center{ | ||
margin-left: 50px; | ||
} | ||
.plan-name-bronze { | ||
padding: 20px; | ||
color: #fff; | ||
background-color: #665D1E; | ||
-moz-border-radius: 1px 1px 0 0; | ||
-webkit-border-radius: 1px 1px 0 0; | ||
border-radius: 1px 1px 0 0; | ||
} | ||
|
||
.plan-name-silver { | ||
padding: 20px; | ||
color: #fff; | ||
background-color: #78B306;; | ||
-moz-border-radius: 1px 1px 0 0; | ||
-webkit-border-radius: 1px 1px 0 0; | ||
border-radius: 1px 1px 0 0; | ||
} | ||
|
||
.plan-name-gold { | ||
padding: 20px; | ||
color: #fff; | ||
background-color: #FFD700; | ||
-moz-border-radius: 1px 1px 0 0; | ||
-webkit-border-radius: 1px 1px 0 0; | ||
border-radius: 1px 1px 0 0; | ||
} | ||
|
||
.pricing-table-bronze { | ||
padding: 20px; | ||
color: #fff; | ||
background-color: #f89406; | ||
-moz-border-radius: 5px 5px 0 0; | ||
-webkit-border-radius: 5px 5px 0 0; | ||
border-radius: 5px 5px 0 0; | ||
} | ||
|
||
.pricing-table .plan .plan-name span { | ||
font-size: 20px; | ||
} | ||
|
||
.pricing-table .plan ul { | ||
list-style: none; | ||
margin: 0; | ||
-moz-border-radius: 0 0 5px 5px; | ||
-webkit-border-radius: 0 0 5px 5px; | ||
border-radius: 0 0 5px 5px; | ||
} | ||
|
||
.pricing-table .plan ul li.plan-feature { | ||
padding: 15px 10px; | ||
border-top: 1px solid #c5c8c0; | ||
} | ||
|
||
.pricing-three-column { | ||
margin: 0 auto; | ||
width: 80%; | ||
} | ||
|
||
.pricing-variable-height .plan { | ||
float: none; | ||
margin-left: 2%; | ||
vertical-align: bottom; | ||
display: inline-block; | ||
zoom:1; | ||
*display:inline; | ||
} | ||
|
||
.plan-mouseover .plan-name { | ||
background-color: #4e9a06 !important; | ||
} | ||
|
||
.btn-plan-select { | ||
padding: 8px 25px; | ||
font-size: 18px; | ||
} | ||
|
||
#billing_header{ | ||
text-align: center; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// Place all the styles related to the StaticPages controller here. | ||
// They will automatically be included in application.css. | ||
// You can use Sass (SCSS) here: http://sass-lang.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// Place all the styles related to the uploads controller here. | ||
// They will automatically be included in application.css. | ||
// You can use Sass (SCSS) here: http://sass-lang.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
|
||
|
||
.acc_settings_container{ | ||
border: 1px solid #DACDCC; | ||
border-radius: 3px; | ||
box-shadow: 0px 1px 10px 2px #ECECEC; | ||
} | ||
|
||
#headings_container{ | ||
margin-left: 0px; | ||
min-height: 60px; | ||
background: #EAF5FD; | ||
border-bottom: 1px solid #DACDCC; | ||
} | ||
|
||
.headings{ | ||
|
||
} | ||
.top-border{ | ||
margin-left: 0px; | ||
border-top: 1px solid #DACDCC; | ||
} | ||
.top-padding5{ | ||
|
||
padding-top: 5px; | ||
} | ||
.warning{ | ||
color: #EE7E17; | ||
} | ||
.sub-title{ | ||
font-size: 18px; | ||
} | ||
.pad0{ | ||
padding:10px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
class StaticPagesController < ApplicationController | ||
def faq | ||
render layout: false | ||
end | ||
|
||
def billing_info | ||
render layout: false | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
class UploadsController < ApplicationController | ||
before_filter :authenticate_user!, :except => :excel_jobs | ||
layout "candidate" | ||
|
||
def new_upload_excel | ||
@excel = Excel.new | ||
end | ||
|
||
def upload_excel | ||
params[:excel][:user_id] = current_user.id | ||
@excel = Excel.new(params[:excel]) | ||
if @excel.save | ||
redirect_to new_upload_excel_path, :notice => "Upload Successfully. It will take sometime to process | ||
the file" | ||
else | ||
render :action => "new_upload_excel" | ||
end | ||
|
||
end | ||
|
||
def excel_jobs | ||
@excel = Excel.where(:status => "0").all | ||
@excel.each do |excel| | ||
|
||
|
||
#url = excel.excel_sheet.path | ||
#url_data = File.open(url).read() | ||
#Rails.logger.info "sssss test: #{url}" | ||
if Excel.import(excel.excel_sheet.path, excel.user_id) | ||
excel.status = 1 | ||
excel.save | ||
end | ||
|
||
end | ||
|
||
render :nothing => true | ||
|
||
end | ||
|
||
|
||
#==============linked_in======== | ||
|
||
def new_upload_linkedin | ||
@linkedin = Linkedin.new | ||
end | ||
|
||
def upload_linkedin | ||
params[:linkedin][:user_id] = current_user.id | ||
@linkedin = Linkedin.new(params[:linkedin]) | ||
if @linkedin.save | ||
redirect_to new_upload_linkedin_path, :notice => "Upload Successfully. It will take sometime to process | ||
the file" | ||
else | ||
render :action => "new_upload_linkedin" | ||
end | ||
|
||
end | ||
#=====outlook===# | ||
def new_upload_outlook | ||
@outlook = Outlook.new | ||
end | ||
|
||
def upload_outlook | ||
params[:outlook][:user_id] = current_user.id | ||
@outlook = Outlook.new(params[:outlook]) | ||
if @outlook.save | ||
redirect_to new_upload_outlook_path, :notice => "Upload Successfully. It will take sometime to process | ||
the file" | ||
else | ||
render :action => "new_upload_outlook" | ||
end | ||
|
||
end | ||
|
||
|
||
#===========resume=============== | ||
|
||
|
||
def new_upload_doc | ||
@resume = Doc.new | ||
end | ||
|
||
def upload_doc | ||
params[:doc][:user_id] = current_user.id | ||
@resume = Doc.new(params[:doc]) | ||
if @resume.save | ||
redirect_to new_upload_doc_path, :notice => "Upload Successfully. It will take sometime to process | ||
the file" | ||
else | ||
render :action => "new_upload_doc" | ||
end | ||
|
||
end | ||
|
||
#===============resume end================= | ||
|
||
#=====class end============== | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,13 @@ | ||
module CandidatesHelper | ||
|
||
def avatar_url(candidate) | ||
gravatar_id = Digest::MD5::hexdigest(candidate.email).downcase | ||
"http://gravatar.com/avatar/#{gravatar_id}.png" | ||
end | ||
|
||
def get_tags | ||
tags = Tag.all.map{|tag| { "id"=>tag.id,"name"=>tag.name} } | ||
raw tags.to_json | ||
end | ||
|
||
end |
Oops, something went wrong.