asiaH5/modules/recruitment/job_index.html.erb

169 lines
3.7 KiB
Plaintext
Raw Normal View History

2021-04-19 03:11:35 +00:00
<style type="text/css">
#job-wrapper{
margin-top: 30px;
width: 100%;
min-height: 500px;
}
.no-jobs{
text-align: center;
font-size: 22px;
}
#job-wrapper .job-row{
margin:5px;
border: 1px solid #cecece;
width: calc(100% - 10px);
min-height: 200px;
display: inline-block;
}
#job-wrapper .job-row:hover{
background-color: #eee;
}
#job-wrapper .job-row .img-holder{
display: inline-block;
margin: 3px;
margin-top: 5px;
line-height: 194px;
}
#job-wrapper .job-row .img-holder img{
width: 194px;
vertical-align: middle;
}
#job-wrapper .job-row .content-holder{
vertical-align: top;
display: inline-block;
margin: 10px;
width: calc(100% - 225px);
}
#job-wrapper .job-row .content-holder .job-title{
font-size: 22px;
font-weight: bold;
margin-left: 5px;
margin-bottom: 8px;
border-bottom: 1px solid #cecece;
}
.post-type{
margin-bottom: 5px;
font-size: 18px;
}
#job-wrapper .job-row .content-holder .info-holder{
border-right: 1px solid #cecece;
width: 250px;
display: inline-block;
}
#job-wrapper .job-row .content-holder .info-holder span{
margin-left: 5px;
margin-bottom: 5px;
color: #a8a4a4;
display: block;
}
#job-wrapper .job-row .content-holder .description-holder{
display: inline-block;
width: calc(100% - 275px);
padding: 5px;
margin-left: 10px;
vertical-align: top;
}
#search-form{
width: 100%;
}
#search-form .search-bar{
width: 90%;
border: 1px solid #c4c4c4;
padding: 5px 10px;
border-radius: 10px;
display: inline-block;
}
#search-form .search-bar i{
font-size: 22px;
color: #8c8c8c;
}
#search-form .search-bar .search-box{
width: calc(100% - 30px);
border: none;
/*border-bottom: 1px solid #cecece;*/
margin-left: 5px;
}
#search-form a{
display: inline-block;
width: 100px;
text-align: center;
vertical-align: middle;
}
#search-form .search-box:focus{
outline: none;
}
.page-title .criteria{
font-size: 20px;
}
.reset-search{
margin-left: 10px;
font-size: 20px;
}
#advancedSearch .modal-dialog{
z-index: 1100;
}
</style>
<h3 class="page-title">{{page-title}} {{criteria}}</h3>
<div id="search-form">
<div class="search-bar">
<form action="">
<i class="fa fa-search" aria-hidden="true"></i>
<input name="q" class="search-box" type="text" placeholder="Desgination, Skills, Company Name">
</form>
</div>
<a href="" id="advancedSearchBtn">{{advanced-search}}</a>
</div>
<div class="no-jobs" style="display: none;">
No Jobs Found.
</div>
<div id="job-wrapper" data-list="jobs" data-level="0">
<div class="job-row">
<div class="img-holder">
<img src="{{avatar}}" alt="member avatar">
</div>
<div class="content-holder">
<div class="job-title"><a href="{{url_to_show}}">{{title}}</a><div class="post-type pull-right">{{post-type}}</div></div>
<div class="content">
<div class="info-holder">
<span><i class="fa fa-certificate" aria-hidden="true"></i> {{industry}}</span>
<span><i class="fa fa-briefcase" aria-hidden="true"></i> {{company_name}}</span>
<span><i class="fa fa-map-marker" aria-hidden="true"></i> {{location}}</span>
<span><i class="fa fa-line-chart" aria-hidden="true"></i> {{work_experience_years}} {{work_experience_months}}</span>
<span date-format="%d %B %Y"><i class="fa fa-clock-o" aria-hidden="true"></i> {{postdate}}</span>
</div>
<div class="description-holder">
{{description}}
<div class="skill-holder" data-list="skills" data-level="1">
<span class="label label-default">{{skill-tag}}</span>
</div>
</div>
</div>
</div>
</div>
</div>
{{pagination_goes_here}}
<script type="text/javascript">
if($("#job-wrapper .job-row").length == 0){
$(".no-jobs").show();
}
</script>