<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Standings</title>
    <link
      rel="stylesheet"
      href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/css/bootstrap.min.css"
    />
    <style>
      body {
        margin: 0;
        padding: 0;
        background-color: #e6f2ff;
      }
      .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
      }
    </style>
  </head>
  <body>
    <div class="container">
      <h1
        class="text-center font-weight-bold border-bottom border-2 border-primary p-3 m-3 shadow rounded"
      >
        Leaderboard for {{game.name}}
      </h1>
      <table class="table table-striped p-3 m-3 shadow rounded">
        <thead>
          <tr>
            <th scope="col">Place</th>
            <th scope="col">Company</th>
            <th scope="col">Money</th>
          </tr>
        </thead>
        <tbody>
          {%for item in leaderboard%}
          <div>
            <tr>
              <td>{{item.0}}</td>
              <td>{{item.1.name}}</td>
              <td>{{item.1.money}}$</td>
            </tr>
          </div>
          {%endfor%}
        </tbody>
      </table>
      <div>Please complete the following Survey:</div>
      <a href="https://www.survio.com/survey/d/V6G8P1V8W7N1Z6E3Y">Survey</a>
    </div>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/js/bootstrap.min.js"></script>
  </body>
</html>
