6aab92b2b00bebb82e043441ccc3d25be3106a7d
[anoweco.git] / data / templates / auth-choose.htm
1 <html xmlns="http://www.w3.org/1999/xhtml">
2  <head>
3   <meta charset="utf-8"/>
4   <title>Select your identity</title>
5  </head>
6  <body>
7   <h1>Select your identity</h1>
8   <p>
9    You may log in to {{client_id}} with any identity you like.
10   </p>
11
12   <form method="post" action="{{formaction}}">
13    {% for key, value in auth %}
14    <input type="hidden" name="auth[{{key}}]" value="{{value}}"/>
15    {% endfor %}
16
17    <ul>
18     <li>
19      <label>
20       <input type="radio" name="id[mode]" value="anonymous"/> Anonymous
21      </label>
22     </li>
23     <li>
24      <label>
25       <input type="radio" name="id[mode]" value="data"/> With a name
26      </label>
27      <ul>
28       <li>
29        <label for="id-name">Name:</label>
30        <input type="text" name="id[name]" id="id-name"/>
31       </li>
32       <li>
33        <label for="id-email">E-Mail:</label>
34        <input type="email" name="id[email]" id="id-email"/>
35        (used to fetch avatar image. not stored.)
36       </li>      
37      </ul>
38      <p>
39       All values are optional.
40      </p>
41     </li>
42    </ul>
43    <button type="submit">Login</button>
44   </form>
45  </body>
46 </html>