Mercurial > kallithea
comparison rhodecode/templates/login.html @ 3700:3563bb7b4b82
merge with rc1
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 07 Apr 2013 18:37:22 +0200 |
parents | 63e58ef80ef1 1f334a68d057 |
children | ffd45b185016 |
comparison
equal
deleted
inserted
replaced
3525:0cef54d34605 | 3700:3563bb7b4b82 |
---|---|
1 ## -*- coding: utf-8 -*- | 1 ## -*- coding: utf-8 -*- |
2 <%inherit file="base/root.html"/> | 2 <%inherit file="base/root.html"/> |
3 | 3 |
4 <%def name="title()"> | 4 <%def name="title()"> |
5 ${_('Sign In')} - ${c.rhodecode_name} | 5 ${_('Log In')} · ${c.rhodecode_name} |
6 </%def> | 6 </%def> |
7 | 7 |
8 <div id="login"> | 8 <div id="login"> |
9 <div class="flash_msg"> | 9 <div class="flash_msg"> |
10 <% messages = h.flash.pop_messages() %> | 10 <% messages = h.flash.pop_messages() %> |
16 </ul> | 16 </ul> |
17 % endif | 17 % endif |
18 </div> | 18 </div> |
19 <!-- login --> | 19 <!-- login --> |
20 <div class="title top-left-rounded-corner top-right-rounded-corner"> | 20 <div class="title top-left-rounded-corner top-right-rounded-corner"> |
21 <h5>${_('Sign In to')} ${c.rhodecode_name}</h5> | 21 <h5>${_('Log In to %s') % c.rhodecode_name}</h5> |
22 </div> | 22 </div> |
23 <div class="inner"> | 23 <div class="inner"> |
24 ${h.form(h.url.current(came_from=c.came_from))} | 24 ${h.form(h.url.current(came_from=c.came_from))} |
25 <div class="form"> | 25 <div class="form"> |
26 <!-- fields --> | 26 <!-- fields --> |
29 <div class="field"> | 29 <div class="field"> |
30 <div class="label"> | 30 <div class="label"> |
31 <label for="username">${_('Username')}:</label> | 31 <label for="username">${_('Username')}:</label> |
32 </div> | 32 </div> |
33 <div class="input"> | 33 <div class="input"> |
34 ${h.text('username',class_='focus',size=40)} | 34 ${h.text('username',class_='focus large')} |
35 </div> | 35 </div> |
36 | 36 |
37 </div> | 37 </div> |
38 <div class="field"> | 38 <div class="field"> |
39 <div class="label"> | 39 <div class="label"> |
40 <label for="password">${_('Password')}:</label> | 40 <label for="password">${_('Password')}:</label> |
41 </div> | 41 </div> |
42 <div class="input"> | 42 <div class="input"> |
43 ${h.password('password',class_='focus',size=40)} | 43 ${h.password('password',class_='focus large')} |
44 </div> | 44 </div> |
45 | 45 |
46 </div> | 46 </div> |
47 <div class="field"> | 47 <div class="field"> |
48 <div class="checkbox"> | 48 <div class="checkbox"> |
67 <!-- end links --> | 67 <!-- end links --> |
68 </div> | 68 </div> |
69 ${h.end_form()} | 69 ${h.end_form()} |
70 <script type="text/javascript"> | 70 <script type="text/javascript"> |
71 YUE.onDOMReady(function(){ | 71 YUE.onDOMReady(function(){ |
72 YUD.get('username').focus(); | 72 YUD.get('username').focus(); |
73 }) | 73 }) |
74 </script> | 74 </script> |
75 </div> | 75 </div> |
76 <!-- end login --> | 76 <!-- end login --> |
77 </div> | 77 </div> |