freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/index.fmt
author Jaroslav Tulach <jtulach@netbeans.org>
Mon, 31 Aug 2009 22:44:47 +0200
changeset 54 f041b6570ff9
parent 49 75074e02f345
child 56 7c3794f5baa1
permissions -rw-r--r--
Removing anything related to JSON from the HTML layer, using natural freemarker's W3C DOM processing capabilities
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
      <ol>
jtulach@54
    10
      <#list doc.gameIds.* as g>
jtulach@54
    11
        <li>
jtulach@54
    12
            ${g.@white} vs. ${g.@black} <a href="games/${g.@id}/">board</a>
jtulach@54
    13
        </li>
jtulach@41
    14
      </#list>
jtulach@41
    15
      </ol>
jtulach@42
    16
      <form action="games/create">
jtulach@42
    17
            White: <input type="text" name="white" value="" />
jtulach@42
    18
            Black: <input type="text" name="black" value="" />
jtulach@42
    19
            <input type="submit" value="Create!" />
jtulach@42
    20
      </form>
jtulach@41
    21
  </body>
jtulach@41
    22
</html>