templates/gitweb/index.tmpl
author Wesley J. Landaker <wjl@icecavern.net>
Thu, 12 Jul 2007 22:55:44 -0700
changeset 4872 419a6f715c6a
parent 3473 2896ce093ec4
child 5266 46c5e1ee8aaa
permissions -rw-r--r--
Use wsgi.url_scheme instead of ad-hoc CGI checks. Instead of each place in hgweb_mod that needs to check for SSL or get the protocol scheme (http vs. https) doing it ad-hoc, make them just look at the wsgi.url_scheme which because of previous patches is now always set correctly.

#header#
<title>Mercurial repositories index</title>
</head>
<body>

<div class="page_header">
<a href="http://www.selenic.com/mercurial/" title="Mercurial"><div style="float:right;">Mercurial</div></a>Repositories list
</div>

<table cellspacing="0">
    <tr>
        <td><a href="?sort=#sort_name#">Name</a></td>
        <td><a href="?sort=#sort_description#">Description</a></td>
        <td><a href="?sort=#sort_contact#">Contact</a></td>
        <td><a href="?sort=#sort_lastchange#">Last change</a></td>
        <td>&nbsp;</td>
    <tr>
    #entries%indexentry#
</table>
<div class="page_footer">
#motd#
</div>
</body>
</html>