File: base.html

package info (click to toggle)
rebuildd 0.3.4
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 240 kB
  • ctags: 180
  • sloc: python: 1,406; sh: 189; xml: 189; makefile: 27
file content (37 lines) | stat: -rw-r--r-- 963 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
$def with (page, title=None, hostname="a yellow submarine", dists, archs, dist=None, arch=None, package=None)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="/static/rebuildd.css" rel="stylesheet" type="text/css" />
    <title>rebuildd\
$if title: - $title\
</title>
  </head>
  <body>
    <div id="graph">
$if dist and arch:
    <img src="/graph/buildstats/$dist/$arch" />
$elif package:
    <img src="/graph/package/$package" />
$else:
    <img src="/graph/buildstats/" />
</div>
    <h1>rebuildd on $hostname</h1>

$if title:
    <h2>Status for $title</h2>

    <div id="links">
$for d in dists:
    $for a in archs:
        <a href="/dist/$d/arch/$a">[ $d/$a ]</a>
      
</div>
    <div id="content">

$:page

    </div>
  </body>
</html>