File

shortlog.tmpl @ 13:d9fa7b6b7333 draft

map: use forward slash in the breadcrumb.
author Trần H. Trung <xmpp:trần.h.trung@trung.fun>
date Sun, 30 Jul 2023 02:20:53 +0700
parent 10:ee33ee14040a
line wrap: on
line source

{header}
<title>Log {repo|escape}</title>
<link rel="alternate" type="application/atom+xml"
   href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}" />
<link rel="alternate" type="application/rss+xml"
   href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}" />
</head>
<body>
<div class="main">
    <div class="dd-hover menu">
    <div class="dd-content">
        <hr />
        <h6>{repo|escape}</h6>
        <ul>
        <li class="active">Log</li>
        <li><a href="{url|urlescape}graph/{symrev}{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 />
        <h6>{symrev}</h6>
        <ul>
            <li><a href="{url|urlescape}file/{symrev}{path|urlescape}{sessionvars%urlparameter}">browse</a></li>
            <li><a href="{url|urlescape}rev/{symrev}{sessionvars%urlparameter}">changeset</a></li>
        </ul>
        <ul>
        {archives%archiveentry}
        </ul>
        <hr />
        <ul>
            <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li>
        </ul>
        <div class="atom-logo">
                <a href="{url|urlescape}rss-bookmarks" title="subscribe to RSS feed">
                    RSS: <img class="rss-logo" src="{staticurl|urlescape}feed-icon-14x14.png" alt="RSS feed" />
                </a>
            <a href="{url|urlescape}atom-log" title="subscribe to Atom feed">
                    Atom: <img class="atom-logo" src="{staticurl|urlescape}feed-icon-14x14.png" alt="Atom feed" />
            </a>
        </div>
    </div>
        {logo}
    </div>

<main>
<hr />
{searchform}

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

<hr />
<h1>Log</h1>
<div class="navigate">
<a href="{url|urlescape}shortlog/{symrev}{lessvars%urlparameter}">less</a>
<a href="{url|urlescape}shortlog/{symrev}{morevars%urlparameter}">more</a>
| rev {rev}: {changenav%navshort}
</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%shortlogentry}
</tbody>
</table>

<div class="navigate">
<a href="{url|urlescape}shortlog/{symrev}{lessvars%urlparameter}">less</a>
<a href="{url|urlescape}shortlog/{symrev}{morevars%urlparameter}">more</a>
| rev {rev}: {changenav%navshort}
</div>

<script type="text/javascript"{if(nonce, ' nonce="{nonce}"')}>
    ajaxScrollInit(
            '{url|urlescape}shortlog/%next%{sessionvars%urlparameter}',
            '{nextentry%"{node}"}', <!-- NEXTHASH
            function (htmlText) \{
                var m = htmlText.match(/'(\w+)', <!-- NEXTHASH/);
                return m ? m[1] : null;
            },
            '.bigtable > tbody',
            '<tr class="%class%">\\
            <td colspan="3" style="text-align: center;">%text%</td>\\
            </tr>'
    );
</script>
<p></p>
<hr />
</main>
</div>
{logo}
    {banner}
{footer}