Diff

search.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/search.tmpl	Mon Jul 10 23:41:04 2023 +0700
@@ -0,0 +1,63 @@
+{header}
+<title>Search {repo|escape}: {query|escape}</title>
+</head>
+<body>
+    <div class="main">
+        <div class="menu">
+            <hr />
+            <h6>{repo|escape}</h6>
+            <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>
+                <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li>
+            </ul>
+            {logo}
+        </div>
+        <main>
+            <h1 class="breadcrumb"><a href="/">Software</a> {pathdef%breadcrumb}</h1>
+            {searchform}
+
+            <h2>Results</h2>
+            <h3>'{query|escape}'</h3>
+
+            <p>
+            Assuming {modedesc}.
+            {if(showforcekw, '<a href="{url|urlescape}log?rev={query|urlescape}&forcekw=1">
+            Use {showforcekw}</a> instead.')}
+            {if(showunforcekw, '<a href="{url|urlescape}log?rev={query|urlescape}">
+            Use {showunforcekw}</a> instead.')}
+            </p>
+
+            <div class="navigate">
+                <a href="{url|urlescape}log{lessvars%urlparameter}">less</a>
+                <a href="{url|urlescape}log{morevars%urlparameter}">more</a>
+            </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%changelogentry}
+            </tbody>
+            </table>
+
+            <div class="navigate">
+            <a href="{url|urlescape}log{lessvars%urlparameter}">less</a>
+            <a href="{url|urlescape}log{morevars%urlparameter}">more</a>
+            </div>
+
+        </main>
+    </div>
+    {banner}
+{footer}