Diff

helptopics.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/helptopics.tmpl	Mon Jul 10 23:41:04 2023 +0700
@@ -0,0 +1,52 @@
+{header}
+<title>Help: {title}</title>
+</head>
+<body>
+    <div class="main">
+        <div class="dd-hover menu">
+        <div class="dd-content">
+            <hr />
+            <ul>
+                <li><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">log</a></li>
+                <li><a href="{url|urlescape}graph{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 />
+            <ul>
+            {if(subindex,
+              '<li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li>',
+              '<li class="active">Help</li>'
+            )}
+            </ul>
+            </div>
+            {logo}
+        </div>
+        <main>
+            <hr />
+            <h1 class="breadcrumb"><a href="/">Software</a> {pathdef%breadcrumb}</h1>
+
+            {searchform}
+
+            <table>
+            <tr><td colspan="2"><h2><a name="topics" href="#topics">Topics</a></h2></td></tr>
+            {topics % helpentry}
+
+            {if(earlycommands, '
+            <tr><td colspan="2"><h2><a name="main" href="#main">Main Commands</a></h2></td></tr>
+            {earlycommands % helpentry}
+            ')}
+
+            {if(othercommands, '
+            <tr><td colspan="2"><h2><a name="other" href="#other">Other Commands</a></h2></td></tr>
+            {othercommands % helpentry}
+            ')}
+            </table>
+            <p></p>
+            <hr />
+        </main>
+    </div>
+    {logo}
+    {banner}
+{footer}