summaryrefslogtreecommitdiff
path: root/template/segment.html
blob: b1b0a7ce49b79d9a2af857767202a2a3efb62cdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
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">&nbsp;</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">&nbsp;</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">&nbsp;</td>
              <td class="bdcc2">{{"HEADER_TEAM"|translate}}</td>
              <td class="bdcc2">&nbsp;&nbsp;&nbsp;{{"HEADER_IMPS"|translate}}&nbsp;&nbsp;&nbsp;</td>
              <td class="bdcc2">&nbsp;&nbsp;&nbsp;{{"HEADER_OPPS"|translate}}&nbsp;&nbsp;&nbsp;</td>
              <td class="bdcc2">&nbsp;{{"HEADER_NORMALIZED"|translate}}&nbsp;</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>&nbsp;&nbsp;&nbsp;</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">&nbsp;&nbsp;&nbsp;{{board_no}}&nbsp;&nbsp;</a>
              </td>
            </tr>
            {% endfor %}
          </table>
        </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>
  </body>
</html>