Mercurial > kallithea
comparison pylons_app/templates/files/files.html @ 128:9deb6f1d5b90
Implemented file history.
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 03 May 2010 21:59:01 +0200 |
parents | pylons_app/templates/files.html@a86c8de926b4 |
children | f96f4cbf89ae |
comparison
equal
deleted
inserted
replaced
127:20dc7a5eb748 | 128:9deb6f1d5b90 |
---|---|
1 <%inherit file="/base/base.html"/> | |
2 | |
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')} | |
12 </%def> | |
13 <%def name="page_nav()"> | |
14 <form action="log"> | |
15 <dl class="search"> | |
16 <dt><label>Search: </label></dt> | |
17 <dd><input type="text" name="rev" /></dd> | |
18 </dl> | |
19 </form> | |
20 | |
21 ${self.menu('files')} | |
22 </%def> | |
23 <%def name="css()"> | |
24 <link rel="stylesheet" href="/css/monoblue_custom.css" type="text/css" /> | |
25 <link rel="stylesheet" href="/css/pygments.css" type="text/css" /> | |
26 </%def> | |
27 <%def name="main()"> | |
28 | |
29 <h2 class="no-link no-border">${_('Files')}</h2> | |
30 <div id="files_data"> | |
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 | |
37 </div> | |
38 </%def> |