Skip to content

Commit 71ef30d

Browse files
committed
Better tables.headline.html.twig (patched from 1.0)
1 parent 263c7be commit 71ef30d

File tree

2 files changed

+38
-24
lines changed

2 files changed

+38
-24
lines changed
+14-24
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,14 @@
1-
<div class="TableContainer">
2-
<div class="CaptionContainer">
3-
<div class="CaptionInnerContainer">
4-
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
5-
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
6-
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
7-
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
8-
<div class="Text" >{{ title|raw }}</div>
9-
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
10-
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
11-
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
12-
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
13-
</div>
14-
</div>
15-
<table class="Table5" cellpadding="0" cellspacing="0" style="background-color: {{ config.lightborder }}">
16-
<tr>
17-
<td>
18-
<div class="InnerTableContainer">
19-
{{ content|raw }}
20-
</div>
21-
</td>
22-
</tr>
23-
</table>
24-
</div>
1+
<table border="0" cellspacing="1" cellpadding="4" width="100%">
2+
<thead>
3+
<tr bgcolor="{{ config.vdarkborder }}">
4+
<td colspan="3" class="white"><b>{{ title|raw }}</b></td>
5+
</tr>
6+
</thead>
7+
<tbody>
8+
<tr style="background-color: {% if background is not null %}{{ background }}{% else %}{{ config.lightborder }}{% endif %}">
9+
<td>
10+
{{ content|raw }}
11+
</td>
12+
</tr>
13+
</tbody>
14+
</table>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<div class="TableContainer">
2+
<div class="CaptionContainer">
3+
<div class="CaptionInnerContainer">
4+
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
5+
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
6+
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
7+
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
8+
<div class="Text" >{{ title|raw }}</div>
9+
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
10+
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
11+
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
12+
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
13+
</div>
14+
</div>
15+
<table class="{% if tableClass is not null %}{{ tableClass }}{% else %}Table3{% endif %}" cellpadding="0" cellspacing="0" style="background-color: {% if background is not null %}{{ background }}{% else %}{{ config.lightborder }}{% endif %}">
16+
<tr>
17+
<td>
18+
<div class="InnerTableContainer">
19+
{{ content|raw }}
20+
</div>
21+
</td>
22+
</tr>
23+
</table>
24+
</div>

0 commit comments

Comments
 (0)