Diff

shortlog.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/shortlog.tmpl	Mon Jul 10 23:41:04 2023 +0700
@@ -0,0 +1,98 @@
+{header}
+<title>Log {repo|escape}</title>
+<link rel="alternate" type="application/atom+xml"
+   href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}" />
+<link rel="alternate" type="application/rss+xml"
+   href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}" />
+</head>
+<body>
+<div class="main">
+    <div class="dd-hover menu">
+    <div class="dd-content">
+        <hr />
+        <h6>{repo|escape}</h6>
+        <ul>
+        <li class="active">Log</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><a href="{url|urlescape}file/{symrev}{path|urlescape}{sessionvars%urlparameter}">browse</a></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 class="atom-logo">
+                <a href="{url|urlescape}rss-bookmarks" title="subscribe to RSS feed">
+                    RSS: <img class="rss-logo" src="{staticurl|urlescape}feed-icon-14x14.png" alt="RSS feed" />
+                </a>
+            <a href="{url|urlescape}atom-log" title="subscribe to Atom feed">
+                    Atom: <img class="atom-logo" src="{staticurl|urlescape}feed-icon-14x14.png" alt="Atom feed" />
+            </a>
+        </div>
+    </div>
+        {logo}
+    </div>
+
+<main>
+<hr />
+<h1 class="breadcrumb"><a href="/">Software</a> {pathdef%breadcrumb}</h1>
+
+{searchform}
+
+<h2>Log</h2>
+<div class="navigate">
+<a href="{url|urlescape}shortlog/{symrev}{lessvars%urlparameter}">less</a>
+<a href="{url|urlescape}shortlog/{symrev}{morevars%urlparameter}">more</a>
+| rev {rev}: {changenav%navshort}
+</div>
+
+<table>
+<thead>
+ <tr>
+  <th class="description">description</th>
+  <th class="author">author</th>
+  <th class="age">age</th>
+ </tr>
+</thead>
+<tbody class="stripes2">
+{entries%shortlogentry}
+</tbody>
+</table>
+
+<div class="navigate">
+<a href="{url|urlescape}shortlog/{symrev}{lessvars%urlparameter}">less</a>
+<a href="{url|urlescape}shortlog/{symrev}{morevars%urlparameter}">more</a>
+| rev {rev}: {changenav%navshort}
+</div>
+
+<script type="text/javascript"{if(nonce, ' nonce="{nonce}"')}>
+    ajaxScrollInit(
+            '{url|urlescape}shortlog/%next%{sessionvars%urlparameter}',
+            '{nextentry%"{node}"}', <!-- NEXTHASH
+            function (htmlText) \{
+                var m = htmlText.match(/'(\w+)', <!-- NEXTHASH/);
+                return m ? m[1] : null;
+            },
+            '.bigtable > tbody',
+            '<tr class="%class%">\\
+            <td colspan="3" style="text-align: center;">%text%</td>\\
+            </tr>'
+    );
+</script>
+<p></p>
+<hr />
+</main>
+</div>
+{logo}
+    {banner}
+{footer}