]> git.ipfire.org Git - pbs.git/blob - data/templates/base.html
Initial import.
[pbs.git] / data / templates / base.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
3 <head>
4 <title>{{ hostname }} - {% block title %}{{ _("No title given") }}{% end block %}</title>
5 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
6
7 <!-- styling stuff -->
8 <link rel="stylesheet" type="text/css" href="{{ static_url("css/style.css") }}" />
9
10 <!-- javascript stuff -->
11 <script src="{{ static_url("js/jquery-1.6.min.js") }}"></script>
12 <script src="{{ static_url("js/pbs.js") }}"></script>
13 </head>
14 <body>
15 <div id="wrapper">
16 <div id="logo">
17 <div id="user">
18 {% if current_user %}
19 <a href="/profile"><span>{{ current_user.realname }}</span></a> |
20 <a href="/logout">{{ _("Logout") }}</a>
21 {% else %}
22 <a href="/login">{{ _("Login") }}</a> |
23 <a href="/register">{{ _("Register") }}</a>
24 {% end %}
25 </div>
26 <h1><a href="/">Pakfire</a> build service</h1>
27 <p>{{ _("A service by the %s.") % """<a href="http://www.ipfire.org/" target="_blank">IPFire Project</a>""" }}</p>
28 </div>
29 <div id="menu">
30 <ul>
31 <li>
32 <a href="/">{{ _("Index") }}</a>
33 </li>
34 <li>
35 <a href="/packages">{{ _("Packages") }}</a>
36 </li>
37 <li>
38 <a href="/distributions">{{ _("Distributions") }}</a>
39 </li>
40 <li>
41 <a href="/builds">{{ _("Build jobs") }}</a>
42 </li>
43 <li>
44 <a href="/builders">{{ _("Build servers") }}</a>
45 </li>
46 {% if current_user %}
47 <li>
48 <a href="/users">{{ _("Users") }}</a>
49 </li>
50 {% end %}
51 <li>
52 <a href="/log">{{ _("Log") }}</a>
53 </li>
54 <li class="search">
55 <form method="GET" action="/search">
56 <input id="search" type="text" name="q" value="{{ _("Search...") }}" />
57 </form>
58 </li>
59 </ul>
60 </div>
61 <!-- <div id="header">
62 <div id="search">
63 <form method="get" action="">
64 <fieldset>
65 <input type="text" name="s" id="search-text" size="15" value="enter keywords here..." />
66 <input type="submit" id="search-submit" value="GO" />
67 </fieldset>
68 </form>
69 </div>
70 </div> -->
71 <div id="page">
72 <div id="page-bgtop">
73 <div id="page-bgbtm">
74 <div id="content">
75 {% block body %}EMPTY BODY{% end block %}
76 </div>
77 <div id="sidebar">
78 {% block sidebar %}
79 <img src="{{ static_url("images/ipfire_tux_128x128.png") }}" alt="IPFire Logo" />
80 {% end block %}
81 </div>
82 <div style="clear: both;">&nbsp;</div>
83 </div>
84 </div>
85 </div>
86 </div>
87
88 <div id="two-columns">
89 <div id="column1">
90 <h2>{{ _("About Pakfire") }}</h2>
91 <p>
92 {{ _("Pakfire is the buildsystem that is used to build the IPFire Linux firewall distribution.") }}
93 {{ _("It also installs and updates packages on the IPFire systems.") }}
94 </p>
95 </div>
96 <div id="column2">
97 <h2>{{ _("Documentation") }}</h2>
98 <ul>
99 <li>
100 <a href="/documents">{{ _("Documentation index") }}</a>
101 </li>
102 </ul>
103 </div>
104 </div>
105 <div id="footer">
106 <p>Copyright (c) 2011 IPFire.org. {{ _("All rights reserved.") }}</p>
107 </div>
108 </body>
109 </html>