switched back to whoosh with haystack
[ebuildfind.git] / templates / ebuildfind / base.html
blob537ef64755fd39c20a19f679859b359c1ef12097
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">
3 <head>
4 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
5 <title>ebuildfind - search engine for gentoo overlays</title>
6 <link rel="stylesheet" type="text/css" href="/static/css/reset.css" media="screen" />
7 <link rel="stylesheet" type="text/css" href="/static/css/text.css" media="screen" />
8 <link rel="stylesheet" type="text/css" href="/static/css/grid.css" media="screen" />
9 <link rel="stylesheet" type="text/css" href="/static/css/layout.css" media="screen" />
10 <!--[if IE 6]><link rel="stylesheet" type="text/css" href="css/ie6.css" media="screen" /><![endif]-->
11 <!--[if IE 7]><link rel="stylesheet" type="text/css"
12 href="css/ie.css" media="screen" /><![endif]-->
13 <link rel="search" type="application/opensearchdescription+xml" title="Search ebuildfind" href="http://www.searchplugins.net/createos.aspx?number=37819"/>
14 <meta name="verify-v1" content="Eoz2Hmql/IvlB4zKL5iMhKkJw5oPotgC7Qik72ZkLmI=" >
15 </head>
16 <body>
17 <div class="container_16">
18 <div id="header">
20 </div>
21 <div class="clear"></div>
23 <!-- search box BEGIN -->
24 <div class="grid_16" id="search-box">
25 <h1>ebuildfind</h1
26 <a href="http://www.ebuildfind.net"><img src="/static/img/glogo-small.png"/></a>
27 <div>
28 <form action="/search/" method="GET">
29 <input type="text" name="q"
30 value="{% block search-value%}{% endblock %}"/>
31 <input type="hidden" name="models"
32 value="ebuildfind.ebuild"/>
33 <input type="submit" value="search"/>
34 </form>
35 <div>
36 </div>
37 </div>
38 </div>
39 <div class="clear"></div>
40 <!-- search box END -->
42 <!-- result box BEGIN -->
43 <div class="grid_12" id="results">
44 {% block results %}{% endblock %}
45 </div>
46 <div class="grid_4">
47 {% block adv %}{% endblock %}
48 </div>
49 <div class="clear"></div>
50 <!-- result box END -->
52 <div class="info">
53 <div class="grid_4">
54 {% block info %}
55 <div>
56 <h2><a href="{{GOverlays.GetLink}}">Overlays Planet</a></h2>
57 <div>
58 {% for post in GOverlays %}
59 <div class="post">
60 <h6><a href="{{post.link}}">{{ post.title }}</a></h6>
61 <div>{{ post.content|safe }}</div>
62 </div>
63 {% endfor %}
64 </div>
65 </div>
66 </div>
68 <div class="grid_4">
69 <div>
70 <h2><a href="{GPlanet.GetLink}}">Gentoo Planet</a></h2>
71 <div>
72 {% for post in GPlanet %}
73 <div class="post">
74 <h6><a href="{{post.link}}">{{ post.title }}</a></h6>
75 <div>{{ post.content|truncatewords_html:100|safe }}</div>
76 </div>
77 {% endfor %}
78 </div>
79 </div>
80 </div>
81 <div class="grid_4">
82 <div>
83 <h2><a href="{GPlanet.GetLink}}">Gentoo News</a></h2>
84 <div>
85 {% for post in GNews %}
86 <div class="post">
87 <h6><a href="{{post.link}}">{{ post.title }}</a></h6>
88 <div>{{ post.content|safe }}</div>
89 </div>
90 {% endfor %}
91 </div>
92 </div>
94 </div>
95 <div class="grid_4">
96 <div>
97 <h2><a href="{{identica.GetLink}}">Identi.ca community</a></h2>
98 <div>
99 <p>Check out <a href="http://identi.ca/ebuildfind/all">ebuildfind@identi.ca</a></p>
100 {% for post in identica %}
101 <div class="post">
102 <h6><a href="{{post.link}}">{{ post.title }}</a></h6>
103 <div>{{ post.content|safe }}</div>
104 </div>
105 {% endfor %}
107 </div>
108 </div>
109 {% endblock %}
110 </div>
111 <div class="clear"></div>
112 </div>
113 <div class="grid_16" id="bottom" >
114 <div>
115 {% block advbottom %}
116 {% endblock %}
117 </div>
118 <p>"Gentoo" and "G" logo are the property of Gentoo
119 Foundation, Inc.</p>
120 <p>This website is made
121 with <a href="http://www.djangoproject.com">
122 django</a> and mysql FTS hosted by
123 <a href="http://www.alwaysdata.com">alwaysdata.com</a></p>
124 </div>
125 <div class="clear"></div>
126 <script type="text/javascript">
127 var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
128 document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
129 </script>
130 <script type="text/javascript">
131 try {
132 var pageTracker = _gat._getTracker("UA-7963643-4");
133 pageTracker._trackPageview();
134 } catch(err) {}</script>
135 </body>
136 </html>