1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/openid.fmt Thu Nov 25 23:08:20 2010 +0100
1.3 @@ -0,0 +1,39 @@
1.4 +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
1.5 +<html>
1.6 + <head>
1.7 + <title>${bundle.TITLE_PLAIN}</title>
1.8 + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
1.9 + <#if url?? >
1.10 + <meta http-equiv="REFRESH" content="1;URL=${url}">
1.11 + </#if>
1.12 + <script type="text/javascript">
1.13 + function setFocus() {
1.14 + var name = document.getElementById("openid_identifier");
1.15 + name.focus();
1.16 + }
1.17 + </script> </head>
1.18 + <body bgcolor="white" onload="setFocus();">
1.19 + <h1>${bundle.TITLE}</h1>
1.20 + <h2>${bundle.LOGIN}</h2>
1.21 +
1.22 + <#if id?? >
1.23 + ${bundle("logged", id?string)}
1.24 + <a href="/">${bundle.home}</a>
1.25 + <#else>
1.26 +
1.27 + <b>${message!""}</b>
1.28 + <#if url?? >
1.29 + <p>
1.30 + ${bundle.REDIRECT}
1.31 + <#else>
1.32 + <form action="/openid" method="post">
1.33 + <label for="openid_indentifier">${bundle.OPENID}</label>
1.34 + <input type="text" name="openid_identifier" id="openid_identifier"/>
1.35 + <input type="submit" value="${bundle.LOGIN}"/>
1.36 + </form>
1.37 + </#if>
1.38 + </#if>
1.39 + <hr/>
1.40 + ${bundle("copyright", version)}
1.41 + </body>
1.42 +</html>
1.43 \ No newline at end of file