@@ -198,17 +198,22 @@
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<h4><a href="project.html">Groupe S HRWeb</a></h4>
|
||||
<p><a href="tasks.html">2 Tasks</a>, <a href="issues.html">3 Issues</a>, <a href="timesheets.html">1 Timesheet</a></p>
|
||||
<h4><a><t t-esc="record.name.value"/></a></h4>
|
||||
<p id="list"><a><t t-if="record.task.raw_value">
|
||||
<field name="open_task"/> <button name="open_tasks" class="oe_project_buttons" type="object">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')"/>
|
||||
<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>
|
||||
</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>
|
||||
</div>
|
||||
<!--</div>-->
|
||||
</t>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!--<t t-name="tasks">
|
||||
<ul class="oe_kanban_tooltip">
|
||||
<li><b>Tasks:</b> <field name="open_task"/></li>
|
||||
@@ -216,28 +221,10 @@
|
||||
</t>
|
||||
<t t-name="kanban-box">
|
||||
<div class="oe_module_vignette oe_kanban_box oe_kanban_color_border">
|
||||
<script type="text/javascript">
|
||||
function showElement(layer){
|
||||
var myLayer = document.getElementById(layer);
|
||||
if(myLayer.style.display=="none"){
|
||||
myLayer.style.display="block";
|
||||
myLayer.backgroundPosition="top";
|
||||
} else {
|
||||
myLayer.style.display="none";
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<a href="#" class="button" onclick="javascript:showElement('v-menu')">
|
||||
<span>Click Here</span>
|
||||
</a>
|
||||
<ul id="v-menu" class="v-menu" style="display:none;">
|
||||
<li><a type="edit">Edit</a></li>
|
||||
<li><a type="delete">Delete</a></li>
|
||||
</ul>
|
||||
<table class="project_table" >
|
||||
<table class="project_table">
|
||||
<tr>
|
||||
<!--<td class="td_image" >
|
||||
<div class="sequence">
|
||||
<td class="td_image">
|
||||
<div class="sequence">
|
||||
<button name = "open_users" type="object" class="oe_project_buttons"><img t-att-src="kanban_image('res.users', 'avatar', record.user_id.raw_value[0])" class="avatar"/></button><br/>
|
||||
<div class="manager"><field name="user_id"/></div>
|
||||
</div>
|
||||
@@ -247,51 +234,33 @@
|
||||
<div class="manager"><b><field name="date"/></b></div>
|
||||
</div>
|
||||
</t>
|
||||
</td>-->
|
||||
<td class="td_name" align="left">
|
||||
</td>
|
||||
<td class="td_name">
|
||||
<div>
|
||||
<h4 class="oe_project_font1">
|
||||
<a type="edit"><div class="oe_project_font"><t t-esc="record.name.value.substr(0,35)"/><t t-if="record.name.value.length > 35">...</t></div></a>
|
||||
</h4>
|
||||
<table class ="task">
|
||||
<tr>
|
||||
<table >
|
||||
<tr class ="task">
|
||||
<td class="buttons">
|
||||
<t t-if="record.task.raw_value">
|
||||
<button name="open_tasks" class="oe_project_buttons" type="object" tooltip="tasks"><img src="/project/static/src/img/tasks_icon.png" class="project_icon"/></button>
|
||||
</t>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="45px" class="oe_project_members">
|
||||
<t t-foreach="record.members.raw_value" t-as="member">
|
||||
<img t-att-src="kanban_image('res.users', 'avatar', member)" class="img_member"/>
|
||||
</t>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table id = "deadline">
|
||||
<t t-if="record.date.raw_value">
|
||||
<tr ><td width="100px"><strong >Deadline</strong></td><td class="sequence" ></td>
|
||||
<td>
|
||||
<t t-esc="record.date.raw_value.toString('MMMM')"/>
|
||||
<t t-esc="record.date.raw_value.getMonth()"/>,
|
||||
<t t-esc="record.date.raw_value.getFullYear()"/>
|
||||
</td>
|
||||
</tr>
|
||||
</t>
|
||||
<t t-if= "Math.round(record.effective_hours.raw_value) !== 0">
|
||||
<tr ><td width="100px"><strong >Progress</strong></td><td class="sequence"></td>
|
||||
<td>
|
||||
<t t-esc="Math.round(record.effective_hours.raw_value)"/>/<t t-esc="Math.round(record.total_hours.raw_value)"/> days
|
||||
</td>
|
||||
</tr>
|
||||
</t>
|
||||
</table>
|
||||
<table >
|
||||
<td height="55px" class="oe_project_members">
|
||||
<t t-foreach="record.members.raw_value" t-as="member">
|
||||
<img t-att-src="kanban_image('res.users', 'avatar', member)" class="img_member"/>
|
||||
</t>
|
||||
</td>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!--<table class="project_table">
|
||||
<table class="project_table">
|
||||
<tr>
|
||||
<td class="td_hours">
|
||||
<div class="progress invoiced">
|
||||
@@ -301,7 +270,7 @@
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table> -->
|
||||
</table>
|
||||
</div>
|
||||
</t>-->
|
||||
</templates>
|
||||
|
||||
@@ -22,6 +22,23 @@
|
||||
margin: 4px; }
|
||||
.vignettes > li h4 {
|
||||
margin-bottom: 2px; }
|
||||
|
||||
.oe_project_buttons {
|
||||
display: inline-block;
|
||||
padding: 0px 0px;
|
||||
background-color: transparent;
|
||||
border: hidden;
|
||||
color: #8A89BA;
|
||||
|
||||
}
|
||||
|
||||
.avatar {
|
||||
-moz-border-radius: 4px;
|
||||
-webkit-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
-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); }
|
||||
|
||||
|
||||
.i {
|
||||
|
||||
Reference in New Issue
Block a user