Show More
@@ -0,0 +1,126 b'' | |||
|
1 | ## -*- coding: utf-8 -*- | |
|
2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
|
3 | <html xmlns="http://www.w3.org/1999/xhtml"> | |
|
4 | <head> | |
|
5 | <title>${self.title()}</title> | |
|
6 | <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> | |
|
7 | <meta name="robots" content="index, nofollow"/> | |
|
8 | <link rel="icon" href="${h.url("/images/icons/database_gear.png")}" type="image/png" /> | |
|
9 | ||
|
10 | <!-- stylesheets --> | |
|
11 | ${self.css()} | |
|
12 | ||
|
13 | %if c.ga_code: | |
|
14 | <!-- Analytics --> | |
|
15 | <script type="text/javascript"> | |
|
16 | var _gaq = _gaq || []; | |
|
17 | _gaq.push(['_setAccount', '${c.ga_code}']); | |
|
18 | _gaq.push(['_trackPageview']); | |
|
19 | ||
|
20 | (function() { | |
|
21 | var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; | |
|
22 | ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | |
|
23 | var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); | |
|
24 | })(); | |
|
25 | </script> | |
|
26 | %endif | |
|
27 | ||
|
28 | <!-- scripts --> | |
|
29 | ${self.js()} | |
|
30 | ||
|
31 | </head> | |
|
32 | ||
|
33 | <body id="body"> | |
|
34 | ${next.body()} | |
|
35 | </body> | |
|
36 | ||
|
37 | </html> | |
|
38 | ||
|
39 | <%def name="css()"> | |
|
40 | <link rel="stylesheet" type="text/css" href="${h.url('/css/style.css')}" media="screen" /> | |
|
41 | <link rel="stylesheet" type="text/css" href="${h.url('/css/pygments.css')}" /> | |
|
42 | <link rel="stylesheet" type="text/css" href="${h.url('/css/diff.css')}" /> | |
|
43 | </%def> | |
|
44 | ||
|
45 | <%def name="js()"> | |
|
46 | <script type="text/javascript"> | |
|
47 | if (typeof console == "undefined" || typeof console.log == "undefined") | |
|
48 | console = { log: function() {} } | |
|
49 | </script> | |
|
50 | ||
|
51 | % if False: | |
|
52 | <script type="text/javascript" src="${h.url('/js/yui/utilities/utilities.js')}"></script> | |
|
53 | <script type="text/javascript" src="${h.url('/js/yui/container/container.js')}"></script> | |
|
54 | <script type="text/javascript" src="${h.url('/js/yui/datasource/datasource.js')}"></script> | |
|
55 | <script type="text/javascript" src="${h.url('/js/yui/autocomplete/autocomplete.js')}"></script> | |
|
56 | <script type="text/javascript" src="${h.url('/js/yui/selector/selector-min.js')}"></script> | |
|
57 | % else: | |
|
58 | <script type="text/javascript" src="${h.url('/js/yui2a.js')}"></script> | |
|
59 | <!--[if IE]> | |
|
60 | <script language="javascript" type="text/javascript" src="${h.url('/js/excanvas.min.js')}"></script> | |
|
61 | <![endif]--> | |
|
62 | <script type="text/javascript" src="${h.url('/js/yui.flot.js')}"></script> | |
|
63 | % endif | |
|
64 | ||
|
65 | <script type="text/javascript"> | |
|
66 | var YUC = YAHOO.util.Connect; | |
|
67 | var YUD = YAHOO.util.Dom; | |
|
68 | var YUE = YAHOO.util.Event; | |
|
69 | </script> | |
|
70 | ||
|
71 | <script type="text/javascript"> | |
|
72 | var base_url = "${h.url('toggle_following')}"; | |
|
73 | function onSuccess(target){ | |
|
74 | ||
|
75 | var f = YUD.get(target.id); | |
|
76 | var f_cnt = YUD.get('current_followers_count'); | |
|
77 | ||
|
78 | if(f.getAttribute('class')=='follow'){ | |
|
79 | f.setAttribute('class','following'); | |
|
80 | f.setAttribute('title',"${_('Stop following this repository')}"); | |
|
81 | ||
|
82 | if(f_cnt){ | |
|
83 | var cnt = Number(f_cnt.innerHTML)+1; | |
|
84 | f_cnt.innerHTML = cnt; | |
|
85 | } | |
|
86 | ||
|
87 | } | |
|
88 | else{ | |
|
89 | f.setAttribute('class','follow'); | |
|
90 | f.setAttribute('title',"${_('Start following this repository')}"); | |
|
91 | if(f_cnt){ | |
|
92 | var cnt = Number(f_cnt.innerHTML)+1; | |
|
93 | f_cnt.innerHTML = cnt; | |
|
94 | } | |
|
95 | } | |
|
96 | } | |
|
97 | ||
|
98 | function toggleFollowingUser(target,fallows_user_id,token,user_id){ | |
|
99 | args = 'follows_user_id='+fallows_user_id; | |
|
100 | args+= '&auth_token='+token; | |
|
101 | if(user_id != undefined){ | |
|
102 | args+="&user_id="+user_id; | |
|
103 | } | |
|
104 | YUC.asyncRequest('POST',base_url,{ | |
|
105 | success:function(o){ | |
|
106 | onSuccess(target); | |
|
107 | } | |
|
108 | },args); return false; | |
|
109 | } | |
|
110 | ||
|
111 | function toggleFollowingRepo(target,fallows_repo_id,token,user_id){ | |
|
112 | ||
|
113 | args = 'follows_repo_id='+fallows_repo_id; | |
|
114 | args+= '&auth_token='+token; | |
|
115 | if(user_id != undefined){ | |
|
116 | args+="&user_id="+user_id; | |
|
117 | } | |
|
118 | YUC.asyncRequest('POST',base_url,{ | |
|
119 | success:function(o){ | |
|
120 | onSuccess(target); | |
|
121 | } | |
|
122 | },args); return false; | |
|
123 | } | |
|
124 | </script> | |
|
125 | ||
|
126 | </%def> No newline at end of file |
@@ -1,119 +1,105 b'' | |||
|
1 | 1 | ## -*- coding: utf-8 -*- |
|
2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
|
3 | <html xmlns="http://www.w3.org/1999/xhtml"> | |
|
4 | <head> | |
|
5 | <title>${next.title()}</title> | |
|
6 | <link rel="icon" href="${h.url('/images/icons/database_gear.png')}" type="image/png" /> | |
|
7 | <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> | |
|
8 | <meta name="robots" content="index, nofollow"/> | |
|
9 | <!-- stylesheets --> | |
|
10 | ${self.css()} | |
|
11 | <!-- scripts --> | |
|
12 | ${self.js()} | |
|
13 | %if c.ga_code: | |
|
14 | <script type="text/javascript"> | |
|
15 | var _gaq = _gaq || []; | |
|
16 | _gaq.push(['_setAccount', '${c.ga_code}']); | |
|
17 | _gaq.push(['_trackPageview']); | |
|
18 | ||
|
19 | (function() { | |
|
20 | var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; | |
|
21 | ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | |
|
22 | var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); | |
|
23 | })(); | |
|
24 | </script> | |
|
25 | %endif | |
|
26 | </head> | |
|
27 | <body> | |
|
28 | <!-- header --> | |
|
29 | <div id="header"> | |
|
30 | <!-- user --> | |
|
31 | <ul id="logged-user"> | |
|
32 | <li class="first"> | |
|
33 | <div class="gravatar"> | |
|
34 | <img alt="gravatar" src="${h.gravatar_url(c.rhodecode_user.email,20)}" /> | |
|
35 | </div> | |
|
36 | <div class="account"> | |
|
37 | %if c.rhodecode_user.username == 'default': | |
|
38 | <a href="${h.url('public_journal')}">${_('Public journal')}</a> | |
|
39 | %else: | |
|
40 | ${h.link_to(c.rhodecode_user.username,h.url('admin_settings_my_account'),title='%s %s'%(c.rhodecode_user.name,c.rhodecode_user.lastname))} | |
|
41 | %endif | |
|
42 | </div> | |
|
43 | </li> | |
|
44 | <li> | |
|
45 | <a href="${h.url('home')}">${_('Home')}</a> | |
|
46 | </li> | |
|
47 | %if c.rhodecode_user.username != 'default': | |
|
48 | <li> | |
|
49 | <a href="${h.url('journal')}">${_('Journal')}</a> | |
|
50 | ##(${c.unread_journal})</a> | |
|
51 | </li> | |
|
52 | %endif | |
|
53 | %if c.rhodecode_user.username == 'default': | |
|
54 | <li class="last highlight">${h.link_to(u'Login',h.url('login_home'))}</li> | |
|
55 | %else: | |
|
56 | <li class="last highlight">${h.link_to(u'Log Out',h.url('logout_home'))}</li> | |
|
57 | %endif | |
|
2 | <%inherit file="root.html"/> | |
|
3 | ||
|
4 | <!-- HEADER --> | |
|
5 | <div id="header"> | |
|
6 | <!-- user --> | |
|
7 | <ul id="logged-user"> | |
|
8 | <li class="first"> | |
|
9 | <div class="gravatar"> | |
|
10 | <img alt="gravatar" src="${h.gravatar_url(c.rhodecode_user.email,20)}" /> | |
|
11 | </div> | |
|
12 | <div class="account"> | |
|
13 | %if c.rhodecode_user.username == 'default': | |
|
14 | <a href="${h.url('public_journal')}">${_('Public journal')}</a> | |
|
15 | %else: | |
|
16 | ${h.link_to(c.rhodecode_user.username,h.url('admin_settings_my_account'),title='%s %s'%(c.rhodecode_user.name,c.rhodecode_user.lastname))} | |
|
17 | %endif | |
|
18 | </div> | |
|
19 | </li> | |
|
20 | <li> | |
|
21 | <a href="${h.url('home')}">${_('Home')}</a> | |
|
22 | </li> | |
|
23 | %if c.rhodecode_user.username != 'default': | |
|
24 | <li> | |
|
25 | <a href="${h.url('journal')}">${_('Journal')}</a> | |
|
26 | ##(${c.unread_journal} | |
|
27 | </li> | |
|
28 | %endif | |
|
29 | %if c.rhodecode_user.username == 'default': | |
|
30 | <li class="last highlight">${h.link_to(u'Login',h.url('login_home'))}</li> | |
|
31 | %else: | |
|
32 | <li class="last highlight">${h.link_to(u'Log Out',h.url('logout_home'))}</li> | |
|
33 | %endif | |
|
34 | </ul> | |
|
35 | <!-- end user --> | |
|
36 | <div id="header-inner" class="title top-left-rounded-corner top-right-rounded-corner"> | |
|
37 | <div id="logo"> | |
|
38 | <h1><a href="${h.url('home')}">${c.rhodecode_name}</a></h1> | |
|
39 | </div> | |
|
40 | <!-- MENU --> | |
|
41 | ${self.page_nav()} | |
|
42 | <!-- END MENU --> | |
|
43 | ${self.body()} | |
|
44 | </div> | |
|
45 | </div> | |
|
46 | <!-- END HEADER --> | |
|
47 | ||
|
48 | <!-- CONTENT --> | |
|
49 | <div id="content"> | |
|
50 | <div class="flash_msg"> | |
|
51 | <% messages = h.flash.pop_messages() %> | |
|
52 | % if messages: | |
|
53 | <ul id="flash-messages"> | |
|
54 | % for message in messages: | |
|
55 | <li class="${message.category}_msg">${message}</li> | |
|
56 | % endfor | |
|
58 | 57 | </ul> |
|
59 |
|
|
|
60 | <div id="header-inner" class="title top-left-rounded-corner top-right-rounded-corner"> | |
|
61 | <!-- logo --> | |
|
62 | <div id="logo"> | |
|
63 | <h1><a href="${h.url('home')}">${c.rhodecode_name}</a></h1> | |
|
64 | </div> | |
|
65 | <!-- end logo --> | |
|
66 | <!-- menu --> | |
|
67 | ${self.page_nav()} | |
|
68 | <!-- quick --> | |
|
69 | </div> | |
|
70 | </div> | |
|
71 | <!-- end header --> | |
|
72 | ||
|
73 | <!-- CONTENT --> | |
|
74 | <div id="content"> | |
|
75 | <div class="flash_msg"> | |
|
76 | <% messages = h.flash.pop_messages() %> | |
|
77 | % if messages: | |
|
78 | <ul id="flash-messages"> | |
|
79 | % for message in messages: | |
|
80 | <li class="${message.category}_msg">${message}</li> | |
|
81 | % endfor | |
|
82 | </ul> | |
|
83 | % endif | |
|
84 | </div> | |
|
85 | <div id="main"> | |
|
86 | ${next.main()} | |
|
87 | </div> | |
|
88 | </div> | |
|
89 | <!-- END CONTENT --> | |
|
58 | % endif | |
|
59 | </div> | |
|
60 | <div id="main"> | |
|
61 | ${next.main()} | |
|
62 | </div> | |
|
63 | </div> | |
|
64 | <!-- END CONTENT --> | |
|
90 | 65 | |
|
91 | <!-- footer --> | |
|
92 |
|
|
|
93 |
|
|
|
94 |
|
|
|
95 | <p class="footer-link">${h.link_to(_('Submit a bug'),h.url('bugtracker'))}</p> | |
|
96 | <p class="footer-link">${h.link_to(_('GPL license'),h.url('gpl_license'))}</p> | |
|
97 | <p class="footer-link-right"><a href="${h.url('rhodecode_official')}">RhodeCode</a> ${c.rhodecode_version} © 2010-2011 by Marcin Kuzminski</p> | |
|
98 | </div> | |
|
99 | </div> | |
|
100 | <script type="text/javascript"> | |
|
101 | function tooltip_activate(){ | |
|
102 | ${h.tooltip.activate()} | |
|
103 | } | |
|
104 | tooltip_activate(); | |
|
105 |
|
|
|
106 |
|
|
|
107 | <!-- end footer --> | |
|
108 | </body> | |
|
66 | <!-- FOOTER --> | |
|
67 | <div id="footer"> | |
|
68 | <div id="footer-inner" class="title bottom-left-rounded-corner bottom-right-rounded-corner"> | |
|
69 | <div> | |
|
70 | <p class="footer-link"> | |
|
71 | <a href="${h.url('bugtracker')}">${_('Submit a bug')}</a> | |
|
72 | </p> | |
|
73 | <p class="footer-link"> | |
|
74 | <a href="${h.url('gpl_license')}">${_('GPL license')}</a> | |
|
75 | </p> | |
|
76 | <p class="footer-link-right"> | |
|
77 | <a href="${h.url('rhodecode_official')}">RhodeCode</a> | |
|
78 | ${c.rhodecode_version} © 2010-${h.datetime.today().year} by Marcin Kuzminski | |
|
79 | </p> | |
|
80 | </div> | |
|
81 | </div> | |
|
82 | <script type="text/javascript"> | |
|
83 | function tooltip_activate(){ | |
|
84 | ${h.tooltip.activate()} | |
|
85 | } | |
|
86 | tooltip_activate(); | |
|
87 | </script> | |
|
88 | </div> | |
|
89 | <!-- END FOOTER --> | |
|
109 | 90 | |
|
110 | </html> | |
|
91 | ### MAKO DEFS ### | |
|
92 | <%def name="page_nav()"> | |
|
93 | ${self.menu()} | |
|
94 | </%def> | |
|
111 | 95 | |
|
112 | ### MAKO DEFS ### | |
|
113 | <%def name="page_nav()"> | |
|
114 | ${self.menu()} | |
|
96 | <%def name="breadcrumbs()"> | |
|
97 | <div class="breadcrumbs"> | |
|
98 | ${self.breadcrumbs_links()} | |
|
99 | </div> | |
|
115 | 100 | </%def> |
|
116 | 101 | |
|
102 | ||
|
117 | 103 | <%def name="menu(current=None)"> |
|
118 | 104 | <% |
|
119 | 105 | def is_current(selected): |
@@ -314,89 +300,4 b'' | |||
|
314 | 300 | %endif |
|
315 | 301 | </ul> |
|
316 | 302 | %endif |
|
317 | </%def> | |
|
318 | ||
|
319 | ||
|
320 | <%def name="css()"> | |
|
321 | <link rel="stylesheet" type="text/css" href="${h.url('/css/style.css')}" media="screen" /> | |
|
322 | <link rel="stylesheet" type="text/css" href="${h.url('/css/pygments.css')}" /> | |
|
323 | <link rel="stylesheet" type="text/css" href="${h.url('/css/diff.css')}" /> | |
|
324 | </%def> | |
|
325 | ||
|
326 | <%def name="js()"> | |
|
327 | ##<script type="text/javascript" src="${h.url('/js/yui/utilities/utilities.js')}"></script> | |
|
328 | ##<script type="text/javascript" src="${h.url('/js/yui/container/container.js')}"></script> | |
|
329 | ##<script type="text/javascript" src="${h.url('/js/yui/datasource/datasource.js')}"></script> | |
|
330 | ##<script type="text/javascript" src="${h.url('/js/yui/autocomplete/autocomplete.js')}"></script> | |
|
331 | ##<script type="text/javascript" src="${h.url('/js/yui/selector/selector-min.js')}"></script> | |
|
332 | ||
|
333 | <script type="text/javascript" src="${h.url('/js/yui2a.js')}"></script> | |
|
334 | <!--[if IE]><script language="javascript" type="text/javascript" src="${h.url('/js/excanvas.min.js')}"></script><![endif]--> | |
|
335 | <script type="text/javascript" src="${h.url('/js/yui.flot.js')}"></script> | |
|
336 | ||
|
337 | <script type="text/javascript"> | |
|
338 | var base_url = "${h.url('toggle_following')}"; | |
|
339 | var YUC = YAHOO.util.Connect; | |
|
340 | var YUD = YAHOO.util.Dom; | |
|
341 | var YUE = YAHOO.util.Event; | |
|
342 | ||
|
343 | function onSuccess(target){ | |
|
344 | ||
|
345 | var f = YUD.get(target.id); | |
|
346 | var f_cnt = YUD.get('current_followers_count'); | |
|
347 | ||
|
348 | if(f.getAttribute('class')=='follow'){ | |
|
349 | f.setAttribute('class','following'); | |
|
350 | f.setAttribute('title',"${_('Stop following this repository')}"); | |
|
351 | ||
|
352 | if(f_cnt){ | |
|
353 | var cnt = Number(f_cnt.innerHTML)+1; | |
|
354 | f_cnt.innerHTML = cnt; | |
|
355 | } | |
|
356 | ||
|
357 | } | |
|
358 | else{ | |
|
359 | f.setAttribute('class','follow'); | |
|
360 | f.setAttribute('title',"${_('Start following this repository')}"); | |
|
361 | if(f_cnt){ | |
|
362 | var cnt = Number(f_cnt.innerHTML)+1; | |
|
363 | f_cnt.innerHTML = cnt; | |
|
364 | } | |
|
365 | } | |
|
366 | } | |
|
367 | ||
|
368 | function toggleFollowingUser(target,fallows_user_id,token,user_id){ | |
|
369 | args = 'follows_user_id='+fallows_user_id; | |
|
370 | args+= '&auth_token='+token; | |
|
371 | if(user_id != undefined){ | |
|
372 | args+="&user_id="+user_id; | |
|
373 | } | |
|
374 | YUC.asyncRequest('POST',base_url,{ | |
|
375 | success:function(o){ | |
|
376 | onSuccess(target); | |
|
377 | } | |
|
378 | },args); return false; | |
|
379 | } | |
|
380 | ||
|
381 | function toggleFollowingRepo(target,fallows_repo_id,token,user_id){ | |
|
382 | ||
|
383 | args = 'follows_repo_id='+fallows_repo_id; | |
|
384 | args+= '&auth_token='+token; | |
|
385 | if(user_id != undefined){ | |
|
386 | args+="&user_id="+user_id; | |
|
387 | } | |
|
388 | YUC.asyncRequest('POST',base_url,{ | |
|
389 | success:function(o){ | |
|
390 | onSuccess(target); | |
|
391 | } | |
|
392 | },args); return false; | |
|
393 | } | |
|
394 | </script> | |
|
395 | ||
|
396 | </%def> | |
|
397 | ||
|
398 | <%def name="breadcrumbs()"> | |
|
399 | <div class="breadcrumbs"> | |
|
400 | ${self.breadcrumbs_links()} | |
|
401 | </div> | |
|
402 | 303 | </%def> No newline at end of file |
@@ -1,82 +1,72 b'' | |||
|
1 | 1 | ## -*- coding: utf-8 -*- |
|
2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
|
3 | <html xmlns="http://www.w3.org/1999/xhtml"> | |
|
4 | <head> | |
|
5 |
|
|
|
6 | <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> | |
|
7 | <link rel="icon" href="${h.url("/images/icons/database_gear.png")}" type="image/png" /> | |
|
8 | <meta name="robots" content="index, nofollow"/> | |
|
9 | ||
|
10 | <!-- stylesheets --> | |
|
11 | <link rel="stylesheet" type="text/css" href="${h.url('/css/style.css')}" media="screen" /> | |
|
2 | <%inherit file="base/root.html"/> | |
|
3 | ||
|
4 | <%def name="title()"> | |
|
5 | ${_('Sign In')} - ${c.rhodecode_name} | |
|
6 | </%def> | |
|
12 | 7 | |
|
13 | </head> | |
|
14 | <body> | |
|
15 | <div id="login"> | |
|
16 | <div class="flash_msg"> | |
|
17 | <% messages = h.flash.pop_messages() %> | |
|
18 |
|
|
|
19 | <ul id="flash-messages"> | |
|
20 | % for message in messages: | |
|
21 | <li class="${message.category}_msg">${message}</li> | |
|
22 | % endfor | |
|
23 |
|
|
|
24 | % endif | |
|
25 | </div> | |
|
26 | <!-- login --> | |
|
27 | <div class="title top-left-rounded-corner top-right-rounded-corner"> | |
|
28 | <h5>${_('Sign In to')} ${c.rhodecode_name}</h5> | |
|
29 | </div> | |
|
30 |
|
|
|
31 | ${h.form(h.url.current(came_from=c.came_from))} | |
|
32 | <div class="form"> | |
|
33 | <!-- fields --> | |
|
8 | <div id="login"> | |
|
9 | <div class="flash_msg"> | |
|
10 | <% messages = h.flash.pop_messages() %> | |
|
11 | % if messages: | |
|
12 | <ul id="flash-messages"> | |
|
13 | % for message in messages: | |
|
14 | <li class="${message.category}_msg">${message}</li> | |
|
15 | % endfor | |
|
16 | </ul> | |
|
17 | % endif | |
|
18 | </div> | |
|
19 | <!-- login --> | |
|
20 | <div class="title top-left-rounded-corner top-right-rounded-corner"> | |
|
21 | <h5>${_('Sign In to')} ${c.rhodecode_name}</h5> | |
|
22 | </div> | |
|
23 | <div class="inner"> | |
|
24 | ${h.form(h.url.current(came_from=c.came_from))} | |
|
25 | <div class="form"> | |
|
26 | <!-- fields --> | |
|
34 | 27 | |
|
35 |
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
|
|
|
39 |
|
|
|
40 |
|
|
|
41 |
|
|
|
42 |
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 | </div> | |
|
52 | ||
|
53 | </div> | |
|
54 | ##<div class="field"> | |
|
55 | ## <div class="checkbox"> | |
|
56 | ## <input type="checkbox" id="remember" name="remember" /> | |
|
57 | ## <label for="remember">Remember me</label> | |
|
58 | ## </div> | |
|
59 | ##</div> | |
|
60 | <div class="buttons"> | |
|
61 | ${h.submit('sign_in','Sign In',class_="ui-button")} | |
|
62 | </div> | |
|
28 | <div class="fields"> | |
|
29 | <div class="field"> | |
|
30 | <div class="label"> | |
|
31 | <label for="username">${_('Username')}:</label> | |
|
32 | </div> | |
|
33 | <div class="input"> | |
|
34 | ${h.text('username',class_='focus',size=40)} | |
|
35 | </div> | |
|
36 | ||
|
37 | </div> | |
|
38 | <div class="field"> | |
|
39 | <div class="label"> | |
|
40 | <label for="password">${_('Password')}:</label> | |
|
41 | </div> | |
|
42 | <div class="input"> | |
|
43 | ${h.password('password',class_='focus',size=40)} | |
|
63 | 44 | </div> |
|
64 |
|
|
|
65 |
|
|
|
66 |
|
|
|
67 | ${h.link_to(_('Forgot your password ?'),h.url('reset_password'))} | |
|
68 | %if h.HasPermissionAny('hg.admin', 'hg.register.auto_activate', 'hg.register.manual_activate')(): | |
|
69 | / | |
|
70 | ${h.link_to(_("Don't have an account ?"),h.url('register'))} | |
|
71 |
|
|
|
72 |
|
|
|
45 | ||
|
46 | </div> | |
|
47 | ##<div class="field"> | |
|
48 | ## <div class="checkbox"> | |
|
49 | ## <input type="checkbox" id="remember" name="remember" /> | |
|
50 | ## <label for="remember">Remember me</label> | |
|
51 | ## </div> | |
|
52 | ##</div> | |
|
53 | <div class="buttons"> | |
|
54 | ${h.submit('sign_in','Sign In',class_="ui-button")} | |
|
55 | </div> | |
|
56 | </div> | |
|
57 | <!-- end fields --> | |
|
58 | <!-- links --> | |
|
59 | <div class="links"> | |
|
60 | ${h.link_to(_('Forgot your password ?'),h.url('reset_password'))} | |
|
61 | %if h.HasPermissionAny('hg.admin', 'hg.register.auto_activate', 'hg.register.manual_activate')(): | |
|
62 | / | |
|
63 | ${h.link_to(_("Don't have an account ?"),h.url('register'))} | |
|
64 | %endif | |
|
65 | </div> | |
|
73 | 66 | |
|
74 |
|
|
|
75 | </div> | |
|
76 | ${h.end_form()} | |
|
77 | </div> | |
|
78 | <!-- end login --> | |
|
67 | <!-- end links --> | |
|
79 | 68 | </div> |
|
80 | </body> | |
|
81 | </html> | |
|
82 | ||
|
69 | ${h.end_form()} | |
|
70 | </div> | |
|
71 | <!-- end login --> | |
|
72 | </div> No newline at end of file |
@@ -1,48 +1,39 b'' | |||
|
1 | 1 | ## -*- coding: utf-8 -*- |
|
2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
|
3 | <html xmlns="http://www.w3.org/1999/xhtml"> | |
|
4 | <head> | |
|
5 |
|
|
|
6 | <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> | |
|
7 | <link rel="icon" href="${h.url("/images/hgicon.png")}" type="image/png" /> | |
|
8 | <meta name="robots" content="index, nofollow"/> | |
|
9 | ||
|
10 | <!-- stylesheets --> | |
|
11 | <link rel="stylesheet" type="text/css" href="${h.url('/css/style.css')}" media="screen" /> | |
|
2 | <%inherit file="base/root.html"/> | |
|
3 | ||
|
4 | <%def name="title()"> | |
|
5 | ${_('Reset You password')} - ${c.rhodecode_name} | |
|
6 | </%def> | |
|
12 | 7 | |
|
13 | </head> | |
|
14 | <body> | |
|
15 | <div id="register"> | |
|
16 | ||
|
17 | <div class="title top-left-rounded-corner top-right-rounded-corner"> | |
|
18 | <h5>${_('Reset You password to')} ${c.rhodecode_name}</h5> | |
|
19 | </div> | |
|
20 |
|
|
|
21 | ${h.form(url('password_reset'))} | |
|
22 |
|
|
|
23 | <!-- fields --> | |
|
24 |
|
|
|
25 | ||
|
26 | <div class="field"> | |
|
27 |
|
|
|
28 | <label for="email">${_('Email address')}:</label> | |
|
29 | </div> | |
|
30 |
|
|
|
31 | ${h.text('email')} | |
|
32 |
|
|
|
33 |
|
|
|
34 | ||
|
35 | <div class="buttons"> | |
|
36 | <div class="nohighlight"> | |
|
37 | ${h.submit('send','Reset my password',class_="ui-button")} | |
|
38 | <div class="activation_msg">${_('Your new password will be send to matching email address')}</div> | |
|
39 |
|
|
|
40 | </div> | |
|
41 | </div> | |
|
42 | </div> | |
|
43 | ${h.end_form()} | |
|
44 | </div> | |
|
8 | <div id="register"> | |
|
9 | ||
|
10 | <div class="title top-left-rounded-corner top-right-rounded-corner"> | |
|
11 | <h5>${_('Reset You password to')} ${c.rhodecode_name}</h5> | |
|
12 | </div> | |
|
13 | <div class="inner"> | |
|
14 | ${h.form(url('password_reset'))} | |
|
15 | <div class="form"> | |
|
16 | <!-- fields --> | |
|
17 | <div class="fields"> | |
|
18 | ||
|
19 | <div class="field"> | |
|
20 | <div class="label"> | |
|
21 | <label for="email">${_('Email address')}:</label> | |
|
22 | </div> | |
|
23 | <div class="input"> | |
|
24 | ${h.text('email')} | |
|
25 | </div> | |
|
26 | </div> | |
|
27 | ||
|
28 | <div class="buttons"> | |
|
29 | <div class="nohighlight"> | |
|
30 | ${h.submit('send','Reset my password',class_="ui-button")} | |
|
31 | <div class="activation_msg">${_('Your new password will be send to matching email address')}</div> | |
|
32 | </div> | |
|
33 | </div> | |
|
34 | </div> | |
|
45 | 35 | </div> |
|
46 | </body> | |
|
47 | </html> | |
|
36 | ${h.end_form()} | |
|
37 | </div> | |
|
38 | </div> | |
|
48 | 39 |
@@ -1,96 +1,87 b'' | |||
|
1 | 1 | ## -*- coding: utf-8 -*- |
|
2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
|
3 | <html xmlns="http://www.w3.org/1999/xhtml"> | |
|
4 | <head> | |
|
5 | <title>${_('Sign Up')} - ${c.rhodecode_name}</title> | |
|
6 | <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> | |
|
7 | <link rel="icon" href="${h.url("/images/hgicon.png")}" type="image/png" /> | |
|
8 | <meta name="robots" content="index, nofollow"/> | |
|
9 | ||
|
10 | <!-- stylesheets --> | |
|
11 | <link rel="stylesheet" type="text/css" href="${h.url('/css/style.css')}" media="screen" /> | |
|
2 | <%inherit file="base/root.html"/> | |
|
12 | 3 | |
|
13 | </head> | |
|
14 | <body> | |
|
15 | <div id="register"> | |
|
16 | ||
|
17 | <div class="title top-left-rounded-corner top-right-rounded-corner"> | |
|
18 | <h5>${_('Sign Up to')} ${c.rhodecode_name}</h5> | |
|
19 | </div> | |
|
20 | <div class="inner"> | |
|
21 | ${h.form(url('register'))} | |
|
22 |
|
|
|
23 | <!-- fields --> | |
|
24 |
|
|
|
25 | <div class="field"> | |
|
26 |
|
|
|
27 | <label for="username">${_('Username')}:</label> | |
|
28 |
|
|
|
29 | <div class="input"> | |
|
30 | ${h.text('username',class_="medium")} | |
|
31 |
|
|
|
32 | </div> | |
|
33 |
|
|
|
34 |
|
|
|
35 | <div class="label"> | |
|
36 | <label for="password">${_('Password')}:</label> | |
|
37 |
|
|
|
38 | <div class="input"> | |
|
39 | ${h.password('password',class_="medium")} | |
|
40 |
|
|
|
41 | </div> | |
|
42 |
|
|
|
43 | <div class="field"> | |
|
44 |
|
|
|
45 | <label for="password">${_('Re-enter password')}:</label> | |
|
46 |
|
|
|
47 | <div class="input"> | |
|
48 | ${h.password('password_confirmation',class_="medium")} | |
|
49 |
|
|
|
50 | </div> | |
|
51 |
|
|
|
52 | <div class="field"> | |
|
53 | <div class="label"> | |
|
54 | <label for="name">${_('First Name')}:</label> | |
|
55 |
|
|
|
56 | <div class="input"> | |
|
57 | ${h.text('name',class_="medium")} | |
|
58 |
|
|
|
59 | </div> | |
|
60 |
|
|
|
61 |
|
|
|
62 | <div class="label"> | |
|
63 | <label for="lastname">${_('Last Name')}:</label> | |
|
64 |
|
|
|
65 | <div class="input"> | |
|
66 | ${h.text('lastname',class_="medium")} | |
|
67 |
|
|
|
68 | </div> | |
|
69 |
|
|
|
70 |
|
|
|
71 | <div class="label"> | |
|
72 | <label for="email">${_('Email')}:</label> | |
|
73 |
|
|
|
74 | <div class="input"> | |
|
75 | ${h.text('email',class_="medium")} | |
|
76 |
|
|
|
77 | </div> | |
|
78 |
|
|
|
79 |
|
|
|
80 | <div class="nohighlight"> | |
|
81 | ${h.submit('sign_up','Sign Up',class_="ui-button")} | |
|
82 | %if c.auto_active: | |
|
83 | <div class="activation_msg">${_('Your account will be activated right after registration')}</div> | |
|
84 | %else: | |
|
85 |
|
|
|
86 |
|
|
|
87 | </div> | |
|
88 | </div> | |
|
89 |
|
|
|
90 | </div> | |
|
91 | ${h.end_form()} | |
|
92 | </div> | |
|
4 | <%def name="title()"> | |
|
5 | ${_('Sign Up')} - ${c.rhodecode_name} | |
|
6 | </%def> | |
|
7 | ||
|
8 | <div id="register"> | |
|
9 | ||
|
10 | <div class="title top-left-rounded-corner top-right-rounded-corner"> | |
|
11 | <h5>${_('Sign Up to')} ${c.rhodecode_name}</h5> | |
|
12 | </div> | |
|
13 | <div class="inner"> | |
|
14 | ${h.form(url('register'))} | |
|
15 | <div class="form"> | |
|
16 | <!-- fields --> | |
|
17 | <div class="fields"> | |
|
18 | <div class="field"> | |
|
19 | <div class="label"> | |
|
20 | <label for="username">${_('Username')}:</label> | |
|
21 | </div> | |
|
22 | <div class="input"> | |
|
23 | ${h.text('username',class_="medium")} | |
|
24 | </div> | |
|
25 | </div> | |
|
26 | ||
|
27 | <div class="field"> | |
|
28 | <div class="label"> | |
|
29 | <label for="password">${_('Password')}:</label> | |
|
30 | </div> | |
|
31 | <div class="input"> | |
|
32 | ${h.password('password',class_="medium")} | |
|
33 | </div> | |
|
34 | </div> | |
|
35 | ||
|
36 | <div class="field"> | |
|
37 | <div class="label"> | |
|
38 | <label for="password">${_('Re-enter password')}:</label> | |
|
39 | </div> | |
|
40 | <div class="input"> | |
|
41 | ${h.password('password_confirmation',class_="medium")} | |
|
42 | </div> | |
|
43 | </div> | |
|
44 | ||
|
45 | <div class="field"> | |
|
46 | <div class="label"> | |
|
47 | <label for="name">${_('First Name')}:</label> | |
|
48 | </div> | |
|
49 | <div class="input"> | |
|
50 | ${h.text('name',class_="medium")} | |
|
51 | </div> | |
|
52 | </div> | |
|
53 | ||
|
54 | <div class="field"> | |
|
55 | <div class="label"> | |
|
56 | <label for="lastname">${_('Last Name')}:</label> | |
|
57 | </div> | |
|
58 | <div class="input"> | |
|
59 | ${h.text('lastname',class_="medium")} | |
|
60 | </div> | |
|
61 | </div> | |
|
62 | ||
|
63 | <div class="field"> | |
|
64 | <div class="label"> | |
|
65 | <label for="email">${_('Email')}:</label> | |
|
66 | </div> | |
|
67 | <div class="input"> | |
|
68 | ${h.text('email',class_="medium")} | |
|
69 | </div> | |
|
70 | </div> | |
|
71 | ||
|
72 | <div class="buttons"> | |
|
73 | <div class="nohighlight"> | |
|
74 | ${h.submit('sign_up','Sign Up',class_="ui-button")} | |
|
75 | %if c.auto_active: | |
|
76 | <div class="activation_msg">${_('Your account will be activated right after registration')}</div> | |
|
77 | %else: | |
|
78 | <div class="activation_msg">${_('Your account must wait for activation by administrator')}</div> | |
|
79 | %endif | |
|
80 | </div> | |
|
81 | </div> | |
|
82 | </div> | |
|
93 | 83 | </div> |
|
94 | </body> | |
|
95 | </html> | |
|
84 | ${h.end_form()} | |
|
85 | </div> | |
|
86 | </div> | |
|
96 | 87 |
General Comments 0
You need to be logged in to leave comments.
Login now