File

helptopics.tmpl @ 10:ee33ee14040a draft

use `<h3>` for `breadcrumb`.
author Trần H. Trung <xmpp:trần.h.trung@trung.fun>
date Sun, 30 Jul 2023 01:28:17 +0700
parent 0:2f78b9100113
line wrap: on
line source

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

            <hr />
            <h3 class="breadcrumb"><a href="/">Software</a> {pathdef%breadcrumb}</h3>

            <hr />
            <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}