Mercurial > kallithea
annotate pylons_app/templates/monoblue_plain/filerevision.tmpl @ 49:3ada2f409c1c
Added sqlalchemy support
made models for database
changed views to handle sqlalchemy
author | Marcin Kuzminski <marcin@python-blog.com> |
---|---|
date | Thu, 08 Apr 2010 01:50:46 +0200 |
parents | 2963f2894a7a |
children |
rev | line source |
---|---|
31
2963f2894a7a
Tempalting change, bugfix for serving raw files, and diffs. Now raw files are not parsed thruough mako, and diffs are mako safe (not parsed also)
Marcin Kuzminski <marcin@python-blog.com>
parents:
20
diff
changeset
|
1 ## -*- coding: utf-8 -*- |
20
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
2 {header} |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
3 <div id="container"> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
4 <div class="page-header"> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
5 <h1><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / file revision</h1> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
6 |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
7 <ul class="object-tools"> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
8 <li><a href="{url}summary{sessionvars%urlparameter}">summary</a></li> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
9 <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
10 <li><a href="{url}changelog{sessionvars%urlparameter}">changelog</a></li> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
11 <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
12 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
13 <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a></li> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
14 </ul> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
15 <br class="clear"/> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
16 <ul class="object-tools" style="margin-top:-2em"> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
17 <li class="current"><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
18 <li><a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a></li> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
19 <li><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
20 <li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
21 <li><a href="{url}raw-file/{node|short}/{file|urlescape}">raw</a></li> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
22 </ul> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
23 </div> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
24 |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
25 <div class="module"> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
26 <h2 class="no-link no-border">{file|escape}@{node|short}, <span>{date|age} ago</span></h2> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
27 <h3 class="changeset">{file|escape}</h3> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
28 |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
29 <dl class="overview "> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
30 <dt>author</dt> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
31 <dd>{author|obfuscate}</dd> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
32 <dt>date</dt> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
33 <dd>{date|date}</dd> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
34 {branch%filerevbranch} |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
35 <dt>changeset {rev}</dt> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
36 <dd><a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
37 {parent%filerevparent} |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
38 {child%filerevchild} |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
39 <dt>permissions</dt> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
40 <dd>{permissions|permissions}</dd> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
41 </dl> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
42 |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
43 <div class="source"> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
44 <pre class="description">{desc|strip|escape|addbreaks}</pre> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
45 <table style="width:100%; class="module"> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
46 <thead> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
47 <tr> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
48 <th style="width: 10px">#</th> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
49 <th> </th> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
50 </tr> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
51 </thead> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
52 <tbody> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
53 {text%fileline} |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
54 </tbody> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
55 </table> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
56 </div> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
57 |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
58 </div> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
59 |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
60 {footer} |