1 <?xml version="1.0" encoding="utf-8"?>
4 <record id="header_jobs" model="ir.ui.view">
5 <field name="name">header_jobs</field>
6 <field name="type">qweb</field>
7 <field name="inherit_id" ref="website.header"/>
8 <field name="arch" type="xml">
10 <xpath expr="(//li)[last()]" position="after">
11 <li class="pull-right"><a href="/jobs">Jobs</a></li>
17 <t t-call="website.layout">
18 <t t-set="title">Jobs</t>
19 <div class="container">
21 <div class="page-header">
24 <t t-foreach="companies" t-as="company">
25 <div class="page-header">
26 <h1 class="text-center"><t t-esc="company.name"/></h1>
35 <t t-foreach="res_job" t-as="job">
36 <tr t-if="job.company_id.id==company.id">
38 <a t-att-href="'/job/detail/%%s' %% job.id"><span class="lead"><t t-esc="job.name"/></span></a><br/>
39 <span t-if="job.department_id"><t t-esc="job.department_id.name"/></span>
40 <span><t t-esc="job.post_date"/></span>
51 <template id="detail">
52 <t t-call="website.layout">
53 <t t-set="title">Job Detail</t>
54 <div class="span4 pull-right">
56 <li><a t-att-href="'/jobs'">Back</a></li>
59 <div class="container">
60 <div class="page-header">
61 <h1><t t-esc="job.name"/></h1>
66 <p t-if="job.description"><t t-esc="job.description"/></p>
69 <t t-call="website_hr_recruitment.applyjobpost"/>
73 <template id="applyjobpost">
74 <t t-set="title">Apply Job</t>
76 <div class="page-header">
80 <form class="form-horizontal well" action="/job/success" method="post" enctype="multipart/form-data">
82 <input type="hidden" t-att-value="job.department_id.id" name="department_id"/>
83 <input type="hidden" t-att-value="job.id" name="job_id"/>
84 <input type="hidden" t-att-value="job.name" name="name"/>
85 <div class="control-group">
86 <input type="text" class="input-xlarge" id="nametxt" name="partner_name" required="true" placeholder="Name..."/>
88 <div class="control-group">
89 <input type="text" class="input-xlarge" id="emailtxt" name="email_from" required="true" placeholder="Email..."/>
91 <div class="control-group">
92 <textarea class="span8" style="margin-top:5px; height: 140px;" name="description" placeholder="Enter your comment..."> </textarea>
94 <div class="control-group">
95 <input class="input-file" id="fileInput" type="file" name="ufile" required="true"/>
97 <div class="form-actions">
98 <button type="submit" class="btn btn-primary">Save</button>
99 <button type="reset" class="btn"><a t-att-href="'/jobs'">Cancel</a></button>
106 <template id="thankyou">
107 <t t-call="website.layout">
108 <t t-set="title">Thank You!</t>
109 <div class="span4 pull-right">
111 <li><a t-att-href="'/job/detail/%%s' %% jobid">Back</a></li>
114 <section id="typography">
115 <div class="container">
117 <h2 class="oe_slogan">You have successfully applied for job.</h2>