[IMP] remove inline css and improve view
bzr revid: tpa@tinyerp.com-20130524095200-vgd6829vk1znn9na
This commit is contained in:
parent
572c8ddfc6
commit
348a88c44b
|
@ -371,12 +371,14 @@
|
|||
<div class="oe_kanban_alias" t-if=" record.alias_id.value">
|
||||
<span class="oe_e">%%</span><small><field name="alias_id"/></small>
|
||||
</div>
|
||||
<div class="oe_job oe_kanban_ellipsis">
|
||||
<field name="department_id"/>
|
||||
</div>
|
||||
<img t-att-src="kanban_image('hr.employee', 'image', record.manager_id.raw_value, {'preview_image': 'image_small'})" t-att-title="record.manager_id.value.name" class="oe_kanban_avatar"/>
|
||||
<div class="oe_name">
|
||||
<t t-esc="record.manager_id.value.name"/>
|
||||
<div class="oe_department">
|
||||
<div class="oe_job oe_kanban_ellipsis">
|
||||
<field name="department_id"/>
|
||||
</div>
|
||||
<img t-att-src="kanban_image('hr.employee', 'image', record.manager_id.raw_value, {'preview_image': 'image_small'})" t-att-title="record.manager_id.value.name" class="oe_kanban_avatar"/>
|
||||
<div class="oe_name">
|
||||
<t t-esc="record.manager_id.value"/>
|
||||
</div>
|
||||
</div>
|
||||
<t t-if="record.state.raw_value == 'recruit'">
|
||||
<div class="oe_application">
|
||||
|
@ -392,9 +394,9 @@
|
|||
<t t-raw="record.message_summary.raw_value"/>
|
||||
</div>
|
||||
<t t-if="record.state.raw_value == 'open'">
|
||||
<div style="padding-top: 13px;">
|
||||
<p style="font-size: 14px;color: gray;">To start a recruitment phase for this job position,<b>click here</b></p>
|
||||
<img src="/hr_recruitment/static/src/img/down1.png" style="margin-top: -24px; width: 25px;height: 25px;float: right;padding-right: 88px;"/>
|
||||
<div class="oe_start_recruitment">
|
||||
<p>To start a recruitment phase for this job position,<b>click here</b></p>
|
||||
<img src="/hr_recruitment/static/src/img/down1.png"/>
|
||||
</div>
|
||||
</t>
|
||||
<div class="oe_job_launch">
|
||||
|
|
|
@ -1,34 +1,28 @@
|
|||
|
||||
.openerp .oe_kanban_job {
|
||||
width: 230px;
|
||||
}
|
||||
.openerp .oe_job{
|
||||
.openerp .oe_job {
|
||||
font-size:112%;
|
||||
margin:3px 3px;
|
||||
margin-left: 45px;
|
||||
color: #4c4c4c;
|
||||
}
|
||||
.openerp .oe_job_message{
|
||||
.openerp .oe_job_message {
|
||||
float: right;
|
||||
margin-right: 80px;
|
||||
margin-top: -4px !important;
|
||||
}
|
||||
.openerp img.oe_kanban_avatar{
|
||||
.openerp img.oe_kanban_avatar {
|
||||
margin-top: -23px;
|
||||
width:38px;
|
||||
height:38px;
|
||||
}
|
||||
.openerp div.oe_kanban_ellipsis{
|
||||
.openerp div.oe_kanban_ellipsis {
|
||||
width:180px;
|
||||
}
|
||||
.openerp .oe_job_launch > a:hover{
|
||||
|
||||
.openerp .oe_job_launch > a:hover {
|
||||
text-decoration: underline
|
||||
}
|
||||
.openerp div.oe_application {
|
||||
margin-top: 24px;
|
||||
}
|
||||
|
||||
.openerp .oe_name {
|
||||
margin-left: 44px;
|
||||
margin-top: -18px;
|
||||
|
@ -40,9 +34,6 @@
|
|||
width: 275px;
|
||||
min-height: 147px !important;
|
||||
}
|
||||
.openerp .oe_gage{
|
||||
height: 102px !important;
|
||||
}
|
||||
.openerp .oe_kanban_footer_right {
|
||||
float: right;
|
||||
}
|
||||
|
@ -61,3 +52,24 @@
|
|||
bottom: 3px;
|
||||
right: 10px;
|
||||
}
|
||||
.openerp .oe_department {
|
||||
display: inline-block;
|
||||
}
|
||||
.openerp .oe_new_emp {
|
||||
margin-top: 6px;
|
||||
color: #4c4c4c;
|
||||
}
|
||||
.openerp .oe_start_recruitment {
|
||||
padding-top: 10px;
|
||||
}
|
||||
.openerp .oe_start_recruitment p {
|
||||
font-size: 14px;
|
||||
color: gray;
|
||||
}
|
||||
.openerp .oe_start_recruitment img {
|
||||
margin-top: -24px;
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
float: right;
|
||||
padding-right: 88px;
|
||||
}
|
|
@ -5,7 +5,6 @@ openerp.hr_recruitment = function (openerp) {
|
|||
var self = this;
|
||||
|
||||
var parent = self.getParent();
|
||||
console.log("thisss >>>>>>>>>>>>",parent.record[this.options.label_field])
|
||||
var unique_id = _.uniqueId("JustGage");
|
||||
var label = this.options.label_field ? parent.record[this.options.label_field].string : "";
|
||||
var value = parent.values.no_of_hired_employee.value;
|
||||
|
|
Loading…
Reference in New Issue