home.html 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {% extends "base.html" %}
  2. {% block content %}
  3. <div class="container">
  4. <form action="/newgame">
  5. <div class="row">
  6. <div class="six columns">
  7. <label for="playerNameNewInput">Player Name</label>
  8. <input type="text"
  9. class="u-full-width"
  10. placeholder="Cool Guy"
  11. id="playerNameNewInput"
  12. name="playerName">
  13. </div>
  14. <div class="two columns">
  15. <label for="handSizeInput">Hand Size</label>
  16. <input type="number"
  17. name="handSize"
  18. id="handSizeInput"
  19. class="u-full-width"
  20. value="7">
  21. </div>
  22. <div class="two columns">
  23. <label for="matchCountInput">Match Count</label>
  24. <input type="number"
  25. name="matchCount"
  26. id="matchCountInput"
  27. class="u-full-width"
  28. value="2">
  29. </div>
  30. <div class="two columns">
  31. <label for="turnCountInput">Turn Count</label>
  32. <input type="number"
  33. name="turnCount"
  34. id="turnCountInput"
  35. class="u-full-width"
  36. value="10">
  37. </div>
  38. </div>
  39. <div class="row">
  40. <div class="twelve column">
  41. <button type="submit"
  42. class="button-primary button-full">
  43. New Game
  44. </a>
  45. </div>
  46. </div>
  47. </form>
  48. <hr>
  49. <form action="/joingame">
  50. <div class="row">
  51. <div class="one-third column">
  52. <input type="text"
  53. class="u-full-width"
  54. placeholder="Game Code"
  55. id="gameCodeInput"
  56. name="gameCode">
  57. </div>
  58. <div class="one-third column">
  59. <input type="text"
  60. class="u-full-width"
  61. name="playerName"
  62. id="playerNameJoinInput"
  63. placeholder="Player Name">
  64. </div>
  65. <div class="one-third column">
  66. <button type="submit"
  67. class="button-primary button-full">
  68. Join Game
  69. </button>
  70. </div>
  71. </div>
  72. </form>
  73. </div>
  74. {% endblock %}