comparison pylons_app/templates/files/files_annotate.html @ 362:558eb7c5028f rhodecode-0.0.0.8.0

version bump to 0.8 hg app 0.8 new template. Add yui flot and graph into summary page. + various tweeks and patches into look of application
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 24 Jul 2010 02:17:48 +0200
parents ed7abf925696
children 3e55d9981c0e
comparison
equal deleted inserted replaced
361:3581656180b7 362:558eb7c5028f
1 <%inherit file="/base/base.html"/> 1 <%inherit file="/base/base.html"/>
2 2
3 <%def name="title()"> 3 <%def name="title()">
4 ${_('File annotate')} 4 ${_('File annotate')}
5 </%def> 5 </%def>
6 <%def name="breadcrumbs()"> 6
7 <%def name="breadcrumbs_links()">
7 ${h.link_to(u'Home',h.url('/'))} 8 ${h.link_to(u'Home',h.url('/'))}
8 / 9 &raquo;
9 ${h.link_to(c.repo_name,h.url('files_home',repo_name=c.repo_name))} 10 ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))}
10 / 11 &raquo;
11 ${_('files')} 12 ${_('annotate')}
12 </%def> 13 </%def>
14
13 <%def name="page_nav()"> 15 <%def name="page_nav()">
14 ${self.menu('files')} 16 ${self.menu('files')}
15 </%def> 17 </%def>
16 <%def name="css()">
17 <link rel="stylesheet" href="/css/monoblue_custom.css" type="text/css" />
18 <link rel="stylesheet" href="/css/pygments.css" type="text/css" />
19 </%def>
20 <%def name="main()"> 18 <%def name="main()">
21 <h2 class="no-link no-border">${_('Annotate')}</h2> 19 <div class="box">
22 <div id="files_data"> 20 <!-- box / title -->
23 <h2>${_('Location')}: ${h.files_breadcrumbs(c.repo_name,c.cur_rev,c.file.path)}</h2> 21 <div class="title">
24 <dl class="overview"> 22 ${self.breadcrumbs()}
25 <dt>${_('Revision')}</dt> 23 </div>
26 <dd>r${c.file.last_changeset.revision}:${c.file.last_changeset._short}</dd> 24 <div class="table">
27 <dt>${_('Size')}</dt> 25 <div id="files_data">
28 <dd>${h.format_byte_size(c.file.size,binary=True)}</dd> 26 <h2>${_('Location')}: ${h.files_breadcrumbs(c.repo_name,c.cur_rev,c.file.path)}</h2>
29 <dt>${_('Options')}</dt> 27 <dl class="overview">
30 <dd>${h.link_to(_('show source'), 28 <dt>${_('Revision')}</dt>
31 h.url('files_home',repo_name=c.repo_name,revision=c.cur_rev,f_path=c.f_path))} 29 <dd>r${c.file.last_changeset.revision}:${c.file.last_changeset._short}</dd>
32 / ${h.link_to(_('download as raw'), 30 <dt>${_('Size')}</dt>
33 h.url('files_raw_home',repo_name=c.repo_name,revision=c.cur_rev,f_path=c.f_path))} 31 <dd>${h.format_byte_size(c.file.size,binary=True)}</dd>
34 </dd> 32 <dt>${_('Options')}</dt>
35 </dl> 33 <dd>${h.link_to(_('show source'),
36 <div id="body" class="codeblock"> 34 h.url('files_home',repo_name=c.repo_name,revision=c.cur_rev,f_path=c.f_path))}
37 <div class="code-header"> 35 / ${h.link_to(_('download as raw'),
38 <div class="revision">${c.file.name}@r${c.file.last_changeset.revision}:${c.file.last_changeset._short}</div> 36 h.url('files_raw_home',repo_name=c.repo_name,revision=c.cur_rev,f_path=c.f_path))}
39 <div class="commit" style="font-size:70%">"${c.file_msg}"</div> 37 </dd>
38 </dl>
39 <div id="body" class="codeblock">
40 <div class="code-header">
41 <div class="revision">${c.file.name}@r${c.file.last_changeset.revision}:${c.file.last_changeset._short}</div>
42 <div class="commit" style="font-size:70%">"${c.file_msg}"</div>
43 </div>
44 <div class="code-body">
45 ${h.pygmentize_annotation(c.file,linenos=True,anchorlinenos=True,lineanchors='S',cssclass="code-highlight")}
46 </div>
40 </div> 47 </div>
41 <div class="code-body"> 48 </div>
42 ${h.pygmentize_annotation(c.file,linenos=True,anchorlinenos=True,lineanchors='S',cssclass="code-highlight")} 49 </div>
43 </div> 50 </div>
44 </div> 51 </%def>
45 </div>
46 </%def>