parent
8e782f5584
commit
f4bfc54202
|
@ -184,10 +184,10 @@
|
|||
<!--<div class="content">-->
|
||||
<div class="vignettes">
|
||||
<li class="oe_kanban_vignette">
|
||||
<a href="#" class="oe_kanban_action dropdown-toggle" onclick="javascript:showElement()"><span class="i">B</span></a>
|
||||
<a href="#" class="dropdown-toggle" onclick="javascript:showElement()"><span class="i">B</span></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">Edit...</a></li>
|
||||
<li><a href="#">Delete</a></li>
|
||||
<li ><a type="edit" >Edit...</a></li>
|
||||
<li ><a type="delete">Delete</a></li>
|
||||
<li>
|
||||
<ul class="color-chooser">
|
||||
<li><a><span class="steelblue square"></span></a></li>
|
||||
|
@ -199,14 +199,14 @@
|
|||
</li>
|
||||
</ul>
|
||||
<h4><a><t t-esc="record.name.value"/></a></h4>
|
||||
<p id="list"><a><t t-if="record.task.raw_value">
|
||||
<p id="list" height="10px"><a><t t-if="record.task.raw_value">
|
||||
<button name="open_tasks" class="oe_project_buttons" type="object"><field name="open_task"/> Tasks</button>
|
||||
</t></a></p>
|
||||
<table class="fields">
|
||||
<tr t-if="record.date.raw_value"> <th>Deadline</th><td><t t-esc="record.date.raw_value.toString('MMMM')"/>
|
||||
<tr t-if="record.date.raw_value"> <th align="left">Deadline</th><td align="left"><t t-esc="record.date.raw_value.toString('MMMM')"/>
|
||||
<t t-esc="record.date.raw_value.getDate()"/>,
|
||||
<t t-esc="record.date.raw_value.getFullYear()"/></td> </tr>
|
||||
<tr> <th>Progress</th><td><t t-esc="Math.round(record.effective_hours.raw_value)"/>/<t t-esc="Math.round(record.total_hours.raw_value)"/> days</td> </tr>
|
||||
<tr> <th align="left">Progress</th><td align="left"><t t-esc="Math.round(record.effective_hours.raw_value)"/>/<t t-esc="Math.round(record.total_hours.raw_value)"/> days</td> </tr>
|
||||
</table>
|
||||
<t t-foreach="record.members.raw_value" t-as="member"><img t-att-src="kanban_image('res.users', 'avatar', member)" class="avatar"/></t>
|
||||
</li>
|
||||
|
|
|
@ -1,3 +1,21 @@
|
|||
.fields {
|
||||
margin-top: 1px;
|
||||
margin-bottom: 1px;
|
||||
}
|
||||
.fields td {
|
||||
border: none;
|
||||
padding: 2px 0 2px 8px; }
|
||||
.fields th {
|
||||
padding: 0;
|
||||
border-right: 1px solid #dddddd;
|
||||
vertical-align: top;
|
||||
margin-right: 8px; }
|
||||
|
||||
table {
|
||||
padding: 0;
|
||||
font-size: 13px;
|
||||
border-collapse: collapse; }
|
||||
|
||||
.vignettes {
|
||||
margin: 4px; }
|
||||
.vignettes li {
|
||||
|
@ -33,9 +51,9 @@
|
|||
}
|
||||
|
||||
.avatar {
|
||||
-moz-border-radius: 4px;
|
||||
-webkit-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
-moz-border-radius: 3px;
|
||||
-webkit-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
|
||||
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
|
||||
-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); }
|
||||
|
@ -54,7 +72,6 @@
|
|||
width: 0;
|
||||
height: 0;
|
||||
display: inline-block;
|
||||
content: "&darr";
|
||||
text-indent: -99999px;
|
||||
vertical-align: top;
|
||||
margin-top: 8px;
|
||||
|
@ -67,6 +84,39 @@
|
|||
-moz-opacity: 0.5;
|
||||
opacity: 0.5; }
|
||||
|
||||
.oe_kanban_vignette .dropdown-menu .color-chooser {
|
||||
padding: 0 3px; }
|
||||
.oe_kanban_vignette .dropdown-menu .color-chooser li {
|
||||
float: left; }
|
||||
.oe_kanban_vignette .dropdown-menu .color-chooser li a {
|
||||
padding: 2px; }
|
||||
a.oe_kanban_action {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
display: none; }
|
||||
a.oe_kanban_action:hover {
|
||||
text-decoration: none; }
|
||||
a.oe_kanban_action .i {
|
||||
color: #4c4c4c; }
|
||||
.square {
|
||||
display: inline-block;
|
||||
width: 18px;
|
||||
height: 18px; }
|
||||
|
||||
.steelblue {
|
||||
background: steelblue; }
|
||||
|
||||
.firebrick {
|
||||
background: firebrick; }
|
||||
|
||||
.khaki {
|
||||
background: khaki; }
|
||||
|
||||
.thistle {
|
||||
background: thistle; }
|
||||
|
||||
.orange {
|
||||
background: orange; }
|
||||
.open {
|
||||
display: block;
|
||||
background: #333333; }
|
||||
|
|
|
@ -43,14 +43,14 @@
|
|||
</a>
|
||||
</xpath>
|
||||
<xpath expr="//table[@class='fields']" position="inside">
|
||||
<tr ><th >To invoiced</th>
|
||||
<td>
|
||||
<tr ><th align="left">To invoiced</th>
|
||||
<td align="left">
|
||||
<field name="amt_to_invoice"/> <t t-esc="record.currency_id.raw_value[1].split(' ')[1][1]"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<th>To hours</th>
|
||||
<td>
|
||||
<th align="left">To hours</th>
|
||||
<td align="left">
|
||||
<field name="hrs_to_invoice"/> h
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in New Issue