myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [2998] branches/showcase48: improved the RO annot


From: noreply
Subject: [myexperiment-hackers] [2998] branches/showcase48: improved the RO annotation list
Date: Thu, 17 May 2012 18:34:36 +0000 (UTC)

Revision
2998
Author
dgc
Date
2012-05-17 18:34:36 +0000 (Thu, 17 May 2012)

Log Message

improved the RO annotation list

Modified Paths

Diff

Modified: branches/showcase48/app/views/research_objects/show.rhtml (2997 => 2998)


--- branches/showcase48/app/views/research_objects/show.rhtml	2012-05-17 09:59:38 UTC (rev 2997)
+++ branches/showcase48/app/views/research_objects/show.rhtml	2012-05-17 18:34:36 UTC (rev 2998)
@@ -25,14 +25,16 @@
 </table>
 
 <h2>Triples</h2>
-
-<table>
+  
+<div id="annotation_list">
   <% @contributable.load_graph.query([nil, nil, nil]).each do |s, p, o| %>
-    <tr>
-      <td><%=h s.to_s -%></td>
-      <td><%=h p.to_s -%></td>
-      <td><%=h o.to_s -%></td>
-    </tr>
+    <div>
+      <table>
+        <tr><td><%=h s.to_s -%></td></tr>
+        <tr><td><%=h p.to_s -%></td></tr>
+        <tr><td><%=h o.to_s -%></td></tr>
+      </table>
+    </div>
   <% end %>
-</table>
+</div>
 

Modified: branches/showcase48/public/stylesheets/styles.css (2997 => 2998)


--- branches/showcase48/public/stylesheets/styles.css	2012-05-17 09:59:38 UTC (rev 2997)
+++ branches/showcase48/public/stylesheets/styles.css	2012-05-17 18:34:36 UTC (rev 2998)
@@ -2290,3 +2290,19 @@
   margin-bottom: 1.5em;
   line-height: 1.4;
 }
+
+#annotation_list TABLE {
+  border-collapse: collapse;
+  margin-bottom: 16px;
+  width: 100%;
+}
+
+#annotation_list DIV {
+  box-shadow: 5px 5px 8px #AAA;
+}
+
+#annotation_list TD {
+  border: 1px solid gray;
+  text-align: left;
+}
+

reply via email to

[Prev in Thread] Current Thread [Next in Thread]