89ae231bb5b41849073eec66c31576645ef7b3cc
[simantics/platform.git] / bundles / org.simantics.workbench.search / search / header.ftl
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4   <meta charset="utf-8">
5   <title>Results for query ${query}</title>
6   <script type="text/javascript" src="${dataUrl}jquery-1.10.2.min.js"></script>
7   <script type="text/javascript" src="${dataUrl}jquery-ui.min.js"></script>
8   <script type="text/javascript" src="${dataUrl}jquery.dataTables.min.js"></script>
9  
10   <link rel="stylesheet" href="${dataUrl}base/jquery.ui.all.css" type="text/css">
11   <link rel="stylesheet" href="${dataUrl}search.css" type="text/css" media="screen, print" />
12   <link rel="stylesheet" href="${dataUrl}blue/style.css" type="text/css" media="screen, print" />
13  
14   <script>
15      $(function() {
16        $( "#tabs" ).tabs();
17      });
18   </script>
19 </head>
20
21 <body id="index" class="home">
22
23 <form>
24   <div id="tabs">
25      <ul>
26        <li><a href="#tabs-1">Parameters</a></li>
27        <li><a href="#tabs-2">Engines</a></li>
28     </ul>
29     <div id="tabs-1">
30       <#list getAllSearchParams() as param>
31          <input type="checkbox" name="${param}" value="on" <#if query.getBooleanFlag("${param}")> checked </#if>> ${param}
32       </#list>
33     </div>
34     <div id="tabs-2">
35       <#list searchEngines as engine>
36         <input type="checkbox" name="${engine.getId()}" value="on" <#if query.getBooleanFlag("${engine.getId()}")> checked </#if>> ${engine} 
37       </#list>
38     </div>
39   </div>
40   <input autofocus size="70" id="search" type="text" name="search" value='${query}' onChange="go(this)" class="ui-corner-tl ui-corner-tr ui-corner-br ui-corner-bl" />
41 </form>