2013-07-30 11:19:10 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
2013-09-04 13:26:28 +00:00
|
|
|
<record id="website_mail_jobs" model="mail.group">
|
|
|
|
<field name="name">Jobs</field>
|
|
|
|
<field name="public">public</field>
|
|
|
|
<field name="description">Job Posts on your website</field>
|
|
|
|
</record>
|
2013-08-14 12:07:06 +00:00
|
|
|
<template id="job_footer_custom" inherit_id="website.layout" name="Custom Footer Job">
|
2013-09-20 08:58:39 +00:00
|
|
|
<xpath expr="//body/footer//div[@name='info']/ul" position="inside">
|
2013-08-16 10:41:41 +00:00
|
|
|
<li><a href="/jobs">Jobs</a></li>
|
2013-08-14 12:07:06 +00:00
|
|
|
</xpath>
|
|
|
|
</template>
|
2013-09-19 12:10:03 +00:00
|
|
|
|
2013-09-20 08:58:39 +00:00
|
|
|
<template id="index" name="Jobs" page="True">
|
2013-07-30 11:19:10 +00:00
|
|
|
<t t-call="website.layout">
|
2013-08-19 13:05:00 +00:00
|
|
|
<t t-set="head">
|
|
|
|
<t t-raw="head or ''"/>
|
|
|
|
</t>
|
2013-08-12 10:01:13 +00:00
|
|
|
<t t-set="title">Jobs</t>
|
2013-09-20 08:58:39 +00:00
|
|
|
<div id="wrap">
|
|
|
|
<div class="oe_structure">
|
|
|
|
<h1 class="text-center">Job Position</h1>
|
|
|
|
</div>
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-4 css_noprint" id="left_column">
|
|
|
|
<ul class="nav nav-pills nav-stacked">
|
|
|
|
<li class="nav-header">Departments</li>
|
|
|
|
<t t-foreach="departments" t-as="department">
|
|
|
|
<li t-att-class="department.id == active and 'active' or ''">
|
|
|
|
<a t-attf-href="/department/#{ department.id }/" ><t t-field="department.name"/></a>
|
|
|
|
</li>
|
|
|
|
</t>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-8">
|
|
|
|
<t t-call="website.pager" >
|
|
|
|
<t t-set="classname">pull-left</t>
|
|
|
|
</t>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-8">
|
|
|
|
<ul class="media-list">
|
|
|
|
<li t-foreach="res_job" t-as="job" class="media" data-publish="">
|
|
|
|
<t t-call="website.publish"><t t-set="object" t-value="job"/></t>
|
|
|
|
<div class="media-body">
|
|
|
|
<span t-if="not job.no_of_recruitment" class="label label-default pull-right">No recruitment needed.</span>
|
|
|
|
<t t-if="job.no_of_recruitment">
|
|
|
|
<span class="label label-default pull-right label-info"><t t-esc="vals[job.id]['count']"/> Recruitment availables.</span>
|
|
|
|
</t>
|
|
|
|
<h4 class="media-heading"><a t-attf-href="/job/detail/#{ job.id }/"><span t-field="job.name"> </span></a></h4>
|
|
|
|
<div>
|
|
|
|
<i class="icon-time"></i> <span t-esc="vals[job.id]['date_recruitment']"> </span>
|
|
|
|
</div>
|
|
|
|
<div t-if="companies[0].country_id">
|
|
|
|
<i class="icon-map-marker"></i> <span t-field="companies[0].city"> </span> <span t-if="companies[0].state_id" t-field="companies[0].state_id.name"> </span>, <span t-field="companies[0].country_id.name"> </span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="oe_structure"/>
|
|
|
|
</div>
|
2013-07-30 11:19:10 +00:00
|
|
|
</t>
|
|
|
|
</template>
|
|
|
|
<template id="detail">
|
|
|
|
<t t-call="website.layout">
|
2013-09-20 08:58:39 +00:00
|
|
|
<t t-set="head">
|
|
|
|
<script type="text/javascript" src="/website_hr_recruitment/static/src/js/recruitment.js"></script>
|
|
|
|
<t t-raw="head or ''"/>
|
|
|
|
</t>
|
2013-07-30 11:19:10 +00:00
|
|
|
<t t-set="title">Job Detail</t>
|
2013-09-20 08:58:39 +00:00
|
|
|
<div id="wrap">
|
|
|
|
<div class="oe_structure">
|
|
|
|
<h1 class="text-center" t-field="job.name"></h1>
|
|
|
|
<h4 class="text-center">
|
|
|
|
<i class="icon-time"></i> <span><t t-esc="vals_date"/></span>
|
|
|
|
</h4>
|
|
|
|
<h5 class="text-center">
|
|
|
|
<i class="icon-map-marker"></i> <span t-field="job.company_id.city"> </span> <span t-if="job.company_id.state_id" t-field="job.company_id.state_id.name"> </span>, <span t-field="job.company_id.country_id.name"> </span></h5>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="container">
|
|
|
|
<t t-call="website.publish"><t t-set="object" t-value="job"/></t>
|
|
|
|
<hr/>
|
|
|
|
<div class="row">
|
|
|
|
<div class="pull-left">
|
|
|
|
</div>
|
|
|
|
<h4>Description</h4>
|
|
|
|
<p t-field="job.description"></p>
|
|
|
|
<h4>Requirements</h4>
|
|
|
|
<p t-field="job.requirements"></p>
|
|
|
|
<t t-call="website_hr_recruitment.applyjobpost"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2013-07-30 11:19:10 +00:00
|
|
|
</t>
|
|
|
|
</template>
|
|
|
|
<template id="applyjobpost">
|
|
|
|
<t t-set="title">Apply Job</t>
|
|
|
|
<section id="forms">
|
2013-09-04 12:30:17 +00:00
|
|
|
<h1>Apply</h1>
|
|
|
|
<form class="form-horizontal mt32" action="/job/success" method="post" enctype="multipart/form-data">
|
|
|
|
<input type="hidden" t-att-value="job.department_id.id" name="department_id"/>
|
|
|
|
<input type="hidden" t-att-value="job.id" name="job_id"/>
|
|
|
|
<input type="hidden" t-att-value="job.name" name="name"/>
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-3 col-sm-4 control-label" for="partner_name">Name</label>
|
|
|
|
<div class="col-md-7 col-sm-8">
|
|
|
|
<input type="text" class="form-control" name="partner_name" required="True" />
|
2013-07-30 11:19:10 +00:00
|
|
|
</div>
|
2013-09-04 12:30:17 +00:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-3 col-sm-4 control-label" for="email_from">Email</label>
|
|
|
|
<div class="col-md-7 col-sm-8">
|
|
|
|
<input type="email" class="form-control" name="email_from" required="True" />
|
2013-07-30 11:19:10 +00:00
|
|
|
</div>
|
2013-09-04 12:30:17 +00:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-3 col-sm-4 control-label" for="description">Description</label>
|
|
|
|
<div class="col-md-7 col-sm-8">
|
|
|
|
<textarea class="form-control" name="description" style="min-height: 120px"/>
|
2013-07-30 11:19:10 +00:00
|
|
|
</div>
|
2013-09-04 12:30:17 +00:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-3 col-sm-4 control-label" for="ufile">Upload File</label>
|
|
|
|
<div class="col-md-7 col-sm-8">
|
2013-08-01 12:58:57 +00:00
|
|
|
<input class="input-file" id="fileInput" type="file" name="ufile" required="true"/>
|
|
|
|
</div>
|
2013-09-04 12:30:17 +00:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="col-md-offset-3 col-sm-offset-4 col-sm-8 col-md-7">
|
2013-07-30 11:19:10 +00:00
|
|
|
<button type="submit" class="btn btn-primary">Save</button>
|
2013-09-04 12:30:17 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2013-07-30 11:19:10 +00:00
|
|
|
</form>
|
|
|
|
</section>
|
|
|
|
</template>
|
|
|
|
<template id="thankyou">
|
|
|
|
<t t-call="website.layout">
|
|
|
|
<t t-set="title">Thank You!</t>
|
2013-09-04 12:30:17 +00:00
|
|
|
<div class="col-md-4 pull-right">
|
2013-07-30 11:19:10 +00:00
|
|
|
<ul class="pager">
|
2013-08-13 13:38:30 +00:00
|
|
|
<li><a t-att-href="'/job/detail/%%s' %% jobid">All Jobs</a></li>
|
2013-07-30 11:19:10 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<section id="typography">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
2013-09-04 12:30:17 +00:00
|
|
|
<h2>You have successfully applied for job.</h2>
|
2013-07-30 11:19:10 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</t>
|
|
|
|
</template>
|
|
|
|
</data>
|
2013-09-20 08:58:39 +00:00
|
|
|
</openerp>
|