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
jtulach@41
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
jtulach@41
     2
<html>
jtulach@41
     3
  <head>
jtulach@41
     4
    <title></title>
jtulach@41
     5
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
jtulach@41
     6
  </head>
jtulach@41
     7
  <body>
jtulach@41
     8
      <h1>Quoridor Community Server</h1>
jtulach@41
     9
jtulach@41
    10
      <ol>
jaroslav@49
    11
      <#list model as item>
jtulach@43
    12
        <li>${item.white} vs. ${item.black} <a href="games/${item.id}/">board</a></li>
jtulach@41
    13
      </#list>
jtulach@41
    14
      </ol>
jtulach@42
    15
      <form action="games/create">
jtulach@42
    16
            White: <input type="text" name="white" value="" />
jtulach@42
    17
            Black: <input type="text" name="black" value="" />
jtulach@42
    18
            <input type="submit" value="Create!" />
jtulach@42
    19
      </form>
jtulach@41
    20
  </body>
jtulach@41
    21
</html>