[IMP] better templates
bzr revid: mat@openerp.com-20130301152150-7iyp75nywkvai2jn
This commit is contained in:
parent
7295e0e248
commit
24c0902c20
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style type="text_css">${css}</style>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<strong>${object.name}</strong>
|
||||
</header>
|
||||
<p class="oe_grey">${object.report_header or ''}</p>
|
||||
<% block body %><% endblock %>
|
||||
|
||||
</body>
|
|
@ -1,17 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style type="text_css">${css}</style>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<strong>${object.name}</strong>
|
||||
</header>
|
||||
<% extends 'base.mako' %>
|
||||
|
||||
<p class="oe_grey">${object.report_header or ''}</p>
|
||||
<br/><br/>
|
||||
% for planline in planlines_boards:
|
||||
|
||||
<% block body %>
|
||||
% for planline in planlines_boards:
|
||||
<table width="100%" border="1">
|
||||
<tr>
|
||||
<th colspan="4">${planline['goal_type']}</th>
|
||||
|
@ -39,4 +29,4 @@
|
|||
<br/><br/>
|
||||
|
||||
% endfor
|
||||
</body>
|
||||
<% endblock %>
|
|
@ -1,15 +1,6 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style type="text_css">${css}</style>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<strong>${object.name}</strong>
|
||||
</header>
|
||||
<p class="oe_grey">${object.report_header or ''}</p>
|
||||
<br><br>
|
||||
<table width="100%" border="1">
|
||||
<% extends 'base.mako' %>
|
||||
|
||||
<% block body %><table width="100%" border="1">
|
||||
<tr>
|
||||
<th>Goal</th>
|
||||
<th>Target</th>
|
||||
|
@ -23,9 +14,6 @@
|
|||
<td>${goal.current}</td>
|
||||
<td>${goal.completeness} %</td>
|
||||
</tr>
|
||||
|
||||
<br/><br/>
|
||||
|
||||
% endfor
|
||||
</table>
|
||||
</body>
|
||||
<% endblock %>
|
Loading…
Reference in New Issue