Diff

manifest.tmpl @ 0:2f78b9100113 draft

Init.
author Trần H. Trung <xmpp:trần.h.trung@trung.fun>
date Mon, 10 Jul 2023 23:41:04 +0700
child 10:ee33ee14040a
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/manifest.tmpl	Mon Jul 10 23:41:04 2023 +0700
@@ -0,0 +1,64 @@
+{header}
+<title>Browse {repo|escape}: {node|short} {path|escape}</title>
+</head>
+<body>
+<div class="main">
+<div class="dd-hover menu">
+<div class="dd-content">
+    <hr />
+    <h6>{repo|escape}</h6>
+    <ul>
+        <li><a href="{url|urlescape}shortlog/{symrev}{sessionvars%urlparameter}">log</a></li>
+        <li><a href="{url|urlescape}graph/{symrev}{sessionvars%urlparameter}">graph</a></li>
+        <li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li>
+        <li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li>
+        <li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li>
+    </ul>
+    <hr />
+    <h6>{symrev}</h6>
+    <ul>
+        <li class="active">Browse</li>
+        <li><a href="{url|urlescape}rev/{symrev}{sessionvars%urlparameter}">changeset</a></li>
+    </ul>
+    <ul>
+        {archives%archiveentry}
+    </ul>
+    <hr />
+    <ul>
+        <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li>
+    </ul>
+    </div>
+    {logo}
+</div>
+
+<main>
+<hr />
+<h1 class="breadcrumb"><a href="/">Software</a> {pathdef%breadcrumb}</h1>
+
+{searchform}
+
+<h2>Browse</h2>
+<h4>{repo|escape}{path|escape} @ {rev}:<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>
+ {alltags}
+</h4>
+<table>
+<thead>
+<tr>
+  <th class="name">name</th>
+  <th class="size">size</th>
+  <th class="permissions">permissions</th>
+</tr>
+</thead>
+<tbody class="stripes2">
+{ifeq(path, up, '', updirentry)}
+{dentries%direntry}
+{fentries%fileentry}
+</tbody>
+</table>
+<p></p>
+<hr />
+</main>
+</div>
+{logo}
+{banner}
+{footer}