summaryrefslogtreecommitdiff
path: root/templates/ranking.html
blob: f6f469623b52cadc1dd04114ee0694a294a7ff4e (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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Oficjalny Ranking Brydżowy PZBS</title>
    <link rel="stylesheet" href="res/bootstrap.min.css" />
    <link rel="stylesheet" href="res/jquery.qtip.min.css" />
    <link rel="stylesheet" href="res/ranking.css" />
  </head>
  <body>
    <div class="container">
      <div class="page-header">
        <h1>
          Oficjalny Ranking Brydżowy PZBS
        </h1>
        <h2>
          <small></small>
        </h2>
      </div>
      <div class="panel panel-default filters">
        <div class="panel-heading" role="button" data-toggle="collapse" data-target="#filters" aria-expanded="false" aria-controls="filters">
          Filtry rankingu
          <span class="glyphicon glyphicon-question-sign auto-tooltip"
                title="Kliknięcie zamienia filtr w danej kategorii.<br />Kliknięcie z klawiszem Ctrl dodaje filtr w kategorii."></span>
        </div>
        <div class="collapse panel-body" id="filters">
          <p>
            <div class="btn-group" role="group">
              <button type="button" class="btn btn-disabled">Okręg</button>
              <button type="button" class="btn btn-default" data-filter="region" data-value="DS">DS</button>
              <button type="button" class="btn btn-default" data-filter="region" data-value="KP">KP</button>
              <button type="button" class="btn btn-default" data-filter="region" data-value="LB">LB</button>
              <button type="button" class="btn btn-default" data-filter="region" data-value="LD">LD</button>
              <button type="button" class="btn btn-default" data-filter="region" data-value="LU">LU</button>
              <button type="button" class="btn btn-default" data-filter="region" data-value="MA">MA</button>
              <button type="button" class="btn btn-default" data-filter="region" data-value="MP">MP</button>
              <button type="button" class="btn btn-default" data-filter="region" data-value="OP">OP</button>
              <button type="button" class="btn btn-default" data-filter="region" data-value="PD">PD</button>
              <button type="button" class="btn btn-default" data-filter="region" data-value="PK">PK</button>
              <button type="button" class="btn btn-default" data-filter="region" data-value="PM">PM</button>
              <button type="button" class="btn btn-default" data-filter="region" data-value="SL">SL</button>
              <button type="button" class="btn btn-default" data-filter="region" data-value="SW">SW</button>
              <button type="button" class="btn btn-default" data-filter="region" data-value="WM">WM</button>
              <button type="button" class="btn btn-default" data-filter="region" data-value="WP">WP</button>
              <button type="button" class="btn btn-default" data-filter="region" data-value="ZP">ZP</button>
              <button type="button" class="btn btn-default" data-clear="region">wszystkie</button>
            </div>
          </p>
          <p>
            <div class="btn-group" role="group">
              <button type="button" class="btn btn-disabled">Płeć</button>
              <button type="button" class="btn btn-default" data-filter="gender" data-value="K">K</button>
              <button type="button" class="btn btn-default" data-filter="gender" data-value="M">M</button>
              <button type="button" class="btn btn-default" data-clear="gender">obie</button>
            </div>
            <div class="btn-group" role="group">
              <button type="button" class="btn btn-disabled">Kat. wiekowa</button>
              <button type="button" class="btn btn-default" data-filter="age" data-value="M">M</button>
              <button type="button" class="btn btn-default" data-filter="age" data-value="J">J</button>
              <button type="button" class="btn btn-default" data-filter="age" data-value="">-</button>
              <button type="button" class="btn btn-default" data-filter="age" data-value="S">S</button>
              <button type="button" class="btn btn-default" data-filter="age" data-value="N">N</button>
              <button type="button" class="btn btn-default" data-clear="age">wszyscy</button>
            </div>
          </p>
        </div>
      </div>
      <div class="panel panel-default">
        <div class="panel-heading" role="button" data-toggle="collapse" data-target="#editions" aria-expanded="false" aria-controls="editions">
          Wszystkie notowania rankingu
        </div>
        <div class="collapse panel-body" id="editions">
          <div class="btn-group" role="group">
            <button type="button" class="btn btn-disabled year" />
            <a href="" class="btn btn-default" datetime=""></a>
          </div>
        </div>
      </div>
      <div class="panel panel-default">
        <div class="panel-heading" role="button" data-toggle="collapse" data-target="#captions" aria-expanded="false" aria-controls="captions">
          Legenda
        </div>
        <div class="collapse panel-body" id="captions">
          <div class="row">
            <div class="col-md-6">
              Oznaczenia wierszy tabeli (kolor tła):
              <table class="table history table-hover">
                <tbody>
                  <tr class="gold">
                    <td>Pierwsze miejsce (w ramach wybranych kryteriów)</td>
                  </tr>
                  <tr class="silver">
                    <td>Drugie miejsce (w ramach wybranych kryteriów)</td>
                  </tr>
                  <tr class="bronze">
                    <td>Trzecie miejsce (w ramach wybranych kryteriów)</td>
                  </tr>
                  <tr class="info">
                    <td>Pierwsze miejsce w którejś z kategorii (okręg, płeć, wiek)</td>
                  </tr>
                </tbody>
              </table>
            </div>
            <div class="col-md-6">
              Oznaczenia zmiany miejsca w rankingu:
              <table class="table history">
                <tbody>
                  <tr>
                    <td>
                      <span class="change label label-success">+1</span> awans
                    </td>
                  </tr>
                  <tr>
                    <td>
                      <span class="change label label-default">=</span> bez zmian
                    </td>
                  </tr>
                  <tr>
                    <td>
                      <span class="change label label-danger">-1</span> spadek
                    </td>
                  </tr>
                  <tr>
                    <td>
                      <span class="change label label-info">N</span> nienotowany w poprzednim rankingu
                    </td>
                  </tr>
                </tbody>
              </table>
            </div>
          </div>
        </div>
      </div>
      <div id="top-paginator" class="text-center"></div>
      <br />
      <div class="table-responsive">
        <table class="data-table table table-striped table-hover table-paginate">
          <thead>
            <tr class="text-center">
              <th colspan="2">Miejsce</th>
              <th class="pid" colspan="2">PID</th>
              <th>
                Zawodnik
                <span class="glyphicon glyphicon-question-sign auto-tooltip"
                      title="Kliknięcie w wiersz wyświetla historię zawodnika"></span>
              </th>
              <th class="club">Klub</th>
              <th class="region" colspan="3">Okręg</th>
              <th class="gender" colspan="3">Płeć</th>
              <th class="age" colspan="3">Kat. wiekowa</th>
              <th class="ranking">Wynik</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td class="place text-right">
                <span class="rank"></span>
              </td>
              <td class="place">
                <span class="change label"></span>
              </td>
              <td class="pid text-right"></td>
              <td class="pidlink">
                <a href="" target="_blank">
                  <span class="glyphicon glyphicon-new-window"></span>
                </a>
              </td>
              <td class="name"></td>
              <td class="club"></td>
              <td class="region text-center"></td>
              <td class="region-place text-right">
                <span class="rank"></span>
              </td>
              <td class="region-place">
                <span class="change label"></span>
              </td>
              <td class="gender text-center"></td>
              <td class="gender-place text-right">
                <span class="rank"></span>
              </td>
              <td class="gender-place">
                <span class="change label"></span>
              </td>
              <td class="age text-center"></td>
              <td class="age-place text-right">
                <span class="rank"></span>
              </td>
              <td class="age-place">
                <span class="change label"></span>
              </td>
              <td class="ranking text-right">
                <span class="auto-tooltip"></span>
              </td>
            </tr>
          </tbody>
        </table>
        <div id="bottom-paginator" class="text-center"></div>
        <br />
      </div>
      <div class="well well-sm">
        &copy; 2017 - dla <a href="http://pzbs.pl">PZBS</a> zrobił <a href="https://emkael.info">mkl.</a> Też sobie <a href="https://github.com/emkael/pzbs-ranking">zrób.</a>
      </div>
    </div>
    <script type="text/javascript" src="res/jquery-2.2.4.min.js"></script>
    <script type="text/javascript" src="res/bootstrap.min.js"></script>
    <script type="text/javascript" src="res/jquery.qtip.min.js"></script>
    <script type="text/javascript" src="res/ranking.js"></script>
  </body>
</html>