freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/index.fmt
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Sun, 30 Aug 2009 14:44:49 +0200
changeset 49 75074e02f345
parent 48 69e897fe8140
child 54 f041b6570ff9
permissions -rw-r--r--
At least we are able to generate the index page
     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>