regex hack to get 2 & 3 letter words to work
[ebuildfind.git] / templates / ebuildfind / base.html
blob73d45bfdb3f397cc835db2db41e5aecae19c0efa
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" value="{% block search-value%}{% endblock %}"/>
30 <input type="submit" value="search"/>
31 </form>
32 <div>
33 </div>
34 </div>
35 </div>
36 <div class="clear"></div>
37 <!-- search box END -->
39 <!-- result box BEGIN -->
40 <div class="grid_12" id="results">
41 {% block results %}{% endblock %}
42 </div>
43 <div class="grid_4">
44 {% block adv %}{% endblock %}
45 </div>
46 <div class="clear"></div>
47 <!-- result box END -->
49 <div class="grid_4">
50 {% block info %}
51 <div>
52 <h2><a href="{{GOverlays.GetLink}}">Overlays Planet</a></h2>
53 <div>
55 {% for post in GOverlays %}
56 <div class="post">
57 <h6><a href="{{post.link}}">{{ post.title }}</a></h6>
58 <div>{{ post.content|safe }}</div>
59 </div>
60 {% endfor %}
62 </div>
63 </div>
64 </div>
65 <div class="grid_4">
66 <div>
67 <h2><a href="{GPlanet.GetLink}}">Gentoo Planet</a></h2>
68 <div>
70 {% for post in GPlanet %}
71 <div class="post">
72 <h6><a href="{{post.link}}">{{ post.title }}</a></h6>
73 <div>{{ post.content|truncatewords_html:100|safe }}</div>
74 </div>
75 {% endfor %}
77 </div>
78 </div>
79 </div>
80 <div class="grid_4">
82 <div>
83 <h2><a href="{GPlanet.GetLink}}">Gentoo News</a></h2>
84 <div>
86 {% for post in GNews %}
87 <div class="post">
88 <h6><a href="{{post.link}}">{{ post.title }}</a></h6>
89 <div>{{ post.content|safe }}</div>
90 </div>
91 {% endfor %}
93 </div>
94 </div>
96 </div>
97 <div class="grid_4">
98 <div>
99 <h2><a href="{{identica.GetLink}}">Identi.ca community</a></h2>
100 <div>
101 <p>Check out <a href="http://identi.ca/ebuildfind/all">ebuildfind@identi.ca</a></p>
102 {% for post in identica %}
103 <div class="post">
104 <h6><a href="{{post.link}}">{{ post.title }}</a></h6>
105 <div>{{ post.content|safe }}</div>
106 </div>
107 {% endfor %}
109 </div>
110 </div>
111 {% endblock %}
112 </div>
113 <div class="clear"></div>
114 <div class="grid_16" id="bottom" >
115 <div>
116 {% block advbottom %}
117 {% endblock %}
118 </div>
119 <p>"Gentoo" and "G" logo are the property of Gentoo
120 Foundation, Inc.</p>
121 <p>This website is made
122 with <a href="http://www.djangoproject.com">
123 django</a> and mysql FTS hosted by
124 <a href="http://www.alwaysdata.com">alwaysdata.com</a></p>
125 </div>
126 <div class="clear"></div>
127 <script type="text/javascript">
128 var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
129 document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
130 </script>
131 <script type="text/javascript">
132 try {
133 var pageTracker = _gat._getTracker("UA-7963643-4");
134 pageTracker._trackPageview();
135 } catch(err) {}</script>
136 </body>
137 </html>