diff options
author | emkael <emkael@tlen.pl> | 2017-01-06 00:29:12 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2017-01-06 00:29:12 +0100 |
commit | 89591b0893bf3ec2ca5124c19ea1c660978d1b40 (patch) | |
tree | 8fab348161e89ef44875a8b733e1e1534e5b08b3 /template | |
parent | 3698d02c9a57e13070bae5d4b51e40d9879522bb (diff) |
Generating segment pages
Diffstat (limited to 'template')
-rw-r--r-- | template/segment.html | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/template/segment.html b/template/segment.html new file mode 100644 index 0000000..b1b0a7c --- /dev/null +++ b/template/segment.html @@ -0,0 +1,80 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> + <head> + <meta http-equiv="Pragma" content="no-cache"> + <meta http-equiv="Cache-Control" content="no-cache"> + <meta name="robots" content="noarchive"> + <meta http-equiv="expires" content="0"> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <meta name="Generator" content="jfrteamy-aus-butler"> + <title>{{"PAGE_TITLE"|translate}}</title> + <link rel="stylesheet" type="text/css" href="css/kolorki.css"> + <script type="text/javascript" src="sklady/myAjax.js"></script> + </head> + <body class="all"> + <script type="text/javascript" src="sklady/wz_tooltip.js"></script> + <table cellspacing="0"> + <tr> + <td colspan="3"> + {{logoh}} + </td> + </tr> + <tr> + <td class="e" colspan="3"> </td> + </tr> + <tr> + <td class="bdnt12" colspan="3">{{"BUTLER_ROUND"|translate}}{{round_no}} {{"SEGMENT"|translate}}{{segment_no}}</td> + </tr> + <tr> + <td class="e" colspan="3"> </td> + </tr> + <tr valign="top"> + <td> + <table cellspacing="0"> + <tr> + <td class="bdcc12">{{"HEADER_PLACE"|translate}}</td> + <td class="bdcc2">{{"HEADER_TABLE"|translate}}</td> + <td class="bdcc2"> </td> + <td class="bdcc2">{{"HEADER_TEAM"|translate}}</td> + <td class="bdcc2"> {{"HEADER_IMPS"|translate}} </td> + <td class="bdcc2"> {{"HEADER_OPPS"|translate}} </td> + <td class="bdcc2"> {{"HEADER_NORMALIZED"|translate}} </td> + </tr> + {% for result in results %} + <tr> + <td class="bdc1">{{result['place']}}</td> + <td class="bdc">{{result['position']}}</td> + <td class="zno">{{'-'.join(result['players'])}}</td> + <td class="zno">{{result['team']}}</td> + <td class="bdc">{{ '%0+d' % result['score']}}</td> + <td class="bdc">{{ '%+.2f' % result['opp_score']}}</td> + <td class="bdc">{{ '%+.2f' % result['norm_score']}}</td> + </tr> + {% endfor %} + </table> + </td> + <td> </td> + <td> + <table cellspacing="0"> + <tr> + <td class="bdcc12">{{"HEADER_BOARD_NO"|translate}}</td> + </tr> + {% for board_no in boards %} + <tr> + <td class="bdcc1"> + <a href="{{prefix}}{{round_no}}b-{{board_no}}.html" class="zb" target="popra"> {{board_no}} </a> + </td> + </tr> + {% endfor %} + </table> + </td> + </tr> + </table> + <p class="vs"></p> + <p class="f"> + {{"FOOTER_ANALYSIS"|translate}}, ©William Bailey'1999<br /> + Admin ©Jan Romański'2005, jfrteamy-ausbutler ©Michał Klichowicz'2017{{"FOOTER_GENERATED"|translate}} + {{date}}{{"FOOTER_AT"|translate}}{{time}}{{"FOOTER_OPTIMIZED"|translate}} + </p> + </body> +</html> |