Browse Source

clean table elements

pull/35/head
vincent-castanie 7 years ago
parent
commit
6b383577d6
  1. 128
      beesdoo_base/report/beescard.xml

128
beesdoo_base/report/beescard.xml

@ -47,7 +47,7 @@
width: 4.98cm; width: 4.98cm;
vertical-align:bottom; vertical-align:bottom;
height: 6.87cm; height: 6.87cm;
}
.canvasImg { .canvasImg {
padding-top:0.2cm; padding-top:0.2cm;
padding-left:0.1cm; padding-left:0.1cm;
@ -57,7 +57,6 @@
width:4.7cm; width:4.7cm;
height:6.4cm height:6.4cm
} }
}
.pt03 { .pt03 {
padding-top:0.3cm padding-top:0.3cm
} }
@ -66,13 +65,12 @@
width:7.72cm; width:7.72cm;
height: 6.87cm; height: 6.87cm;
position: relative; position: relative;
}
.alignText { .alignText {
text-align: left; text-align: left;
padding-top: 0.2cm; padding-top: 0.2cm;
font-size: 1.2em; font-size: 1.2em;
} }
}
.alignBtAbs { .alignBtAbs {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
@ -95,10 +93,10 @@
height:0.2cm height:0.2cm
} }
.robotoB { .robotoB {
font-family:Roboto-Bold;
font-family: 'Roboto-Bold';
} }
.robotoR { .robotoR {
font-family:Roboto-Regular;
font-family: 'Roboto-Regular';
} }
.txtCenter { .txtCenter {
text-align:center; text-align:center;
@ -110,9 +108,17 @@
.beesInfos { .beesInfos {
vertical-align:center;height: 1.20cm; vertical-align:center;height: 1.20cm;
} }
#tableInfos {
width: 14.02cm;
height: 9.39cm;
table-layout:fixed;
display: inline-block;
}
.logoRestrict { .logoRestrict {
width: 12.7cm;height: 6.87cm;
width: 12.7cm;
height: 6.87cm;
margin: auto;
}
.logo { .logo {
display: block; display: block;
margin-left: auto; margin-left: auto;
@ -122,7 +128,6 @@
width:6.46cm; width:6.46cm;
height:6.46cm height:6.46cm
} }
}
</style> </style>
</head> </head>
@ -132,21 +137,20 @@
<t t-foreach="docs" t-as="partner"> <t t-foreach="docs" t-as="partner">
<table class="mainTable">
<tr>
<td class="bd-bt-black size066cm"></td>
<td class="bd-rgt-black bd-lft-black" colspan="2"></td>
<td class="size066cm"></td>
</tr>
<tr>
<td></td>
<td class="imgContainer">
<div class="mainTable">
<div>
<div class="bd-bt-black size066cm"></div>
<div class="bd-lft-black bd-rgt-black"></div>
<div class="bd-bt-black size066cm"></div>
</div>
<div>
<div class="imgContainer">
<div style="canvasImg"> <div style="canvasImg">
<img alt="Embedded Image" t-att-src="'data:image/png;base64,' + partner.image" <img alt="Embedded Image" t-att-src="'data:image/png;base64,' + partner.image"
class="imgRestrict" /> class="imgRestrict" />
</div> </div>
</td>
<td class="infosContainer">
</div>
<div class="infosContainer">
<p class="alignText"> <p class="alignText">
<span t-raw="partner.first_name and partner.first_name[:30] or ''" class="robotoR" /> <span t-raw="partner.first_name and partner.first_name[:30] or ''" class="robotoR" />
<br /> <br />
@ -174,57 +178,41 @@
</t> </t>
</div> </div>
</div> </div>
</td>
<td></td>
</tr>
<tr>
<td></td>
<td colspan="2" class="beesInfos">
<p style="fs08 robotoR txtCenter">En cas de perte,
prévenez-nous via
membre@bees-coop.be
</p>
</td>
<td></td>
</tr>
<tr>
<td
class="bd-bt-black size066cm"></td>
<td class="bd-lft-black bd-rgt-black" colspan="2"></td>
<td class="bd-bt-black size066cm"></td>
</tr>
</table>
<table style="width: 14.02cm;height: 9.39cm;table-layout:fixed;display: inline-block;">
<tr>
<td
class="bd-bt-black size066cm"></td>
<td class="bd-lft-black bd-rgt-black" colspan="2"></td>
<td class="bd-bt-black size066cm"></td>
</tr>
<tr>
<td></td>
<td style="logoRestrict">
</div>
</div>
<div>
<div class="beesInfos">
<p style="fs08 robotoR txtCenter">En cas de perte, prévenez-nous via membre@bees-coop.be</p>
</div>
</div>
<div>
<div class="bd-bt-black size066cm"></div>
<div class="bd-lft-black bd-rgt-black"></div>
<div class="bd-bt-black size066cm"></div>
</div>
</div>
<div id="tableInfos" style="width: 14.02cm;height: 9.39cm;table-layout:fixed;display: inline-block;">
<div>
<div class="bd-bt-black size066cm"></div>
<div class="bd-lft-black bd-rgt-black"></div>
<div class="bd-bt-black size066cm"></div>
</div>
<div>
<div style="logoRestrict">
<img src="/beesdoo_base/static/src/img/logo.png" class="logo" /> <img src="/beesdoo_base/static/src/img/logo.png" class="logo" />
</td>
<td></td>
</tr>
<tr>
<td></td>
<td style="height: 1.20cm;">
<p
class="txtCenter robotoR fs11">www.bees-coop.be
</p>
</td>
<td></td>
</tr>
<tr>
<td
class="bd-bt-black size066cm"></td>
<td class="bd-lft-black bd-rgt-black" colspan="2"></td>
<td class="bd-bt-black size066cm"></td>
</tr>
</table>
</div>
</div>
<div>
<div style="height: 1.20cm;">
<p class="txtCenter robotoR fs11">www.bees-coop.be</p>
</div>
</div>
<div>
<div class="bd-bt-black size066cm"></div>
<div class="bd-lft-black bd-rgt-black"></div>
<div class="bd-bt-black size066cm"></div>
</div>
</div>
<br /> <br />
</t> </t>
</div> </div>

Loading…
Cancel
Save