templates/markdown/summary.tmpl @ 8f15f4ad34ed

Add TOC to readme as example
author theaspect@gmail.com
date Sat, 01 Jun 2013 16:35:16 +0700
parents e292b17c3e95
children 34d537e83b7a
{header}
    <title>{repo|escape}: Summary</title>
    <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom feed for {repo|escape}"/>
    <link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for {repo|escape}"/>
</head>

<body>
<div id="top"><span>TMF</span> <span class="hg">Hg</span></div>
<div id="container">
    <div class="page-header">
        <div>
            <h1><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / summary / {readmefilename}</h1>
        </div>

        <form action="{url}log">
            {sessionvars%hiddenformentry}
            <dl class="search">
                <dt><label>Search: </label></dt>
                <dd><input type="text" name="rev" /></dd>
            </dl>
        </form>

        <ul class="page-nav">
            <li class="current">summary</li>
            <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li>
            <li><a href="{url}log{sessionvars%urlparameter}">changelog</a></li>
            <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
            <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
            <li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li>
            <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li>
            <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li>
	    <li><a href="{url}help{sessionvars%urlparameter}">help</a></li>
        </ul>
    </div>
	
	<div class="page-content">
		<h2 class="no-link no-border overview-header full-width">Mercurial Repository Overview</h2>
		<table class="overview">
			<thead></thead>
			<tbody>
				<tr><td class="overview-heading">Name</td><td class="overview-value">{repo|escape}</td></tr>
				<tr><td class="overview-heading">Description</td><td class="overview-value">{desc}</td></tr>
				<tr><td class="overview-heading">Owner</td><td class="overview-value">{owner|obfuscate}</td></tr>
				<tr class="last"><td class="overview-heading">Last change</td><td class="overview-value">{lastchange|rfc822date}</td></tr>
			</tbody>
		</table>

		<div id="readme">
			<article>{readme}</article>
		</div>
	</div>
{footer}