Aucune description

index.html 1.1KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <html>
  2. <body>
  3. <div style='width:50%; float:left'>
  4. <h1>Players</h1>
  5. <form method="post">
  6. <input type=hidden name='selectTeam' value="{{ selectTeam }}" />
  7. <ol>
  8. {% for p in players %}
  9. <li><input type=checkbox name="players" value="{{ p.id }}" /><a href="{{ url_for(".get_player", pid = p.id) }}">{{ p }}</a></li>
  10. {% endfor %}
  11. </ol>
  12. <input type="submit" name="selectPlayerBtn" value="Select Player">
  13. </form>
  14. </div>
  15. <div style='width:50%; float:left'>
  16. <a href="{{ url_for("lgs") }}">Lgs</a>
  17. <h1>Teams</h1>
  18. {{ currentTeam }}
  19. <h2>P</h2>
  20. <ul>
  21. {% for p in currentPlayers %}
  22. <li>{{ p }} GS={{ p.goals_scored }}</li>
  23. {% endfor %}
  24. </ul>
  25. <hr>
  26. <form method="post">
  27. <input type=text name='teamName' />
  28. <input type="submit" name="teamCreate" value="Create Team">
  29. </form>
  30. <ol>
  31. {% for t in teams %}
  32. <li><a href="{{ url_for('team', team_id=t['_id']) }}">{{ t['title'] }}</a></li>
  33. {% endfor %}
  34. </ol>
  35. </div>
  36. </body>
  37. </html>