Merge snmp stuff into mirror.git
[public/mirror.git] / mirror-index / index.mako
1 <!DOCTYPE html>
2 <html lang="en">
3   <head>
4     <meta charset="UTF-8" />
5     <link rel="stylesheet" type="text/css" href="index.css" />
6     <title>Computer Science Club Mirror</title>
7   </head>
8   
9   <body>
10     <div id="logo">
11       <a href="/"><img src="/include/header.png" alt="Computer Science Club Mirror - The University of Waterloo - Funded by MEF" title="Computer Science Club Mirror - The University of Waterloo - Funded by MEF" /></a>
12     </div>
13     
14     <div id="listing">
15       <table>
16         <tr><th>Directory</th><th>Project Site</th><th>Size</th></tr>
17         
18         % for dir in directories:
19         <tr>
20           <td>
21             ${h.link_to(dir['dir']+'/', '/'+dir['dir']+'/')}
22           </td>
23
24           <td>
25             % if 'site' in dir:
26             ${h.link_to(dir['site'], dir['url'])}
27             % endif
28           </td>
29
30           <td>${dir['size'] | h}</td>
31         </tr>
32
33         % endfor \
34         
35         <tr class="total">
36           <td>Total</td>
37           <td></td>
38           <td>${total_size}</td>
39         </tr>
40       </table>
41     </div>
42
43     <div id="footer">
44       <p>This service is run by the <a href="http://csclub.uwaterloo.ca/">Computer Science Club of the University of Waterloo</a>.<br />It is made possible by funding from the <a href="http://www.student.math.uwaterloo.ca/~mefcom/home">Mathematics Endowment Fund</a><br />and support from the <a href="http://www.cs.uwaterloo.ca">David R. Cheriton School of Computer Science</a>.</p>
45     </div>
46   </body>
47 </html>