too many changes to list
[opensuse:webpin2.git] / api / webpin.api / src / main / templates / ui.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" xml:lang="en" lang="en">
3 <head>
4   <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
5   <meta name="description" content="Aggregation of the blogs of openSUSE contributors"/>
6   <meta name="keywords" content="opensuse, linux, search, repository, package, rpm, index"/>
7   <link rel="stylesheet" href="http://static.opensuse.org/themes/bento/css/style.fluid.css" type="text/css" media="screen" title="All" charset="utf-8" />
8   <script src="http://static.opensuse.org/themes/bento/js/jquery.js" type="text/javascript" charset="utf-8"></script>
9   <script src="http://static.opensuse.org/themes/bento/js/l10n/global-navigation-data-en_US.js" type="text/javascript" charset="utf-8"></script>
10   <script src="http://static.opensuse.org/themes/bento/js/global-navigation.js" type="text/javascript" charset="utf-8"></script>
11   <link rel="stylesheet" href="style.css" type="text/css" media="screen" title="All" charset="utf-8" />
12   <title>openSUSE Package Search</title>
13  </head>
14 <body class="skin-bentofluid">
15   <div id="header">
16     <div id="header-content" class="container_12">
17       <a id="header-logo" href="/"><img src="http://en.opensuse.org/skins/bento/header-logo.png" width="46" height="26" alt="Header Logo" /></a>
18       <ul id="global-navigation">
19         <li id="item-downloads"><a href="http://opensuse.org/sitemap#downloads">Downloads</a></li>
20         <li id="item-support"><a href="http://opensuse.org/sitemap#support">Support</a></li>
21         <li id="item-community"><a href="http://opensuse.org/sitemap#community">Community</a></li>
22         <li id="item-development"><a href="http://opensuse.org/sitemap#development">Development</a></li>
23       </ul>
24     </div>
25   </div> <!-- #header -->
26
27   <div id="content" class="container_16 content-wrapper">
28          <div class="column grid_3 alpha">
29                 <form id="search" action="search" method="get" class="box box-shadow alpha clear-both navigation">
30                         <fieldset id="q-wrapper">
31                                 <input type="text" size="10" name="q" id="q" value="${q}" />
32                                 <input type="submit" id="searchbutton" value="Search"/>
33                         </fieldset>
34                     <!-- [#if facets??] -->
35                         <!-- [#list facets as facet] -->
36                 <h2 class="box-header">${facet.label}</h2>
37                 <fieldset id="facet-${facet.name}">
38                         <ul>
39                         <!-- [#list facet.values as value] -->
40                                 <li>
41                                         <input id="facet-${facet.name}-${value_index}" type="checkbox" name="${facet.name}" value="${value.count}" ${params[facet.name]?seq_contains(value.name)?string('checked="checked"','')}'"')/>
42                                         <label for="facet-${facet.name}-${value_index}">${value.label}: ${value.count}</label>
43                                 </li>
44                         <!-- [/#list] -->
45                         </ul>
46                 </fieldset>
47                         <!-- [/#list] -->
48                 <!-- [/#if] -->
49                 </form> <!-- #search -->
50          </div> <!-- wrapper -->
51
52          <div id="main" class="box box-shadow grid_13 clearfix">
53          <div class="alpha omega">
54                 [#if packages?size > 0]
55                 <div id="results">
56                 [#list packages as p]
57                 <div class="result">
58                   <h3 class="result_name"><a href="${p.location}"><span class="package"><span class="name">${p.name}</span><span class="separator">-</span><span class="version">${p.version}</span><span class="separator">-</span><span class="arch">${p.arch}</span></span><span class="separator">&nbsp;&nbsp;-&nbsp;&nbsp;</span><span class="summary">${p.summary}</span></a></h3>
59                   <p class="description">${p.description}</p>
60                   <ul class="links">
61                   <!-- [#if p.url??] -->
62                     <li><a class="url" href="${p.url}">${p.url}</a></li>
63                   <!-- [/#if] -->
64                   <!-- [#if p.url??] -->
65                     <li><span class="dist">${p.distribution}</span></li>
66                   <!-- [/#if] -->
67                   <!-- [#if p.repourl??] -->
68                         <li><a class="repourl" href="${p.repourl}">${p.repotag}</a></li>
69                   <!-- [/#if] -->
70                   <!-- [#if p.tag??] -->
71                   <!-- [#list p.tag as t] -->
72                     <li><span class="tag tag-${t}">${t}</span></li>
73                   <!-- [/#list] -->
74                   <!-- [/#if] -->
75                     <li>${p.group}</li>
76                   </ul>
77                 </div>
78                 [/#list]
79                 </div> <!-- #results -->
80 [#if pagelist??]
81                 <div id="paging">
82 [#if previous??]
83                         <a id="previous_page" href="${previous.url}" accesskey="p">Previous</a>
84 [#else]
85                         <span id="previous_page">Previous</span>
86 [/#if]
87 [#list pagelist as n]
88 [#if n.current]
89                         <span id="current_page"><em>${n.page}</em></span>
90 [#else]
91                         <span><a href="${n.url}">${n.page}</a></span>
92 [/#if]
93 [/#list]
94 [#if next??]
95                         <a id="next_page" href="${next.url}" accesskey="n">Next</a>
96 [/#if]
97                         <div class="clear"></div>
98 [/#if]
99                 </div> <!-- #paging -->
100
101                 <div class="box-footer header-tabs">
102                         <ul>
103                                 <li><a>${hits} results</a></li>
104                                 <li><a>${qtime} milliseconds</a></li>
105                         </ul>
106                 </div> <!-- #box-footer -->
107                 [#else]
108                 <div id="noresults">
109                         No packages match the following query:
110                         <br/>
111                         <br/>
112                         <span id="noresults-q">${q}</span>
113                 </div>
114                 [/#if]
115                 <br/>
116         </div>
117     </div> <!-- #main -->
118
119     <div class="clear"></div>
120     <div id="footer">
121       <div id="footer-content" class="clear-block">
122       </div>
123       <div id="footer-legal" class="border-top">
124         <img src="solr.png" />
125         <p>
126           &copy; 2010 Pascal Bleser and the openSUSE Community.
127         </p>
128         <p>This site is not an official openSUSE website, and is not in any way affiliated with or endorsed by SUSE Linux GmbH or Novell.</p>
129         <p>openSUSE and SUSE are trademarks of Novell, Inc. in the United States and other countries.</p>
130       </div>
131     </div>
132     <!-- #footer -->
133
134   </div> <!-- #content -->
135 <!--
136 ${solrquery}
137 -->
138 </body>
139 </html>
140 <!-- vim: set sw=2 ts=2 et ai: -->
141