dschandra commited on
Commit
1e45b7a
·
verified ·
1 Parent(s): d6047f1

Create leaderboards.html

Browse files
Files changed (1) hide show
  1. templates/leaderboards.html +49 -0
templates/leaderboards.html ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Leaderboards</title>
7
+ <link rel="stylesheet" href="styles.css">
8
+ </head>
9
+ <body>
10
+ <header>
11
+ <h1>Leaderboards</h1>
12
+ <nav>
13
+ <ul>
14
+ <li><a href="/">Home</a></li>
15
+ <li><a href="/live_scoring">Live Scoring</a></li>
16
+ <li><a href="/scorecard">Scorecard</a></li>
17
+ <li><a href="/tournament">Organize Tournament</a></li>
18
+ <li><a href="/lookup">Lookup</a></li>
19
+ </ul>
20
+ </nav>
21
+ </header>
22
+
23
+ <main>
24
+ <section>
25
+ <h2>Top Performers</h2>
26
+ <table>
27
+ <thead>
28
+ <tr>
29
+ <th>Player</th>
30
+ <th>Points</th>
31
+ </tr>
32
+ </thead>
33
+ <tbody>
34
+ {% for player in rankings %}
35
+ <tr>
36
+ <td>{{ player['player'] }}</td>
37
+ <td>{{ player['points'] }}</td>
38
+ </tr>
39
+ {% endfor %}
40
+ </tbody>
41
+ </table>
42
+ </section>
43
+ </main>
44
+
45
+ <footer>
46
+ <p>&copy; 2025 Cricket Tournament. All rights reserved.</p>
47
+ </footer>
48
+ </body>
49
+ </html>