Browse Source

Outlook fluid table fixed

pull/44/head
Daniel Gómez-Zurita 9 years ago
committed by Jairo Llopis
parent
commit
762a9f8202
  1. 3
      website_mail_snippet_responsive/views/snippet_1_col.xml
  2. 3
      website_mail_snippet_responsive/views/snippet_2_cols.xml
  3. 3
      website_mail_snippet_responsive/views/snippet_3_cols.xml
  4. 3
      website_mail_snippet_responsive/views/snippet_event_date.xml
  5. 3
      website_mail_snippet_responsive/views/snippet_hr.xml
  6. 3
      website_mail_snippet_responsive/views/snippet_img_text.xml
  7. 3
      website_mail_snippet_responsive/views/snippet_text_img.xml
  8. 13
      website_mail_snippet_responsive/views/templates.xml

3
website_mail_snippet_responsive/views/snippet_1_col.xml

@ -12,9 +12,6 @@
<t t-set="image" t-value="'snippet_1_col'"/>
<t t-set="title">Big image + Text + Button (1 column)</t>
<tbody>
<tr>
<td bgcolor="#ECECEC" height="10"></td>
</tr>
<tr>
<td><a href="#" target="_blank"><img src="http://placehold.it/570x200/333333/ffffff?text=width 570px" style="display: block; color: #000000; font-family: Arial, sans-serif; font-size: 9pt; width: 100%; max-width: 570px; min-width:285px;" border="0"/> </a></td>
</tr>

3
website_mail_snippet_responsive/views/snippet_2_cols.xml

@ -12,9 +12,6 @@
<t t-set="image" t-value="'snippet_2_cols'"/>
<t t-set="title">Image + Text + Button (2 columns)</t>
<tbody>
<tr>
<td bgcolor="#ECECEC" height="10"></td>
</tr>
<tr>
<td style="padding: 0;" valign="top">
<!-- LEFT COLUMN -->

3
website_mail_snippet_responsive/views/snippet_3_cols.xml

@ -12,9 +12,6 @@
<t t-set="image" t-value="'snippet_3_cols'"/>
<t t-set="title">Image + Text + Button (3 columns)</t>
<tbody>
<tr>
<td bgcolor="#ECECEC" height="10"></td>
</tr>
<tr>
<!-- FIRST COLUMN -->
<td style="padding: 0;" valign="top">

3
website_mail_snippet_responsive/views/snippet_event_date.xml

@ -12,9 +12,6 @@
<t t-set="image" t-value="'snippet_event_date'"/>
<t t-set="title">Date + Text + Button (2 columns)</t>
<tbody>
<tr>
<td bgcolor="#ECECEC" height="10"></td>
</tr>
<tr>
<td style="padding:0 20px;">
<table border="0" cellpadding="0" cellspacing="0" width="100%">

3
website_mail_snippet_responsive/views/snippet_hr.xml

@ -24,9 +24,6 @@
<t t-set="image" t-value="'snippet_hr'"/>
<t t-set="title">Horizontal Separator</t>
<tbody>
<tr>
<td bgcolor="#ECECEC" height="10"/>
</tr>
<tr>
<td bgcolor="#00B518"
height="5"

3
website_mail_snippet_responsive/views/snippet_img_text.xml

@ -12,9 +12,6 @@
<t t-set="image" t-value="'snippet_img_text'"/>
<t t-set="title">Left Image, Right Text + Button</t>
<tbody>
<tr>
<td bgcolor="#ECECEC" height="10"></td>
</tr>
<tr>
<td style="padding: 0;" valign="top">
<!-- LEFT COLUMN -->

3
website_mail_snippet_responsive/views/snippet_text_img.xml

@ -12,9 +12,6 @@
<t t-set="image" t-value="'snippet_text_img'"/>
<t t-set="title">Left Text and Button, Right Image</t>
<tbody>
<tr>
<td bgcolor="#ECECEC" height="10"></td>
</tr>
<tr>
<td style="padding: 0;" valign="top">
<!-- LEFT COLUMN -->

13
website_mail_snippet_responsive/views/templates.xml

@ -18,6 +18,15 @@
<div
class="oe_snippet_body"
style="padding:0px; width:100%; background-color:#ececec; color:rgb(0,0,0); line-height:20px; font-family:Arial,sans-serif; font-size:9pt">
<!--[if gte mso]>
<style type="text/css">
.fluid { width: 600px !important; }
</style>
<![endif]-->
<table class="fluid" align="center" cellpadding="0" cellspacing="0" style="max-width: 600px; border-collapse: collapse; background: inherit; color: inherit;">
<tbody>
<tr>
<td class="bg_color_picker" style="background-color:#ececec; padding:10px 15px 0 15px;">
<table
style="width: 100%; max-width: 570px; border-collapse: collapse; background: inherit; color: inherit; background: #FFFFFF"
cellpadding="0"
@ -26,6 +35,10 @@
bgcolor="#FFFFFF">
<t t-raw="0"/>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</template>

Loading…
Cancel
Save