2013-07-30 11:19:10 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
2013-08-12 11:07:01 +00:00
|
|
|
<record id="footer_website_hr_recruitment" model="ir.ui.view">
|
|
|
|
<field name="name">footer_website_hr_recruitment</field>
|
|
|
|
<field name="inherit_id" ref="website.footer"/>
|
2013-07-30 11:19:10 +00:00
|
|
|
<field name="arch" type="xml">
|
|
|
|
<data>
|
2013-08-12 11:07:01 +00:00
|
|
|
<xpath expr="//a[@href='/page/website.contactus']" position="after">
|
|
|
|
<li><a href="/jobs">Jobs</a></li>
|
2013-07-30 11:19:10 +00:00
|
|
|
</xpath>
|
2013-08-12 11:07:01 +00:00
|
|
|
</data>
|
2013-07-30 11:19:10 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
2013-08-12 11:07:01 +00:00
|
|
|
|
2013-08-12 10:01:13 +00:00
|
|
|
<template id="jobs">
|
2013-07-30 11:19:10 +00:00
|
|
|
<t t-call="website.layout">
|
2013-08-12 10:01:13 +00:00
|
|
|
<t t-set="title">Jobs</t>
|
2013-07-30 11:19:10 +00:00
|
|
|
<div class="container">
|
2013-08-12 10:32:54 +00:00
|
|
|
<div class="page-header">
|
|
|
|
<h1>Job Position</h1>
|
|
|
|
</div>
|
|
|
|
<t t-foreach="companies" t-as="company">
|
2013-07-30 11:19:10 +00:00
|
|
|
<div class="page-header">
|
2013-08-12 10:32:54 +00:00
|
|
|
<h1 class="text-center"><t t-esc="company.name"/></h1>
|
2013-07-30 11:19:10 +00:00
|
|
|
</div>
|
2013-08-12 10:32:54 +00:00
|
|
|
<table class="table">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Post Name</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<t t-foreach="res_job" t-as="job">
|
|
|
|
<tr t-if="job.company_id.id==company.id">
|
|
|
|
<td>
|
|
|
|
<a t-att-href="'/job/detail/%%s' %% job.id"><span class="lead" t-field="job.name"/></a><br/>
|
2013-08-12 13:27:45 +00:00
|
|
|
<b><span t-if="job.department_id" t-esc="job.department_id.name"/></b><br/>
|
|
|
|
<span><b>No of Position:</b> <t t-esc="int(job.no_of_recruitment)"/></span><br/>
|
2013-08-12 10:42:32 +00:00
|
|
|
<span t-esc="job.write_date"/>
|
2013-08-12 10:32:54 +00:00
|
|
|
</td>
|
2013-08-12 13:27:45 +00:00
|
|
|
<td>
|
|
|
|
<span><b>Location:</b> <t t-esc="res_company.city+','"/> <t t-esc="res_company.state_id.name+','"/> <t t-esc="res_company.country_id.name+'.'"/></span><br/>
|
|
|
|
<span>&#x2706; <t t-esc="res_company.phone+'.'"/></span>
|
|
|
|
</td>
|
2013-07-30 11:19:10 +00:00
|
|
|
</tr>
|
2013-08-12 10:32:54 +00:00
|
|
|
</t>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</t>
|
2013-07-30 11:19:10 +00:00
|
|
|
</div>
|
|
|
|
</t>
|
|
|
|
</template>
|
|
|
|
<template id="detail">
|
|
|
|
<t t-call="website.layout">
|
|
|
|
<t t-set="title">Job Detail</t>
|
|
|
|
<div class="span4 pull-right">
|
|
|
|
<ul class="pager">
|
2013-08-12 11:08:37 +00:00
|
|
|
<li><a t-att-href="'/jobs'">All Jobs</a></li>
|
2013-07-30 11:19:10 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
2013-08-01 09:03:43 +00:00
|
|
|
<div class="container">
|
2013-07-30 11:19:10 +00:00
|
|
|
<div class="page-header">
|
2013-08-12 10:20:15 +00:00
|
|
|
<h1><t t-field="job.name"/></h1>
|
2013-07-30 11:19:10 +00:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="span12">
|
2013-08-12 10:42:32 +00:00
|
|
|
<t t-if="job.description">
|
|
|
|
<h3>Description</h3>
|
|
|
|
<p t-if="job.description"><t t-esc="job.description"/></p>
|
|
|
|
</t>
|
2013-07-30 11:19:10 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2013-08-01 09:03:43 +00:00
|
|
|
<t t-call="website_hr_recruitment.applyjobpost"/>
|
|
|
|
</div>
|
2013-07-30 11:19:10 +00:00
|
|
|
</t>
|
|
|
|
</template>
|
|
|
|
<template id="applyjobpost">
|
|
|
|
<t t-set="title">Apply Job</t>
|
|
|
|
<section id="forms">
|
|
|
|
<div class="page-header">
|
|
|
|
<h1>Apply</h1>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<form class="form-horizontal well" action="/job/success" method="post" enctype="multipart/form-data">
|
|
|
|
<fieldset>
|
|
|
|
<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="control-group">
|
2013-08-01 12:58:57 +00:00
|
|
|
<input type="text" class="input-xlarge" id="nametxt" name="partner_name" required="true" placeholder="Name..."/>
|
2013-07-30 11:19:10 +00:00
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
2013-08-01 12:58:57 +00:00
|
|
|
<input type="text" class="input-xlarge" id="emailtxt" name="email_from" required="true" placeholder="Email..."/>
|
2013-07-30 11:19:10 +00:00
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
2013-08-01 09:03:43 +00:00
|
|
|
<textarea class="span8" style="margin-top:5px; height: 140px;" name="description" placeholder="Enter your comment..."> </textarea>
|
2013-07-30 11:19:10 +00:00
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
2013-08-01 12:58:57 +00:00
|
|
|
<input class="input-file" id="fileInput" type="file" name="ufile" required="true"/>
|
|
|
|
</div>
|
2013-07-30 11:19:10 +00:00
|
|
|
<div class="form-actions">
|
|
|
|
<button type="submit" class="btn btn-primary">Save</button>
|
2013-08-12 10:01:13 +00:00
|
|
|
<button type="reset" class="btn"><a t-att-href="'/jobs'">Cancel</a></button>
|
2013-07-30 11:19:10 +00:00
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</template>
|
|
|
|
<template id="thankyou">
|
|
|
|
<t t-call="website.layout">
|
|
|
|
<t t-set="title">Thank You!</t>
|
|
|
|
<div class="span4 pull-right">
|
|
|
|
<ul class="pager">
|
|
|
|
<li><a t-att-href="'/job/detail/%%s' %% jobid">Back</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<section id="typography">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<h2 class="oe_slogan">You have successfully applied for job.</h2>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</t>
|
|
|
|
</template>
|
|
|
|
</data>
|
|
|
|
</openerp>
|