[HepData-svn] r1384 - trunk/hepdata-webapp/src/main/resources/cedar/hepdata/webapp/pages

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Wed Aug 18 16:18:15 BST 2010


Author: whalley
Date: Wed Aug 18 16:18:15 2010
New Revision: 1384

Log:
Improving search help

Modified:
   trunk/hepdata-webapp/src/main/resources/cedar/hepdata/webapp/pages/Search.tml

Modified: trunk/hepdata-webapp/src/main/resources/cedar/hepdata/webapp/pages/Search.tml
==============================================================================
--- trunk/hepdata-webapp/src/main/resources/cedar/hepdata/webapp/pages/Search.tml	Wed Aug 18 16:17:43 2010	(r1383)
+++ trunk/hepdata-webapp/src/main/resources/cedar/hepdata/webapp/pages/Search.tml	Wed Aug 18 16:18:15 2010	(r1384)
@@ -1,7 +1,16 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 <html t:type="layout" xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
-
+<head>
   <title>HepData search &ndash; '${searchstring}'</title>
+  <script language="javascript" type="text/javascript">
+    function popitup(url){
+    newwindow=window.open(url,'name','height=400,width=600');
+	if (window.focus){ newwindow.focus()}
+	  return false;
+    }
+   </script>   
+</head>
+<body>
   <h2>Reaction Database Search Result</h2>
 
   <p>
@@ -26,8 +35,11 @@
     <input t:type="textfield" t:value="query" name="q" size="50"/>&nbsp;
     <input type="submit" value="Search again"/>
   </t:form>
+<p/>
+    <a href="#" t:type="pagelink" t:page="displaytip" onClick="return popitup(this)">...need help with searching?</a>
+
 
-  <p/>
+ <p/>
 
   <div class="searchresultsbox">
     <t:loop source="papers" value="paper">
@@ -95,4 +107,7 @@
       <a href="#" t:type="pagelink" t:page="search" t:context="allcontext">All</a>&nbsp;
     </t:if>
 
+
+</body>
+
 </html>


More information about the HepData-svn mailing list