view templates/gitweb/index.tmpl @ 4869:be591b740e0f

Handle CGI SSL detection via HTTPS environment better. Some servers send on/off, 0/1, yes/no, and may be upper or lower case. This fix will handle all of those permutations. It was inspired by the detection done in in some other wsgi python web applications I looked at.
author Wesley J. Landaker <wjl@icecavern.net>
date Thu, 12 Jul 2007 13:55:20 -0600
parents 2896ce093ec4
children 46c5e1ee8aaa
line wrap: on
line source

#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>