b20327b4dd58fd222262bd2f0806c4a06fc94463
[ebuildfind.git] / templates / ebuildfind / base.html
blobb20327b4dd58fd222262bd2f0806c4a06fc94463
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="stylesheet" href="/static/css/handheld.css" type="text/css" media="handheld" />
14 <meta name="verify-v1" content="Eoz2Hmql/IvlB4zKL5iMhKkJw5oPotgC7Qik72ZkLmI=" >
15 </head>
16 <body>
17 <div class="container_16">
18 <div class="clear"></div>
20 <!-- search box BEGIN -->
21 <div class="grid_16" id="search-box">
22 <h1>ebuildfind</h1
23 <a href="http://www.ebuildfind.net"><img src="/static/img/glogo-small.png"/></a>
24 <div>
25 <form action="/search/" method="GET">
26 <input type="text" name="q" value="{% block search-value%}{% endblock %}"/>
27 <input type="submit" value="search"/>
28 </form>
29 {% block help %}
30 <p>This is a search engine for ebuilds, it looks for the query in the
31 category, description, application name. Give it a
32 try <a href="http://www.ebuildfind.net/search/?q=%2Bgnome+-extra">now</a>
33 and <a href="http://www.ebuildfind.net/search/?q=ssh">here</a></p>
34 <p><b>3 July 09':</b> The search engine is now supported by
35 Mysql FTS in boolean mode, try this <a href="http://www.ebuildfind.net/search/?q=%2Bgnome+%2Bbluetooth+-media+-nautilus">out</a>.</p>
36 <p><b>28 June 09':</b> Some ebuilds and overlays are missing please
37 notify me bugs
38 at <a href="mailto:amirouche.boubekki@gmail.com">my email adress</a></p>
39 {% endblock %}
40 </div>
41 </div>
42 <div class="clear"></div>
43 <!-- search box END -->
45 <!-- result box BEGIN -->
46 <div class="grid_16" id="results">
47 {% block results %}{% endblock %}
48 </div>
49 <div class="clear"></div>
50 <!-- result box END -->
52 <div class="grid_4">
53 {% block info %}
54 <div>
55 <h2><a href="{{GOverlays.GetLink}}">Overlays Planet</a></h2>
56 <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 %}
65 </div>
66 </div>
67 </div>
68 <div class="grid_4">
69 <div>
70 <h2><a href="{GPlanet.GetLink}}">Gentoo Planet</a></h2>
71 <div>
73 {% for post in GPlanet %}
74 <div class="post">
75 <h6><a href="{{post.link}}">{{ post.title }}</a></h6>
76 <div>{{ post.content|truncatewords_html:100|safe }}</div>
77 </div>
78 {% endfor %}
80 </div>
81 </div>
82 </div>
83 <div class="grid_4">
85 <div>
86 <h2><a href="{GPlanet.GetLink}}">Gentoo News</a></h2>
87 <div>
89 {% for post in GNews %}
90 <div class="post">
91 <h6><a href="{{post.link}}">{{ post.title }}</a></h6>
92 <div>{{ post.content|safe }}</div>
93 </div>
94 {% endfor %}
96 </div>
97 </div>
99 </div>
100 <div class="grid_4">
101 <div>
102 <h2><a href="{GGoogle.GetLink}}">Google News</a></h2>
103 <div>
105 {% for post in GGoogle %}
106 <div class="post">
107 <h6><a href="{{post.link}}">{{ post.title }}</a></h6>
108 <div>{{ post.content|safe }}</div>
109 </div>
110 {% endfor %}
112 </div>
113 </div>
114 {% endblock %}
115 </div>
116 <div class="clear"></div>
117 <div class="grid_16" id="bottom" >
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 <a href="http://www.whoosh.ca">whoosh</a>
123 hosted by <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>