[IMP] improved view by css

bzr revid: tpa@tinyerp.com-20130805072754-2ogjt3urowomn2m2
This commit is contained in:
Turkesh Patel (Open ERP) 2013-08-05 12:57:54 +05:30
parent da8c5fcdcc
commit 0674acb715
2 changed files with 42 additions and 27 deletions

View File

@ -67,29 +67,50 @@
margin: 2px 0;
}
.oe_stock_scan_image {
opacity: 0.2;
margin: 0 5px 0;
}
.oe_stock_scan_image:hover {
opacity: 1
}
.openerp .oe_kanban_view .oe_kanban_stock_picking_type {
width: 345px;
cursor: default;
min-height: 100px !important;
}
.openerp .oe_kanban_view .oe_sparkline_bar_link {
.openerp .oe_kanban_view .oe_kanban_stock_picking_type .oe_items_list {
position: relative;
margin: 10px;
height: 95px;
}
.openerp .oe_kanban_view .oe_kanban_stock_picking_type .oe_items_list div {
width: 160px;
height: 22px;
margin: 0 !important;
position: relative;
display: inline-block;
float: left;
}
.openerp .oe_kanban_view .oe_kanban_stock_picking_type .oe_items_list a:hover {
text-decoration: underline !important;
}
.openerp .oe_kanban_view .oe_kanban_stock_picking_type .oe_items_list div a:nth-child(2n) {
position: absolute;
left: 150px;
top: 0;
}
.openerp .oe_kanban_view .oe_kanban_stock_picking_type .oe_items_list div:nth-child(2n) a:nth-child(2n) {
left: 110px;
}
.openerp .oe_kanban_view .oe_kanban_stock_picking_type .oe_sparkline_bar {
height: 20px;
width: 36px !important;
width: 66px !important;
}
.openerp .oe_kanban_view .oe_sparkline_bar {
height: 20px;
width: 36px !important;
}
.oe_center_name {
text-align: center;
.openerp .oe_kanban_view .oe_kanban_stock_picking_type .oe_center {
text-align: center;
}
.openerp .oe_kanban_view .oe_stock_justgage {
color: black;
display: inline-block;
}
}
.openerp .oe_stock_scan_image {
opacity: 0.2;
margin: 0 5px 0;
}
.openerp .oe_stock_scan_image:hover {
opacity: 1
}

View File

@ -1244,7 +1244,7 @@
</ul>
</div>
<div class="oe_kanban_content">
<h4 class="oe_center oe_center_name"><field name="name"/></h4>
<h4 class="oe_center"><field name="name"/></h4>
<div class="oe_right">
<a name="%(action_stock_stock_ui)d" type="action">
<img src="/stock/static/src/img/scan.png"
@ -1252,7 +1252,7 @@
class="oe_stock_scan_image" title="Click to launch the barcode interface"/>
</a>
</div>
<div class="oe_items_list">
<div class="oe_items_list oe_kanban_ellipsis">
<div>
<a name="%(action_picking_tree)d" type="action">
<field name="count_picking"/>
@ -1264,14 +1264,12 @@
</div>
<div t-if="record.count_picking_waiting.raw_value &gt; 0">
<a name="%(action_picking_tree_waiting)d" type="action">
<field name="count_picking_waiting"/>
Waiting
<field name="count_picking_waiting"/> Waiting
</a>
</div>
<div t-if="record.count_picking_late.raw_value &gt; 0">
<a name="%(action_picking_tree_late)d" type="action">
<field name="count_picking_late"/>
Late
<field name="count_picking_late"/> Late
</a>
<a name="%(action_picking_tree_late)d" type="action" class="oe_sparkline_bar_link">
<field name="latest_picking_late" widget="stock_sparkline" options="{'type': 'tristate'}"/>
@ -1279,17 +1277,13 @@
</div>
<div t-if="record.count_picking_backorders.raw_value &gt; 0">
<a name="%(action_picking_tree_backorder)d" type="action">
<field name="count_picking_backorders"/>
Backorders
<field name="count_picking_backorders"/> Backorders
</a>
<a name="%(action_picking_tree_backorder)d" type="action" class="oe_sparkline_bar_link">
<field name="latest_picking_backorders" widget="stock_sparkline" options="{'type': 'tristate'}"/>
</a>
</div>
</div>
<div class="oe_clear"> </div>
<div class="oe_center oe_stock_justgage">
<field name="rate_picking_late" widget="stock_gage" style="width:160px; height: 120px;">Late</field>
<field name="rate_picking_backorders" widget="stock_gage" style="width:160px; height: 120px;">Backorders</field>