File

helptopics.tmpl @ 4:6fc9f8d149a1 draft

branches.tmpl: use `<h3>` for `breadcrumb`.
author Trần H. Trung <xmpp:trần.h.trung@trung.fun>
date Sun, 30 Jul 2023 00:26:59 +0700
parent 0:2f78b9100113
child 10:ee33ee14040a
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 />
            <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}