File

search.tmpl @ 5:525a091b3d75 draft

error.tmpl: use `<h3>` for breadcrumb.
author Trần H. Trung <xmpp:trần.h.trung@trung.fun>
date Sun, 30 Jul 2023 00:31:40 +0700
parent 0:2f78b9100113
child 10:ee33ee14040a
line wrap: on
line source

{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}