summaryrefslogtreecommitdiff
path: root/template/segment.html
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-01-06 03:04:10 +0100
committeremkael <emkael@tlen.pl>2017-01-06 03:04:10 +0100
commit7303742fef4f593c478ba4061a5a0e63ce768974 (patch)
tree44763d693fe9e71749419db3d8df040ca593c8bc /template/segment.html
parentf492e49f743c6283e7f071f6118f6da5ced526e3 (diff)
Template refactoring - macros for reusable markup
Diffstat (limited to 'template/segment.html')
-rw-r--r--template/segment.html16
1 files changed, 4 insertions, 12 deletions
diff --git a/template/segment.html b/template/segment.html
index 6d8e038..a481dcf 100644
--- a/template/segment.html
+++ b/template/segment.html
@@ -1,3 +1,4 @@
+{% from 'macros.html' import separator, footer %}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
@@ -19,15 +20,11 @@
{{logoh}}
</td>
</tr>
- <tr>
- <td class="e" colspan="3">&nbsp;</td>
- </tr>
+ {{ separator(3) }}
<tr>
<td class="bdnt12" colspan="3">{{"BUTLER_ROUND"|translate}}{{round_no}} {{"SEGMENT"|translate}}{{segment_no}}</td>
</tr>
- <tr>
- <td class="e" colspan="3">&nbsp;</td>
- </tr>
+ {{ separator(3) }}
<tr valign="top">
<td>
<table cellspacing="0">
@@ -70,11 +67,6 @@
</td>
</tr>
</table>
- <p class="vs"></p>
- <p class="f">
- {{"FOOTER_ANALYSIS"|translate}}, &copy;William Bailey&#39;1999<br />
- &nbsp;Admin&nbsp;&copy;Jan Romański&#39;2005,&nbsp;jfrteamy-ausbutler&nbsp;&copy;Michał Klichowicz&#39;2017{{"FOOTER_GENERATED"|translate}}
- {{date}}{{"FOOTER_AT"|translate}}{{time}}{{"FOOTER_OPTIMIZED"|translate}}
- </p>
+ {{ footer(date, time) }}
</body>
</html>