initial version of frontend layer
[opensuse:webpin2.git] / api / webpin.api / src / main / templates / api1.html
1 <?xml version="1.0" encoding="UTF-8"?>
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
3 <head>
4  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
5  <title>Search results for ${q}</title>
6 </head>
7 <body>
8 <#if packages?has_content>
9 <#list packages as p>
10  <div class="package">
11   <h1>${p.name?html}</h1>
12   <dl>
13    <dt>Name</dt>
14    <dd>${p.name?html}</dd>
15    <dt>Version</dt>
16    <dd>${p.version}</dd>
17    <dt>Release</dt>
18    <dd>${p.release}</dd>
19    <dt>Arch</dt>
20    <dd>${p.arch}</dd>
21    <dt>Repository URL</dt>
22    <dd><a href="${p.repourl}">${p.repourl}</a></dd>
23    <dt>Distribution</dt>
24    <dd>${p.distname}_${p.distversion}</dd>
25    <dt>Checksum</dt>
26    <dd>${p.sha}</dd>
27    <dt>Summary</dt>
28    <dd>${p.summary?html}</dd>
29   </dl>
30  </div>
31 </#list>
32 <#else>
33 <p>No results found for ${q}</p>
34 </#if>
35  
36 </body>
37 </html>