author | Jaroslav Tulach <jtulach@netbeans.org> |
Thu, 25 Nov 2010 23:08:20 +0100 | |
changeset 278 | 3a472605338f |
parent 151 | freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/login.fmt@b9e67a17bd10 |
permissions | -rw-r--r-- |
jaroslav@46 | 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
jaroslav@46 | 2 |
<html> |
jaroslav@46 | 3 |
<head> |
jaroslav@104 | 4 |
<title>${bundle.TITLE_PLAIN}</title> |
jaroslav@46 | 5 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
jtulach@278 | 6 |
<#if url?? > |
jtulach@278 | 7 |
<meta http-equiv="REFRESH" content="1;URL=${url}"> |
jaroslav@104 | 8 |
</#if> |
jaroslav@116 | 9 |
<script type="text/javascript"> |
jaroslav@116 | 10 |
function setFocus() { |
jtulach@278 | 11 |
var name = document.getElementById("openid_identifier"); |
jaroslav@116 | 12 |
name.focus(); |
jaroslav@116 | 13 |
} |
jaroslav@116 | 14 |
</script> </head> |
jaroslav@151 | 15 |
<body bgcolor="white" onload="setFocus();"> |
jaroslav@59 | 16 |
<h1>${bundle.TITLE}</h1> |
jaroslav@59 | 17 |
<h2>${bundle.LOGIN}</h2> |
jaroslav@46 | 18 |
|
jtulach@278 | 19 |
<#if id?? > |
jtulach@278 | 20 |
${bundle("logged", id?string)} |
jaroslav@70 | 21 |
<a href="/">${bundle.home}</a> |
jaroslav@70 | 22 |
<#else> |
jaroslav@70 | 23 |
|
jaroslav@56 | 24 |
<b>${message!""}</b> |
jtulach@278 | 25 |
<#if url?? > |
jtulach@278 | 26 |
<p> |
jtulach@278 | 27 |
${bundle.REDIRECT} |
jtulach@278 | 28 |
<#else> |
jtulach@278 | 29 |
<form action="/openid" method="post"> |
jtulach@278 | 30 |
<label for="openid_indentifier">${bundle.OPENID}</label> |
jtulach@278 | 31 |
<input type="text" name="openid_identifier" id="openid_identifier"/> |
jtulach@278 | 32 |
<input type="submit" value="${bundle.LOGIN}"/> |
jtulach@278 | 33 |
</form> |
jtulach@278 | 34 |
</#if> |
jaroslav@70 | 35 |
</#if> |
jaroslav@88 | 36 |
<hr/> |
jaroslav@88 | 37 |
${bundle("copyright", version)} |
jaroslav@46 | 38 |
</body> |
jaroslav@46 | 39 |
</html> |