wok-4.x view slitaz-mercurial-style/stuff/templates/slitaz/filerevision.tmpl @ rev 7938
slitaz-mercurial-style: Migration continue (one can follow in live on hg.slitaz.org)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Jan 11 22:37:12 2011 +0100 (2011-01-11) |
parents | c1315b822a63 |
children | 5dc095e54903 |
line source
1 {header}
2 <title>{repo|escape}: {node|short} {file|escape}</title>
3 </head>
4 <body>
6 <!-- Header -->
7 <div id="header">
8 <a href="http://hg.slitaz.org/"><img id="logo"
9 src="{staticurl}logo.png" title="www.slitaz.org" alt="www.slitaz.org"
10 style="border: 0px solid ; width: 200px; height: 74px;" /></a>
11 <p id="titre">#!/Hg/repos</p>
12 </div>
14 <div class="container">
15 <div id="nav">
17 <div class="nav_box">
18 <h4>Navigation</h4>
19 <ul>
20 <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
21 <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
22 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
23 <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li>
24 <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li>
25 <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li>
26 </ul>
27 <h4>View</h4>
28 <ul>
29 <li class="active">file</li>
30 <li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li>
31 <li><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li>
32 <li><a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file log</a></li>
33 <li><a href="{url}raw-file/{node|short}/{file|urlescape}">raw</a></li>
34 </ul>
35 </div>
37 <div class="nav_box">
38 <h4>Search</h4>
39 <form class="search" action="{url}log">
40 {sessionvars%hiddenformentry}
41 <p><input name="rev" id="search1" type="text" /></p>
42 <div id="hint">find changesets by author, revision,
43 files, or words in the commit message</div>
44 </form>
45 </div>
46 </div>
48 <div class="main">
49 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
50 <h3>view {file|escape} @ {rev}:{node|short}</h3>
52 <div class="description">{desc|strip|escape|addbreaks|nonempty}</div>
54 <table id="changesetEntry">
55 <tr>
56 <th class="author">author</th>
57 <td class="author">{author|obfuscate}</td>
58 </tr>
59 <tr>
60 <th class="date">date</th>
61 <td class="date">{date|date} ({date|age} ago)</td>
62 </tr>
63 <tr>
64 <th class="author">parents</th>
65 <td class="author">{parent%filerevparent}</td>
66 </tr>
67 <tr>
68 <th class="author">children</th>
69 <td class="author">{child%filerevchild}</td>
70 </tr>
71 {changesettag}
72 </table>
74 <div class="overflow">
75 <div class="sourcefirst"> line source</div>
76 {text%fileline}
77 <div class="sourcelast"></div>
78 </div>
80 <!-- End of content -->
81 </div>
83 {footer}