Show More
@@ -1,72 +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 | 21 | <h5>${_('Sign In to')} ${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-button")} |
|
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 | <script type="text/javascript"> | |
|
71 | YUE.onDOMReady(function(){ | |
|
72 | YUD.get('username').focus(); | |
|
73 | }) | |
|
74 | </script> | |
|
70 | 75 | </div> |
|
71 | 76 | <!-- end login --> |
|
72 | 77 | </div> No newline at end of file |
@@ -1,39 +1,44 b'' | |||
|
1 | 1 | ## -*- coding: utf-8 -*- |
|
2 | 2 | <%inherit file="base/root.html"/> |
|
3 | 3 | |
|
4 | 4 | <%def name="title()"> |
|
5 | 5 | ${_('Reset You password')} - ${c.rhodecode_name} |
|
6 | 6 | </%def> |
|
7 | 7 | |
|
8 | 8 | <div id="register"> |
|
9 | 9 | |
|
10 | 10 | <div class="title top-left-rounded-corner top-right-rounded-corner"> |
|
11 | 11 | <h5>${_('Reset You password to')} ${c.rhodecode_name}</h5> |
|
12 | 12 | </div> |
|
13 | 13 | <div class="inner"> |
|
14 | 14 | ${h.form(url('password_reset'))} |
|
15 | 15 | <div class="form"> |
|
16 | 16 | <!-- fields --> |
|
17 | 17 | <div class="fields"> |
|
18 | 18 | |
|
19 | 19 | <div class="field"> |
|
20 | 20 | <div class="label"> |
|
21 | 21 | <label for="email">${_('Email address')}:</label> |
|
22 | 22 | </div> |
|
23 | 23 | <div class="input"> |
|
24 | 24 | ${h.text('email')} |
|
25 | 25 | </div> |
|
26 | 26 | </div> |
|
27 | 27 | |
|
28 | 28 | <div class="buttons"> |
|
29 | 29 | <div class="nohighlight"> |
|
30 | 30 | ${h.submit('send','Reset my password',class_="ui-button")} |
|
31 | 31 | <div class="activation_msg">${_('Your new password will be send to matching email address')}</div> |
|
32 | 32 | </div> |
|
33 | 33 | </div> |
|
34 | 34 | </div> |
|
35 | 35 | </div> |
|
36 | 36 | ${h.end_form()} |
|
37 | <script type="text/javascript"> | |
|
38 | YUE.onDOMReady(function(){ | |
|
39 | YUD.get('email').focus(); | |
|
40 | }) | |
|
41 | </script> | |
|
37 | 42 | </div> |
|
38 | 43 | </div> |
|
39 | 44 |
@@ -1,87 +1,92 b'' | |||
|
1 | 1 | ## -*- coding: utf-8 -*- |
|
2 | 2 | <%inherit file="base/root.html"/> |
|
3 | 3 | |
|
4 | 4 | <%def name="title()"> |
|
5 | 5 | ${_('Sign Up')} - ${c.rhodecode_name} |
|
6 | 6 | </%def> |
|
7 | 7 | |
|
8 | 8 | <div id="register"> |
|
9 | 9 | |
|
10 | 10 | <div class="title top-left-rounded-corner top-right-rounded-corner"> |
|
11 | 11 | <h5>${_('Sign Up to')} ${c.rhodecode_name}</h5> |
|
12 | 12 | </div> |
|
13 | 13 | <div class="inner"> |
|
14 | 14 | ${h.form(url('register'))} |
|
15 | 15 | <div class="form"> |
|
16 | 16 | <!-- fields --> |
|
17 | 17 | <div class="fields"> |
|
18 | 18 | <div class="field"> |
|
19 | 19 | <div class="label"> |
|
20 | 20 | <label for="username">${_('Username')}:</label> |
|
21 | 21 | </div> |
|
22 | 22 | <div class="input"> |
|
23 | 23 | ${h.text('username',class_="medium")} |
|
24 | 24 | </div> |
|
25 | 25 | </div> |
|
26 | 26 | |
|
27 | 27 | <div class="field"> |
|
28 | 28 | <div class="label"> |
|
29 | 29 | <label for="password">${_('Password')}:</label> |
|
30 | 30 | </div> |
|
31 | 31 | <div class="input"> |
|
32 | 32 | ${h.password('password',class_="medium")} |
|
33 | 33 | </div> |
|
34 | 34 | </div> |
|
35 | 35 | |
|
36 | 36 | <div class="field"> |
|
37 | 37 | <div class="label"> |
|
38 | 38 | <label for="password">${_('Re-enter password')}:</label> |
|
39 | 39 | </div> |
|
40 | 40 | <div class="input"> |
|
41 | 41 | ${h.password('password_confirmation',class_="medium")} |
|
42 | 42 | </div> |
|
43 | 43 | </div> |
|
44 | 44 | |
|
45 | 45 | <div class="field"> |
|
46 | 46 | <div class="label"> |
|
47 | 47 | <label for="name">${_('First Name')}:</label> |
|
48 | 48 | </div> |
|
49 | 49 | <div class="input"> |
|
50 | 50 | ${h.text('name',class_="medium")} |
|
51 | 51 | </div> |
|
52 | 52 | </div> |
|
53 | 53 | |
|
54 | 54 | <div class="field"> |
|
55 | 55 | <div class="label"> |
|
56 | 56 | <label for="lastname">${_('Last Name')}:</label> |
|
57 | 57 | </div> |
|
58 | 58 | <div class="input"> |
|
59 | 59 | ${h.text('lastname',class_="medium")} |
|
60 | 60 | </div> |
|
61 | 61 | </div> |
|
62 | 62 | |
|
63 | 63 | <div class="field"> |
|
64 | 64 | <div class="label"> |
|
65 | 65 | <label for="email">${_('Email')}:</label> |
|
66 | 66 | </div> |
|
67 | 67 | <div class="input"> |
|
68 | 68 | ${h.text('email',class_="medium")} |
|
69 | 69 | </div> |
|
70 | 70 | </div> |
|
71 | 71 | |
|
72 | 72 | <div class="buttons"> |
|
73 | 73 | <div class="nohighlight"> |
|
74 | 74 | ${h.submit('sign_up','Sign Up',class_="ui-button")} |
|
75 | 75 | %if c.auto_active: |
|
76 | 76 | <div class="activation_msg">${_('Your account will be activated right after registration')}</div> |
|
77 | 77 | %else: |
|
78 | 78 | <div class="activation_msg">${_('Your account must wait for activation by administrator')}</div> |
|
79 | 79 | %endif |
|
80 | 80 | </div> |
|
81 | 81 | </div> |
|
82 | 82 | </div> |
|
83 | 83 | </div> |
|
84 | 84 | ${h.end_form()} |
|
85 | <script type="text/javascript"> | |
|
86 | YUE.onDOMReady(function(){ | |
|
87 | YUD.get('username').focus(); | |
|
88 | }) | |
|
89 | </script> | |
|
85 | 90 | </div> |
|
86 | 91 | </div> |
|
87 | 92 |
General Comments 0
You need to be logged in to leave comments.
Login now