summaryrefslogtreecommitdiff
path: root/template/table.html
blob: 8dceb2a2583f17852e03446a24bbd96899d9afe7 (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
{% from 'macros.html' import separator, previous_rounds, table_header, table_player, footer %}
<!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}}: {{"BUTLER"|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="{{segment_limit+5}}">
          {{logoh}}
        </td>
      </tr>
      {{ separator(segment_limit+5) }}
      <tr>
        <td class="bdnt12" colspan="{{segment_limit+5}}">
          {{"NORMALIZED_CLASSIFICATION"|translate}}
          {% if percent_threshold > 0 %}
          <small><br />{{"WITHOUT_PLAYERS_WITHOUT_CHANCES"|translate}}{{percent_threshold}}{{"PERCENT_NOT_LISTED"|translate}}</small>
          {% endif %}
        </td>
      </tr>
      {{ separator(segment_limit+5) }}
      {% if segments|length > segment_limit %}
        {{ previous_rounds(segments, segment_limit, prefix, per_round) }}
      {% endif %}
      {{ table_header(segments, segment_limit, prefix, per_round) }}
      {% for player in above_threshold %}
        {{ table_player(player, segment_limit) }}
      {% endfor %}
      {% if below_threshold|length > 0 %}
      {{ separator(segment_limit+5) }}
      <tr>
        <td class="bdnt12" colspan="{{segment_limit+5}}">
          {{"NORMALIZED_CLASSIFICATION"|translate}}
          {% if percent_threshold > 0 %}
          <small><br />{{"PLAYERS_WITHOUT_CHANCES"|translate}}{{percent_threshold}}{{"PERCENT"|translate}}</small>
          {% endif %}
        </td>
      </tr>
      {{ separator(segment_limit+5) }}
      {% if segments|length > segment_limit %}
        {{ previous_rounds(segments, segment_limit, prefix, per_round) }}
      {% endif %}
      {{ table_header(segments, segment_limit, prefix, per_round) }}
      {% for player in below_threshold %}
        {{ table_player(player, segment_limit) }}
      {% endfor %}
      {% endif %}
    </table>
    {{ footer(date, time) }}
  </body>
</html>