修改看板樣式
This commit is contained in:
@@ -1,13 +1,17 @@
|
|||||||
.oe_kanban_card.kanban_color_1 {
|
.o_content .o_kanban_renderer .o_kanban_record .oe_kanban_card.kanban_color_1 {
|
||||||
background-color: #73b9a2 !important;
|
//background-color: #0097A7 !important;
|
||||||
|
opacity: 0.7;
|
||||||
|
//color: #fff !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.oe_kanban_card.kanban_color_2 {
|
.o_content .o_kanban_renderer .o_kanban_record .oe_kanban_card.kanban_color_2 {
|
||||||
background-color: #ac6767 !important;
|
background-color: #0097A7 !important;
|
||||||
|
color: #fff !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.oe_kanban_card.kanban_color_3 {
|
.o_content .o_kanban_renderer .o_kanban_record .oe_kanban_card.kanban_color_3 {
|
||||||
background-color: #77787b !important;
|
background-color: #77787b !important;
|
||||||
|
color: #fff !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.color-guide {
|
.color-guide {
|
||||||
@@ -23,3 +27,43 @@
|
|||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.alerts {
|
||||||
|
margin-left: 20px;
|
||||||
|
margin-top: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.alerts>div {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.alerts>div>div {
|
||||||
|
border-radius: 5px;
|
||||||
|
width: 30px;
|
||||||
|
height: 20px;
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.alerts>div>p {
|
||||||
|
width: 30px;
|
||||||
|
margin-bottom: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.green {
|
||||||
|
background-color: #fff !important;
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
}
|
||||||
|
|
||||||
|
.red {
|
||||||
|
background-color: #0097A7 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.grey {
|
||||||
|
background-color: #77787b !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html .body.o_web_client .o_kanban_view .o_kanban_renderer:not(.o_theme_kanban) .o_kanban_record:not(.o_theme_preview):not(.o_kanban_ghost):not(:first-child) {
|
||||||
|
margin-top: 0 !important;
|
||||||
|
}
|
||||||
|
|||||||
@@ -35,3 +35,21 @@
|
|||||||
height: 30px;
|
height: 30px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.alerts>div>div {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.green {
|
||||||
|
background-color: #73b9a2;
|
||||||
|
width: 30px !important;
|
||||||
|
height: 20px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.red {
|
||||||
|
background-color: #ac6767;
|
||||||
|
}
|
||||||
|
|
||||||
|
.grey {
|
||||||
|
background-color: #77787b;
|
||||||
|
}
|
||||||
@@ -7,8 +7,19 @@
|
|||||||
<!-- </div> -->
|
<!-- </div> -->
|
||||||
<!-- </xpath> -->
|
<!-- </xpath> -->
|
||||||
<xpath expr="//t[@t-component='props.Renderer']" position="before">
|
<xpath expr="//t[@t-component='props.Renderer']" position="before">
|
||||||
<div>
|
<div class="alerts">
|
||||||
Hello world !
|
<div >
|
||||||
|
<div class="green"></div>
|
||||||
|
<p>空闲</p>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<div class="red"></div>
|
||||||
|
<p>占用</p>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<div class="grey"></div>
|
||||||
|
<p>禁用</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</xpath>
|
</xpath>
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
<field name="channel" attrs="{'invisible': [('hide_shelf', '=', False)], 'required': [('hide_shelf', '!=', False)]}"/>
|
<field name="channel" attrs="{'invisible': [('hide_shelf', '=', False)], 'required': [('hide_shelf', '!=', False)]}"/>
|
||||||
<field name="direction" attrs="{'invisible': [('hide_shelf', '=', False)], 'required': [('hide_shelf', '!=', False)]}"/>
|
<field name="direction" attrs="{'invisible': [('hide_shelf', '=', False)], 'required': [('hide_shelf', '!=', False)]}"/>
|
||||||
<field name="product_sn_id" attrs="{'invisible': [('hide_location', '=', False)], 'required': [('hide_location', '!=', False), ('location_status', '=', '空闲')]}"/>
|
<field name="product_sn_id" attrs="{'invisible': [('hide_location', '=', False)], 'required': [('hide_location', '!=', False), ('location_status', '=', '空闲')]}"/>
|
||||||
|
<field name="time_test" widget="timepicker"/>
|
||||||
</group>
|
</group>
|
||||||
<group>
|
<group>
|
||||||
<field name="location_category" attrs="{'invisible': [('hide_location_type', '=', False)], 'required': [('hide_location_type', '!=', False)]}"/>
|
<field name="location_category" attrs="{'invisible': [('hide_location_type', '=', False)], 'required': [('hide_location_type', '!=', False)]}"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user