summaryrefslogtreecommitdiff
path: root/templates/login.html
blob: 754fa2f89b433c3fa1adc8f33fab6a9fd3b15162 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:py="http://genshi.edgewall.org/"
	xmlns:sub="http://local.sublab.org/subdap/xmlns-templates"
	xmlns:xi="http://www.w3.org/2001/XInclude">
 <xi:include href="layout.xi"/>
 <head>
  <title>login</title>
 </head>
 <sub:bodyform>
  <form action='login' method='POST'>
   <a href="create" id="create">create account</a>
   <div>uid: <input type='text' name='username' size="10"/></div>
   <b class="error" py:if="'username' in errors">${errors.username}</b>
   <div>password: <input type='password' name='password' size="10"/></div>
   <b class="error" py:if="'password' in errors">${errors.password}</b>
   <input type='submit' value='login'/>
  </form>
  <a href="login?lang=de" class="lang"><img src="${url('static/lang_de.png')}" alt="Deutsch" width="16" height="11"/></a>
  <a href="login?lang=en" class="lang"><img src="${url('static/lang_en.png')}" alt="English" width="16" height="11"/></a>
  <a href="login?lang=ja" class="lang"><img src="${url('static/lang_ja.png')}" alt="日本語" width="16" height="11"/></a>
 </sub:bodyform>
</html>