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;
vertical-align:bottom;
height: 6.87cm;
}
.canvasImg {
padding-top:0.2cm;
padding-left:0.1cm;
@ -57,7 +57,6 @@
width:4.7cm;
height:6.4cm
}
}
.pt03 {
padding-top:0.3cm
}
@ -66,13 +65,12 @@
width:7.72cm;
height: 6.87cm;
position: relative;
}
.alignText {
text-align: left;
padding-top: 0.2cm;
font-size: 1.2em;
}
}
.alignBtAbs {
position: absolute;
bottom: 0;
@ -95,10 +93,10 @@
height:0.2cm
}
.robotoB {
font-family:Roboto-Bold;
font-family: 'Roboto-Bold';
}
.robotoR {
font-family:Roboto-Regular;
font-family: 'Roboto-Regular';
}
.txtCenter {
text-align:center;
@ -110,9 +108,17 @@
.beesInfos {
vertical-align:center;height: 1.20cm;
}
#tableInfos {
width: 14.02cm;
height: 9.39cm;
table-layout:fixed;
display: inline-block;
}
.logoRestrict {
width: 12.7cm;height: 6.87cm;
width: 12.7cm;
height: 6.87cm;
margin: auto;
}
.logo {
display: block;
margin-left: auto;
@ -122,7 +128,6 @@
width:6.46cm;
height:6.46cm
}
}
</style>
</head>
@ -132,21 +137,20 @@
<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">
<img alt="Embedded Image" t-att-src="'data:image/png;base64,' + partner.image"
class="imgRestrict" />
</div>
</td>
<td class="infosContainer">
</div>
<div class="infosContainer">
<p class="alignText">
<span t-raw="partner.first_name and partner.first_name[:30] or ''" class="robotoR" />
<br />
@ -174,57 +178,41 @@
</t>
</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" />
</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 />
</t>
</div>

Loading…
Cancel
Save