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