Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	Create scorecard.html
Browse files- templates/scorecard.html +53 -0
    	
        templates/scorecard.html
    ADDED
    
    | @@ -0,0 +1,53 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 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>Scorecard</title>
         | 
| 7 | 
            +
                <link rel="stylesheet" href="styles.css">
         | 
| 8 | 
            +
            </head>
         | 
| 9 | 
            +
            <body>
         | 
| 10 | 
            +
                <header>
         | 
| 11 | 
            +
                    <h1>Professional Scorecard</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="/leaderboards">Leaderboards</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>Player Performance</h2>
         | 
| 26 | 
            +
                        <table>
         | 
| 27 | 
            +
                            <thead>
         | 
| 28 | 
            +
                                <tr>
         | 
| 29 | 
            +
                                    <th>Player</th>
         | 
| 30 | 
            +
                                    <th>Runs</th>
         | 
| 31 | 
            +
                                    <th>Balls</th>
         | 
| 32 | 
            +
                                    <th>Wickets</th>
         | 
| 33 | 
            +
                                </tr>
         | 
| 34 | 
            +
                            </thead>
         | 
| 35 | 
            +
                            <tbody>
         | 
| 36 | 
            +
                                {% for player in player_scores %}
         | 
| 37 | 
            +
                                <tr>
         | 
| 38 | 
            +
                                    <td>{{ player['player'] }}</td>
         | 
| 39 | 
            +
                                    <td>{{ player['runs'] }}</td>
         | 
| 40 | 
            +
                                    <td>{{ player['balls'] }}</td>
         | 
| 41 | 
            +
                                    <td>{{ player['wickets'] }}</td>
         | 
| 42 | 
            +
                                </tr>
         | 
| 43 | 
            +
                                {% endfor %}
         | 
| 44 | 
            +
                            </tbody>
         | 
| 45 | 
            +
                        </table>
         | 
| 46 | 
            +
                    </section>
         | 
| 47 | 
            +
                </main>
         | 
| 48 | 
            +
             | 
| 49 | 
            +
                <footer>
         | 
| 50 | 
            +
                    <p>© 2025 Cricket Tournament. All rights reserved.</p>
         | 
| 51 | 
            +
                </footer>
         | 
| 52 | 
            +
            </body>
         | 
| 53 | 
            +
            </html>
         |