Show More
@@ -25,6 +25,9 b' a {' | |||||
25 |
|
25 | |||
26 |
|
26 | |||
27 | /** common settings **/ |
|
27 | /** common settings **/ | |
|
28 | div#main{ | |||
|
29 | padding:5px; | |||
|
30 | } | |||
28 | div#container { |
|
31 | div#container { | |
29 | background: #FFFFFF; |
|
32 | background: #FFFFFF; | |
30 | position: relative; |
|
33 | position: relative; | |
@@ -526,4 +529,9 b' table.code-browser tbody td {' | |||||
526 | padding-left:20px; |
|
529 | padding-left:20px; | |
527 | padding-top:5px; |
|
530 | padding-top:5px; | |
528 | text-align:left; |
|
531 | text-align:left; | |
|
532 | } | |||
|
533 | ||||
|
534 | .current_submenu{ | |||
|
535 | border-bottom: 2px solid; | |||
|
536 | ||||
529 | } No newline at end of file |
|
537 | } |
@@ -17,22 +17,22 b'' | |||||
17 | </tr> |
|
17 | </tr> | |
18 | %endfor |
|
18 | %endfor | |
19 |
|
19 | |||
20 | <tr> |
|
20 | </table> | |
21 | <script type="text/javascript"> |
|
21 | <div> | |
22 | var data_div = 'user_log'; |
|
22 | <script type="text/javascript"> | |
23 | YAHOO.util.Event.onDOMReady(function(){ |
|
23 | var data_div = 'user_log'; | |
24 | YAHOO.util.Event.addListener(YAHOO.util.Dom.getElementsByClassName('pager_link'),"click",function(){ |
|
24 | YAHOO.util.Event.onDOMReady(function(){ | |
25 | YAHOO.util.Dom.setStyle('shortlog_data','opacity','0.3');});}); |
|
25 | YAHOO.util.Event.addListener(YAHOO.util.Dom.getElementsByClassName('pager_link'),"click",function(){ | |
26 | </script> |
|
26 | YAHOO.util.Dom.setStyle('shortlog_data','opacity','0.3');});}); | |
27 | <td>${c.users_log.pager('$link_previous ~2~ $link_next', |
|
27 | </script> | |
|
28 | <h2>${c.users_log.pager('$link_previous ~2~ $link_next', | |||
28 | onclick="""YAHOO.util.Connect.asyncRequest('GET','$partial_url',{ |
|
29 | onclick="""YAHOO.util.Connect.asyncRequest('GET','$partial_url',{ | |
29 | success:function(o){YAHOO.util.Dom.get(data_div).innerHTML=o.responseText; |
|
30 | success:function(o){YAHOO.util.Dom.get(data_div).innerHTML=o.responseText; | |
30 | YAHOO.util.Event.addListener(YAHOO.util.Dom.getElementsByClassName('pager_link'),"click",function(){ |
|
31 | YAHOO.util.Event.addListener(YAHOO.util.Dom.getElementsByClassName('pager_link'),"click",function(){ | |
31 | YAHOO.util.Dom.setStyle(data_div,'opacity','0.3');}); |
|
32 | YAHOO.util.Dom.setStyle(data_div,'opacity','0.3');}); | |
32 |
YAHOO.util.Dom.setStyle(data_div,'opacity','1');}},null); return false;""")} |
|
33 | YAHOO.util.Dom.setStyle(data_div,'opacity','1');}},null); return false;""")} | |
33 | </tr> |
|
34 | </h2> | |
34 | </table> |
|
35 | </div> | |
35 |
|
||||
36 | %else: |
|
36 | %else: | |
37 | ${_('No actions yet')} |
|
37 | ${_('No actions yet')} | |
38 | %endif |
|
38 | %endif |
@@ -19,7 +19,9 b'' | |||||
19 | ${self.page_nav()} |
|
19 | ${self.page_nav()} | |
20 | </ul> |
|
20 | </ul> | |
21 | </div> |
|
21 | </div> | |
22 | ${next.main()} |
|
22 | <div id="main"> | |
|
23 | ${next.main()} | |||
|
24 | </div> | |||
23 | <div class="page-footer"> |
|
25 | <div class="page-footer"> | |
24 | Mercurial App © 2010 |
|
26 | Mercurial App © 2010 | |
25 | </div> |
|
27 | </div> |
@@ -15,8 +15,8 b'' | |||||
15 | </%def> |
|
15 | </%def> | |
16 | <%def name="main()"> |
|
16 | <%def name="main()"> | |
17 | <ul class="submenu"> |
|
17 | <ul class="submenu"> | |
18 | <li class="current_submenu"> |
|
18 | <li> | |
19 | ${h.link_to(u'Repos',h.url('repos'))} |
|
19 | ${h.link_to(u'Repos',h.url('repos'), class_="current_submenu")} | |
20 | </li> |
|
20 | </li> | |
21 | <li> |
|
21 | <li> | |
22 | ${h.link_to(u'Users',h.url('users'))} |
|
22 | ${h.link_to(u'Users',h.url('users'))} |
@@ -7,26 +7,29 b' from pylons_app.lib import filters' | |||||
7 | <tr class="parity${cnt%2}"> |
|
7 | <tr class="parity${cnt%2}"> | |
8 | <td>${cs._ctx.date()|n,filters.age}</td> |
|
8 | <td>${cs._ctx.date()|n,filters.age}</td> | |
9 | <td title="${cs.author}">${cs.author|n,filters.person}</td> |
|
9 | <td title="${cs.author}">${cs.author|n,filters.person}</td> | |
10 |
<td>${h.link_to(cs.message,h.url(' |
|
10 | <td>${h.link_to(cs.message,h.url('changeset_home',repo_name=c.repo_name,revision=cs._short))}</td> | |
11 | <td class="nowrap"> |
|
11 | <td class="nowrap"> | |
12 |
${h.link_to(_('changeset'),h.url(' |
|
12 | ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=cs._short))} | |
13 | | |
|
13 | | | |
14 |
${h.link_to(_('files'),h.url('file |
|
14 | ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=cs._short))} | |
15 | </td> |
|
15 | </td> | |
16 | </tr> |
|
16 | </tr> | |
17 | %endfor |
|
17 | %endfor | |
18 | <tr> |
|
18 | ||
19 | <script type="text/javascript"> |
|
19 | </table> | |
20 | var data_div = 'shortlog_data'; |
|
20 | <div> | |
21 | YAHOO.util.Event.onDOMReady(function(){ |
|
21 | <script type="text/javascript"> | |
22 | YAHOO.util.Event.addListener(YAHOO.util.Dom.getElementsByClassName('pager_link'),"click",function(){ |
|
22 | var data_div = 'shortlog_data'; | |
23 | YAHOO.util.Dom.setStyle('shortlog_data','opacity','0.3');});}); |
|
23 | YAHOO.util.Event.onDOMReady(function(){ | |
24 | </script> |
|
24 | YAHOO.util.Event.addListener(YAHOO.util.Dom.getElementsByClassName('pager_link'),"click",function(){ | |
25 | <td colspan=3>${c.repo_changesets.pager('$link_previous ~2~ $link_next', |
|
25 | YAHOO.util.Dom.setStyle('shortlog_data','opacity','0.3');});}); | |
|
26 | </script> | |||
|
27 | <h2> | |||
|
28 | ${c.repo_changesets.pager('$link_previous ~2~ $link_next', | |||
26 | onclick="""YAHOO.util.Connect.asyncRequest('GET','$partial_url',{ |
|
29 | onclick="""YAHOO.util.Connect.asyncRequest('GET','$partial_url',{ | |
27 | success:function(o){YAHOO.util.Dom.get(data_div).innerHTML=o.responseText; |
|
30 | success:function(o){YAHOO.util.Dom.get(data_div).innerHTML=o.responseText; | |
28 | YAHOO.util.Event.addListener(YAHOO.util.Dom.getElementsByClassName('pager_link'),"click",function(){ |
|
31 | YAHOO.util.Event.addListener(YAHOO.util.Dom.getElementsByClassName('pager_link'),"click",function(){ | |
29 | YAHOO.util.Dom.setStyle(data_div,'opacity','0.3');}); |
|
32 | YAHOO.util.Dom.setStyle(data_div,'opacity','0.3');}); | |
30 |
YAHOO.util.Dom.setStyle(data_div,'opacity','1');}},null); return false;""")} |
|
33 | YAHOO.util.Dom.setStyle(data_div,'opacity','1');}},null); return false;""")} | |
31 |
</ |
|
34 | </h2> | |
32 | </table> No newline at end of file |
|
35 | </div> No newline at end of file |
@@ -47,43 +47,34 b' from pylons_app.lib import filters' | |||||
47 | </dd> |
|
47 | </dd> | |
48 | </dl> |
|
48 | </dl> | |
49 |
|
49 | |||
50 | <h2><a href="{url}shortlog">Changes</a></h2> |
|
50 | <h2>${h.link_to(_('Changes'),h.url('changelog_home',repo_name=c.repo_name))}</h2> | |
51 | <table> |
|
51 | <table> | |
52 | %for cnt,cs in enumerate(c.repo_changesets): |
|
52 | %for cnt,cs in enumerate(c.repo_changesets): | |
53 | <tr class="parity${cnt%2}"> |
|
53 | <tr class="parity${cnt%2}"> | |
54 | <td>${cs._ctx.date()|n,filters.age}</td> |
|
54 | <td>${cs._ctx.date()|n,filters.age}</td> | |
55 | <td>${cs.author}</td> |
|
55 | <td>${cs.author}</td> | |
56 |
<td>${h.link_to(cs.message,h.url(' |
|
56 | <td>${h.link_to(cs.message,h.url('changeset_home',repo_name=c.repo_name,revision=cs._short))}</td> | |
57 | <td class="nowrap"> |
|
57 | <td class="nowrap"> | |
58 |
${h.link_to(_('changeset'),h.url(' |
|
58 | ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=cs._short))} | |
59 | | |
|
59 | | | |
60 |
${h.link_to(_('files'),h.url('file |
|
60 | ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=cs._short))} | |
61 | </td> |
|
61 | </td> | |
62 | </tr> |
|
62 | </tr> | |
63 | %endfor |
|
63 | %endfor | |
64 | <tr class="light"> |
|
|||
65 | <td colspan="4"><a class="list" href="shortlog">...</a></td> |
|
|||
66 | </tr> |
|
|||
67 | </table> |
|
64 | </table> | |
68 |
|
65 | |||
69 | <h2><a href="{url}tags">${_('Tags')}</a></h2> |
|
66 | <h2>${h.link_to(_('Tags'),h.url('tags_home',repo_name=c.repo_name))}</h2> | |
70 | <table> |
|
67 | <table> | |
71 | %for tag in c.repo_tags: |
|
68 | %for tag in c.repo_tags: | |
72 | ${tag} |
|
69 | ${tag} | |
73 | %endfor |
|
70 | %endfor | |
74 | <tr class="light"> |
|
|||
75 | <td colspan="3"><a class="list" href="tags">...</a></td> |
|
|||
76 | </tr> |
|
|||
77 | </table> |
|
71 | </table> | |
78 |
|
72 | |||
79 | <h2 class="no-link">Branches</h2> |
|
73 | <h2>${h.link_to(_('Branches'),h.url('branches_home',repo_name=c.repo_name))}</h2> | |
80 | <table> |
|
74 | <table> | |
81 | %for branch in c.repo_branches: |
|
75 | %for branch in c.repo_branches: | |
82 | ${branch} |
|
76 | ${branch} | |
83 | %endfor |
|
77 | %endfor | |
84 | <tr class="light"> |
|
|||
85 | <td colspan="4"><a class="list" href="branches">...</a></td> |
|
|||
86 | </tr> |
|
|||
87 | </table> |
|
78 | </table> | |
88 |
|
79 | |||
89 | </%def> No newline at end of file |
|
80 | </%def> |
@@ -18,8 +18,8 b'' | |||||
18 | <li> |
|
18 | <li> | |
19 | ${h.link_to(u'Repos',h.url('repos'))} |
|
19 | ${h.link_to(u'Repos',h.url('repos'))} | |
20 | </li> |
|
20 | </li> | |
21 | <li class="current_submenu"> |
|
21 | <li> | |
22 | ${h.link_to(u'Users',h.url('users'))} |
|
22 | ${h.link_to(u'Users',h.url('users'), class_="current_submenu")} | |
23 | </li> |
|
23 | </li> | |
24 | </ul> |
|
24 | </ul> | |
25 | <div> |
|
25 | <div> |
General Comments 0
You need to be logged in to leave comments.
Login now