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

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Wed Sep 1 10:32:13 BST 2010


Author: whalley
Date: Wed Sep  1 10:32:13 2010
New Revision: 1387

Log:
adding table display for review

Added:
   trunk/hepdata-webapp/src/main/resources/cedar/hepdata/webapp/pages/ViewTable.tml

Added: trunk/hepdata-webapp/src/main/resources/cedar/hepdata/webapp/pages/ViewTable.tml
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/hepdata-webapp/src/main/resources/cedar/hepdata/webapp/pages/ViewTable.tml	Wed Sep  1 10:32:13 2010	(r1387)
@@ -0,0 +1,55 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- <html t:type="layoutquarkonii" xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> -->
+<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
+
+  <t:if test="paper.hepdataId">
+    <title>HepData : ${paper.shortName}</title>
+
+    <div class="">
+      <h3 class="papertitle">
+<!--        <a href="#" t:type="pagelink" t:page="view" t:context="paperContext">${paper.shortName}</a> -->
+       <a href="http://hepdata.cedar.ac.uk/h3test/view/irn${paper.spiresid}"> ${paper.shortName} </a>
+        <br/> ${paper.title}
+      </h3>
+
+        Experiment:
+        <a href="http://durpdg.dur.ac.uk/cgi-bin/spiface/experiments/www2?fin+expt+${paper.experimentName}">
+          <b>${paper.experimentName} (${paper.informalName})</b></a>
+        <br/>
+        Published in <b>${paper.firstPublished}</b>
+        <br/>
+        Preprinted as <b>${paper.firstPreprint}</b> 
+        <br/>
+        <t:if test="paper.spiresId">
+          Spires ID (IRN): <b>${paper.spiresId}</b>
+          <a href="http://durpdg.dur.ac.uk/cgi-bin/spiface/hep/www?irn+${paper.spiresId}">(View)</a> 
+        </t:if>
+
+      <t:loop source="datasetsnew" value="dataset">
+        <div class="datasetbox">
+            <!--<a href="#" t:type="pagelink" t:page="view" t:context="baseContext">Table ${dataset.id}</a>-->
+            <a href="http://hepdata.cedar.ac.uk/h3test/view/irn${paper.spiresid}/d${dataset.id}"> Table ${dataset.id} </a>
+          <t:datasetAsHtmlWithoutPlot dataset="dataset" format="${format}" />
+        </div>
+      </t:loop>
+      
+    </div>
+    <h4 class="datasettitle">
+      Additional Systematic Errors and Comments
+     </h4>
+     <div class="systematics">
+        <t:displaySystematics p="paper" />
+     </div>
+ 
+    
+    <t:parameter name="else">
+      
+      <title>HepData paper view</title>
+      <h2>No valid paper could be found with the given ID/IRN</h2>
+      
+    </t:parameter>
+  </t:if>
+  <p class="permalinks">
+   (Reaction db ID=${paper.id}, RED=${paper.redid})
+  </p>
+</html>


More information about the HepData-svn mailing list