##// END OF EJS Templates
html updates,mostly tables
marcink -
r280:373ddb86 default
parent child Browse files
Show More
@@ -17,10 +17,17
17
17
18 <h2 class="no-link no-border">${_('Branches')}</h2>
18 <h2 class="no-link no-border">${_('Branches')}</h2>
19
19
20 <table>
20 <table class="table_disp">
21 <tr class="header">
22 <td>${_('date')}</td>
23 <td>${_('revision')}</td>
24 <td>${_('name')}</td>
25 <td>${_('links')}</td>
26 </tr>
21 %for cnt,branch in enumerate(c.repo_branches.items()):
27 %for cnt,branch in enumerate(c.repo_branches.items()):
22 <tr class="parity${cnt%2}">
28 <tr class="parity${cnt%2}">
23 <td>${branch[1]._ctx.date()|n,filters.age}</td>
29 <td>${branch[1]._ctx.date()|n,filters.age}</td>
30 <td>r${branch[1].revision}:${branch[1].raw_id}</td>
24 <td>
31 <td>
25 <span class="logtags">
32 <span class="logtags">
26 <span class="branchtag">${h.link_to(branch[0],
33 <span class="branchtag">${h.link_to(branch[0],
@@ -19,7 +19,7 from pylons_app.lib import filters
19
19
20 <%def name="main()">
20 <%def name="main()">
21
21
22 <h2 class="no-link no-border">${_('Changelog')} - ${_('showing ')} ${c.size} ${_('revisions')}</h2>
22 <h2 class="no-link no-border">${_('Changelog')} - ${_('showing last ')} ${c.size} ${_('revisions')}</h2>
23 <noscript>${_('The revision graph only works with JavaScript-enabled browsers.')}</noscript>
23 <noscript>${_('The revision graph only works with JavaScript-enabled browsers.')}</noscript>
24
24
25 <div id="graph">
25 <div id="graph">
@@ -29,7 +29,7 from pylons_app.lib import filters
29 <div id="graph_content">
29 <div id="graph_content">
30 <div class="container_header">
30 <div class="container_header">
31 ${h.form(h.url.current(),method='get')}
31 ${h.form(h.url.current(),method='get')}
32 ${_('Show')}: ${h.text('size',size=5,value=c.size)} ${_('revisions')}
32 ${_('Show')}: ${h.text('size',size=2,value=c.size)} ${_('revisions')}
33 ${h.submit('','set')}
33 ${h.submit('','set')}
34 ${h.end_form()}
34 ${h.end_form()}
35 </div>
35 </div>
@@ -9,6 +9,7
9 <div class="browser-header">
9 <div class="browser-header">
10 ${h.form(h.url.current())}
10 ${h.form(h.url.current())}
11 <span>${_('view')}@rev <a style="font-size: 1.3em" href="${c.url_prev}">&laquo;</a>${h.text('at_rev',value=c.rev_nr,size='5')}<a style="font-size: 1.3em" href="${c.url_next}">&raquo;</a></span>
11 <span>${_('view')}@rev <a style="font-size: 1.3em" href="${c.url_prev}">&laquo;</a>${h.text('at_rev',value=c.rev_nr,size='5')}<a style="font-size: 1.3em" href="${c.url_next}">&raquo;</a></span>
12 ${c.cur_rev}
12 ${h.submit('view','view')}
13 ${h.submit('view','view')}
13 ${h.end_form()}
14 ${h.end_form()}
14 </div>
15 </div>
@@ -17,7 +17,7 from pylons_app.lib import filters
17 <tr class="parity${cnt%2}">
17 <tr class="parity${cnt%2}">
18 <td>${cs._ctx.date()|n,filters.age}</td>
18 <td>${cs._ctx.date()|n,filters.age}</td>
19 <td title="${cs.author}">${cs.author|n,filters.person}</td>
19 <td title="${cs.author}">${cs.author|n,filters.person}</td>
20 <td>r${cs.revision}</td>
20 <td>r${cs.revision}:${cs.raw_id}</td>
21 <td>
21 <td>
22 ${h.link_to(h.truncate(cs.message,60),
22 ${h.link_to(h.truncate(cs.message,60),
23 h.url('changeset_home',repo_name=c.repo_name,revision=cs._short),
23 h.url('changeset_home',repo_name=c.repo_name,revision=cs._short),
@@ -62,13 +62,23 E.onDOMReady(function(e){
62 </dd>
62 </dd>
63 </dl>
63 </dl>
64
64
65 <h2>${h.link_to(_('Changes'),h.url('changelog_home',repo_name=c.repo_name))}</h2>
65 <h2>${h.link_to(_('Last ten changes'),h.url('changelog_home',repo_name=c.repo_name))}</h2>
66 <table>
66 <table class="table_disp">
67 <tr class="header">
68 <td>${_('date')}</td>
69 <td>${_('author')}</td>
70 <td>${_('revision')}</td>
71 <td>${_('commit message')}</td>
72 <td>${_('branch')}</td>
73 <td>${_('tags')}</td>
74 <td>${_('links')}</td>
75
76 </tr>
67 %for cnt,cs in enumerate(c.repo_changesets):
77 %for cnt,cs in enumerate(c.repo_changesets):
68 <tr class="parity${cnt%2}">
78 <tr class="parity${cnt%2}">
69 <td>${cs._ctx.date()|n,filters.age}</td>
79 <td>${cs._ctx.date()|n,filters.age}</td>
70 <td>${cs.author|n,filters.person}</td>
80 <td>${cs.author|n,filters.person}</td>
71 <td>r${cs.revision}</td>
81 <td>r${cs.revision}:${cs.raw_id}</td>
72 <td>
82 <td>
73 ${h.link_to(h.truncate(cs.message,60),
83 ${h.link_to(h.truncate(cs.message,60),
74 h.url('changeset_home',repo_name=c.repo_name,revision=cs._short),
84 h.url('changeset_home',repo_name=c.repo_name,revision=cs._short),
@@ -77,6 +87,10 E.onDOMReady(function(e){
77 <td>
87 <td>
78 <span class="logtags">
88 <span class="logtags">
79 <span class="branchtag">${cs.branch}</span>
89 <span class="branchtag">${cs.branch}</span>
90 </span>
91 </td>
92 <td>
93 <span class="logtags">
80 %for tag in cs.tags:
94 %for tag in cs.tags:
81 <span class="tagtag">${tag}</span>
95 <span class="tagtag">${tag}</span>
82 %endfor
96 %endfor
@@ -91,11 +105,18 E.onDOMReady(function(e){
91 %endfor
105 %endfor
92 </table>
106 </table>
93
107
94 <h2>${h.link_to(_('Tags'),h.url('tags_home',repo_name=c.repo_name))}</h2>
108 <h2>${h.link_to(_('Last ten tags'),h.url('tags_home',repo_name=c.repo_name))}</h2>
95 <table>
109 <table class="table_disp">
110 <tr class="header">
111 <td>${_('date')}</td>
112 <td>${_('revision')}</td>
113 <td>${_('name')}</td>
114 <td>${_('links')}</td>
115 </tr>
96 %for cnt,tag in enumerate(c.repo_tags.items()):
116 %for cnt,tag in enumerate(c.repo_tags.items()):
97 <tr class="parity${cnt%2}">
117 <tr class="parity${cnt%2}">
98 <td>${tag[1]._ctx.date()|n,filters.age}</td>
118 <td>${tag[1]._ctx.date()|n,filters.age}</td>
119 <td>r${tag[1].revision}:${tag[1].raw_id}</td>
99 <td>
120 <td>
100 <span class="logtags">
121 <span class="logtags">
101 <span class="tagtag">${h.link_to(tag[0],
122 <span class="tagtag">${h.link_to(tag[0],
@@ -111,11 +132,18 E.onDOMReady(function(e){
111 %endfor
132 %endfor
112 </table>
133 </table>
113
134
114 <h2>${h.link_to(_('Branches'),h.url('branches_home',repo_name=c.repo_name))}</h2>
135 <h2>${h.link_to(_('Last ten branches'),h.url('branches_home',repo_name=c.repo_name))}</h2>
115 <table>
136 <table class="table_disp">
137 <tr class="header">
138 <td>${_('date')}</td>
139 <td>${_('revision')}</td>
140 <td>${_('name')}</td>
141 <td>${_('links')}</td>
142 </tr>
116 %for cnt,branch in enumerate(c.repo_branches.items()):
143 %for cnt,branch in enumerate(c.repo_branches.items()):
117 <tr class="parity${cnt%2}">
144 <tr class="parity${cnt%2}">
118 <td>${branch[1]._ctx.date()|n,filters.age}</td>
145 <td>${branch[1]._ctx.date()|n,filters.age}</td>
146 <td>r${branch[1].revision}:${branch[1].raw_id}</td>
119 <td>
147 <td>
120 <span class="logtags">
148 <span class="logtags">
121 <span class="branchtag">${h.link_to(branch[0],
149 <span class="branchtag">${h.link_to(branch[0],
@@ -18,10 +18,17 from pylons_app.lib import filters
18 <%def name="main()">
18 <%def name="main()">
19
19
20 <h2 class="no-link no-border">${_('Tags')}</h2>
20 <h2 class="no-link no-border">${_('Tags')}</h2>
21 <table>
21 <table class="table_disp">
22 <tr class="header">
23 <td>${_('date')}</td>
24 <td>${_('revision')}</td>
25 <td>${_('name')}</td>
26 <td>${_('links')}</td>
27 </tr>
22 %for cnt,tag in enumerate(c.repo_tags.items()):
28 %for cnt,tag in enumerate(c.repo_tags.items()):
23 <tr class="parity${cnt%2}">
29 <tr class="parity${cnt%2}">
24 <td>${tag[1]._ctx.date()|n,filters.age}</td>
30 <td>${tag[1]._ctx.date()|n,filters.age}</td>
31 <td>r${tag[1].revision}:${tag[1].raw_id}</td>
25 <td>
32 <td>
26 <span class="logtags">
33 <span class="logtags">
27 <span class="tagtag">${h.link_to(tag[0],
34 <span class="tagtag">${h.link_to(tag[0],
General Comments 0
You need to be logged in to leave comments. Login now