Show More
@@ -1,77 +1,77 b'' | |||
|
1 | 1 | ## -*- coding: utf-8 -*- |
|
2 | 2 | <%inherit file="base/root.html"/> |
|
3 | 3 | |
|
4 | 4 | <%def name="title()"> |
|
5 | 5 | ${_('Sign In')} - ${c.rhodecode_name} |
|
6 | 6 | </%def> |
|
7 | 7 | |
|
8 | 8 | <div id="login"> |
|
9 | 9 | <div class="flash_msg"> |
|
10 | 10 | <% messages = h.flash.pop_messages() %> |
|
11 | 11 | % if messages: |
|
12 | 12 | <ul id="flash-messages"> |
|
13 | 13 | % for message in messages: |
|
14 | 14 | <li class="${message.category}_msg">${message}</li> |
|
15 | 15 | % endfor |
|
16 | 16 | </ul> |
|
17 | 17 | % endif |
|
18 | 18 | </div> |
|
19 | 19 | <!-- login --> |
|
20 | 20 | <div class="title top-left-rounded-corner top-right-rounded-corner"> |
|
21 |
<h5>${_('Sign In to |
|
|
21 | <h5>${_('Sign In to %s') % c.rhodecode_name}</h5> | |
|
22 | 22 | </div> |
|
23 | 23 | <div class="inner"> |
|
24 | 24 | ${h.form(h.url.current(came_from=c.came_from))} |
|
25 | 25 | <div class="form"> |
|
26 | 26 | <!-- fields --> |
|
27 | 27 | |
|
28 | 28 | <div class="fields"> |
|
29 | 29 | <div class="field"> |
|
30 | 30 | <div class="label"> |
|
31 | 31 | <label for="username">${_('Username')}:</label> |
|
32 | 32 | </div> |
|
33 | 33 | <div class="input"> |
|
34 | 34 | ${h.text('username',class_='focus',size=40)} |
|
35 | 35 | </div> |
|
36 | 36 | |
|
37 | 37 | </div> |
|
38 | 38 | <div class="field"> |
|
39 | 39 | <div class="label"> |
|
40 | 40 | <label for="password">${_('Password')}:</label> |
|
41 | 41 | </div> |
|
42 | 42 | <div class="input"> |
|
43 | 43 | ${h.password('password',class_='focus',size=40)} |
|
44 | 44 | </div> |
|
45 | 45 | |
|
46 | 46 | </div> |
|
47 | 47 | <div class="field"> |
|
48 | 48 | <div class="checkbox"> |
|
49 | 49 | <input type="checkbox" id="remember" name="remember" /> |
|
50 | 50 | <label for="remember">${_('Remember me')}</label> |
|
51 | 51 | </div> |
|
52 | 52 | </div> |
|
53 | 53 | <div class="buttons"> |
|
54 | 54 | ${h.submit('sign_in',_('Sign In'),class_="ui-btn large")} |
|
55 | 55 | </div> |
|
56 | 56 | </div> |
|
57 | 57 | <!-- end fields --> |
|
58 | 58 | <!-- links --> |
|
59 | 59 | <div class="links"> |
|
60 | 60 | ${h.link_to(_('Forgot your password ?'),h.url('reset_password'))} |
|
61 | 61 | %if h.HasPermissionAny('hg.admin', 'hg.register.auto_activate', 'hg.register.manual_activate')(): |
|
62 | 62 | / |
|
63 | 63 | ${h.link_to(_("Don't have an account ?"),h.url('register'))} |
|
64 | 64 | %endif |
|
65 | 65 | </div> |
|
66 | 66 | |
|
67 | 67 | <!-- end links --> |
|
68 | 68 | </div> |
|
69 | 69 | ${h.end_form()} |
|
70 | 70 | <script type="text/javascript"> |
|
71 | 71 | YUE.onDOMReady(function(){ |
|
72 | 72 | YUD.get('username').focus(); |
|
73 | 73 | }) |
|
74 | 74 | </script> |
|
75 | 75 | </div> |
|
76 | 76 | <!-- end login --> |
|
77 | 77 | </div> |
General Comments 0
You need to be logged in to leave comments.
Login now