freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/index.fmt
author Jaroslav Tulach <jtulach@netbeans.org>
Tue, 11 Aug 2009 15:17:23 +0200
changeset 43 58b8db5faf2c
parent 42 c5726abc1218
child 48 69e897fe8140
permissions -rw-r--r--
Simple UI for submitting moves (without implementation)
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
     2 <html>
     3   <head>
     4     <title></title>
     5     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     6   </head>
     7   <body>
     8       <h1>Quoridor Community Server</h1>
     9 
    10       <ol>
    11       <#list model as item>
    12         <li>${item.white} vs. ${item.black} <a href="games/${item.id}/">board</a></li>
    13       </#list>
    14       </ol>
    15       <form action="games/create">
    16             White: <input type="text" name="white" value="" />
    17             Black: <input type="text" name="black" value="" />
    18             <input type="submit" value="Create!" />
    19       </form>
    20   </body>
    21 </html>