1 <?xml version="1.0" encoding="utf-8"?>
4 <record id="website_mail_jobs" model="mail.group">
5 <field name="name">Jobs</field>
6 <field name="public">public</field>
7 <field name="description">Job Posts on your website</field>
10 <template id="job_footer_custom" inherit_id="website.layout" name="Custom Footer Job">
11 <xpath expr="//header//ul[@id='top_menu']/li[@name='contactus']" position="before">
12 <li><a href="/jobs">Jobs</a></li>
14 <xpath expr="//footer//div[@name='info']/ul" position="inside">
15 <li><a href="/jobs">Jobs</a></li>
19 <template id="index" name="Departments" page="True">
20 <t t-call="website.layout">
22 <t t-raw="head or ''"/>
24 <t t-set="title">Jobs</t>
26 <div class="oe_structure"/>
27 <div class="container oe_website_jobs">
29 <div class="col-sm-4">
30 <t t-call="website.pager">
31 <t t-set="classname">pull-left</t>
35 <div class='row style_default mt16'>
36 <div class="col-md-12" id="jobs_grid">
37 <ul class="media-list">
38 <li t-foreach="res_job" t-as="job" class="media" data-publish="">
39 <div class="media-body">
40 <span t-if="not job.no_of_recruitment" class="label label-default pull-right">No Vacancies.</span>
41 <t t-if="job.no_of_recruitment">
42 <span class="label label-default pull-right label-info"><t t-esc="vals[job.id]['count']"/> Vacancies.</span>
44 <h4 class="media-heading"><a t-attf-href="/job/detail/#{ job.id }/"><span t-field="job.name"> </span></a></h4>
45 <div t-if="companies[0].country_id">
46 <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>
48 <div class="text-muted">
49 <i class="icon-time"></i> <span><t t-esc="vals[job.id]['date_recruitment']"/></span>
57 <div class="oe_structure"/>
61 <template id="detail">
62 <t t-call="website.layout">
64 <script type="text/javascript" src="/website_hr_recruitment/static/src/js/recruitment.js"></script>
65 <t t-raw="head or ''"/>
67 <t t-set="title">Job Detail</t>
69 <div class="container">
71 <div class="col-md-4">
72 <form action="./subscribe" method="POST" class="form-inline" t-if="not subscribe">
73 <div class="col-lg-7">
74 <input placeholder="Email Address" type="email" name="email" class="form-control" t-if="is_public_user"/>
76 <button type="submit" class="btn btn-primary" name="subscribe">Subscribe</button>
78 <form action="./unsubscribe" method="POST" class="form-inline" t-if="subscribe">
79 <input type="hidden" name="email" t-att-value="subscribe"/>
80 <button type="submit" class="btn btn-default" name="unsubscribe">Unsubscribe</button>
83 <t t-call="website.publish_management"><t t-set="object" t-value="job"/></t>
86 <div class="oe_structure" style="clear:both;">
87 <h1 class="text-center" t-field="job.name"></h1>
88 <h5 class="text-center">
89 <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>
90 <h5 class="text-center text-muted">
91 <i class="icon-time"></i> <span><t t-esc="vals_date"/></span>
95 <div class="container oe_structure">
98 <div t-if="job.website_description">
99 <div t-field="job.website_description"></div>
100 <section snippet-id="cta" class="mt16 mb16">
101 <div class="container">
104 <div class="col-md-12 text-center mt16 mb16">
105 <a t-attf-href="/apply/#{ job.id }/" class="btn btn-primary btn-lg">Apply</a>
117 <template id="applyjobpost">
118 <t t-call="website.layout">
119 <t t-set="title">Apply Job</t>
121 <div class="container">
125 <form class="form-horizontal mt32" action="/job/success" method="post" enctype="multipart/form-data">
126 <input type="hidden" t-att-value="job.department_id.id" name="department_id"/>
127 <input type="hidden" t-att-value="job.id" name="job_id"/>
128 <input type="hidden" t-att-value="job.name" name="name"/>
129 <div class="form-group">
130 <label class="col-md-3 col-sm-4 control-label" for="partner_name">Name</label>
131 <div class="col-md-7 col-sm-8">
132 <input type="text" class="form-control" name="partner_name" required="True" />
135 <div class="form-group">
136 <label class="col-md-3 col-sm-4 control-label" for="email_from">Email</label>
137 <div class="col-md-7 col-sm-8">
138 <input type="email" class="form-control" name="email_from" required="True" />
141 <div class="form-group">
142 <label class="col-md-3 col-sm-4 control-label" for="description">Description</label>
143 <div class="col-md-7 col-sm-8">
144 <textarea class="form-control" name="description" style="min-height: 120px"/>
147 <div class="form-group">
148 <label class="col-md-3 col-sm-4 control-label" for="ufile">Upload File</label>
149 <div class="col-md-7 col-sm-8">
150 <input class="input-file" id="fileInput" type="file" name="ufile" required="true"/>
153 <div class="form-group">
154 <div class="col-md-offset-3 col-sm-offset-4 col-sm-8 col-md-7">
155 <button type="submit" class="btn btn-primary">Save</button>
165 <template id="thankyou">
166 <t t-call="website.layout">
167 <t t-set="title">Thank You!</t>
169 <div class="container">
170 <h1>You have successfully applied for job.</h1>
175 <template id="job_departments" inherit_option_id="website_hr_recruitment.index" name="Job Departments">
176 <xpath expr="//div[@id='jobs_grid']" position="before">
177 <div class="col-md-3">
178 <ul class="nav nav-pills nav-stacked mt16">
179 <li t-att-class=" '' if active else 'active' "><a href="/jobs">All Departments</a></li>
180 <t t-foreach="departments" t-as="department">
181 <li t-att-class="department.id == active and 'active' or ''">
182 <a t-attf-href="/department/#{ department.id }/" ><t t-field="department.name"/></a>
188 <xpath expr="//div[@id='jobs_grid']" position="attributes">
189 <attribute name="class">col-md-9</attribute>
191 <xpath expr="//div[@class='row']/div" position="before">
192 <div class="col-md-4">