freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/game.fmt
changeset 43 58b8db5faf2c
parent 41 c94f68ddef59
child 48 69e897fe8140
     1.1 --- a/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/game.fmt	Tue Aug 11 14:26:49 2009 +0200
     1.2 +++ b/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/game.fmt	Tue Aug 11 15:17:23 2009 +0200
     1.3 @@ -6,6 +6,51 @@
     1.4    </head>
     1.5    <body>
     1.6        <h1>Game</h1>
     1.7 +      <form action="move">
     1.8 +          <input type="hidden" name="type" value="fence" readonly="readonly"/>
     1.9 +          <select name="column">
    1.10 +              <option>A</option>
    1.11 +              <option>B</option>
    1.12 +              <option>C</option>
    1.13 +              <option>D</option>
    1.14 +              <option>E</option>
    1.15 +              <option>F</option>
    1.16 +              <option>G</option>
    1.17 +              <option>H</option>
    1.18 +          </select>
    1.19 +          <select name="row">
    1.20 +              <option>1</option>
    1.21 +              <option>2</option>
    1.22 +              <option>3</option>
    1.23 +              <option>4</option>
    1.24 +              <option>5</option>
    1.25 +              <option>6</option>
    1.26 +              <option>7</option>
    1.27 +              <option>8</option>
    1.28 +          </select>
    1.29 +          <select name="direction">
    1.30 +              <option>horizontal</option>
    1.31 +              <option>vertical</option>
    1.32 +          </select>
    1.33 +          <input type="submit" value="Place!" />
    1.34 +      </form>
    1.35 +      <form action="move">
    1.36 +          <input type="hidden" name="type" value="move" readonly="readonly"/>
    1.37 +          <select name="direction">
    1.38 +              <option>E</option>
    1.39 +              <option>W</option>
    1.40 +              <option>N</option>
    1.41 +              <option>S</option>
    1.42 +          </select>
    1.43 +          <select name="direction-next">
    1.44 +              <option></option>
    1.45 +              <option>E</option>
    1.46 +              <option>W</option>
    1.47 +              <option>N</option>
    1.48 +              <option>S</option>
    1.49 +          </select>
    1.50 +          <input type="submit" value="Move!" />
    1.51 +      </form>
    1.52        <pre>${model}</pre>
    1.53    </body>
    1.54  </html>
    1.55 \ No newline at end of file