comparison pylons_app/templates/files/files.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 4679105ef03e
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 ${_('Repository managment')}
5 </%def>
6 <%def name="breadcrumbs()">
7 ${h.link_to(u'Home',h.url('/'))}
8 /
9 ${h.link_to(c.repo_name,h.url('files_home',repo_name=c.repo_name))}
10 /
11 ${_('files')} 4 ${_('files')}
12 </%def> 5 </%def>
6
7 <%def name="breadcrumbs_links()">
8 ${h.link_to(u'Home',h.url('/'))}
9 &raquo;
10 ${h.link_to(c.repo_name,h.url('files_home',repo_name=c.repo_name))}
11 &raquo;
12 ${_('files')}
13 %if c.files_list:
14 @ R${c.rev_nr}:${c.cur_rev}
15 %endif
16 </%def>
17
13 <%def name="page_nav()"> 18 <%def name="page_nav()">
14 ${self.menu('files')} 19 ${self.menu('files')}
15 </%def> 20 </%def>
16 <%def name="css()"> 21
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()"> 22 <%def name="main()">
21 <h2 class="no-link no-border">${_('Files')}</h2> 23 <div class="box">
22 <div id="files_data"> 24 <!-- box / title -->
23 %if c.files_list: 25 <div class="title">
24 <h2>${_('Location')}: ${h.files_breadcrumbs(c.repo_name,c.cur_rev,c.files_list.path)}</h2> 26 ${self.breadcrumbs()}
25 %if c.files_list.is_dir(): 27 </div>
26 <%include file='files_browser.html'/> 28 <div class="table">
29 <div id="files_data">
30 %if c.files_list:
31 <h2>${_('Location')}: ${h.files_breadcrumbs(c.repo_name,c.cur_rev,c.files_list.path)}</h2>
32 %if c.files_list.is_dir():
33 <%include file='files_browser.html'/>
34 %else:
35 <%include file='files_source.html'/>
36 %endif
27 %else: 37 %else:
28 <%include file='files_source.html'/> 38 <h2>
29 %endif 39 <a href="#" onClick="javascript:parent.history.back();" target="main">${_('Go back')}</a>
30 %else: 40 ${_('No files at given path')}: "${c.f_path or "/"}"
31 <h2> 41 </h2>
32 <a href="#" onClick="javascript:parent.history.back();" target="main">${_('Go back')}</a> 42 %endif
33 ${_('No files at given path')}: "${c.f_path or "/"}" 43
34 </h2> 44 </div>
35 %endif 45 </div>
36 46 </div>
37 </div> 47
38 </%def> 48 </%def>