[rhmessaging-commits] rhmessaging commits: r2030 - in mgmt/cumin/python: wooly and 1 other directory.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Fri May 9 12:12:32 EDT 2008


Author: justi9
Date: 2008-05-09 12:12:32 -0400 (Fri, 09 May 2008)
New Revision: 2030

Modified:
   mgmt/cumin/python/cumin/broker.strings
   mgmt/cumin/python/cumin/widgets.strings
   mgmt/cumin/python/wooly/widgets.strings
Log:
A bunch of formatting fixes

Modified: mgmt/cumin/python/cumin/broker.strings
===================================================================
--- mgmt/cumin/python/cumin/broker.strings	2008-05-09 15:13:34 UTC (rev 2029)
+++ mgmt/cumin/python/cumin/broker.strings	2008-05-09 16:12:32 UTC (rev 2030)
@@ -107,13 +107,15 @@
 [BrokerDetailsTab.html]
 <table class="CuminDetails">
   <tr>
-    <th>Properties</th>
-    <th>Actions</th>
+    <td>
+      <h2>Properties</h2>
+      {properties}
+    </td>
+    <td>
+      <h2>Actions</h2>
+      {actions}
+    </td>
   </tr>
-  <tr>
-    <td>{properties}</td>
-    <td>{actions}</td>
-  </tr>
 </table>
 
 [BrokerBrowser.css]

Modified: mgmt/cumin/python/cumin/widgets.strings
===================================================================
--- mgmt/cumin/python/cumin/widgets.strings	2008-05-09 15:13:34 UTC (rev 2029)
+++ mgmt/cumin/python/cumin/widgets.strings	2008-05-09 16:12:32 UTC (rev 2030)
@@ -177,18 +177,25 @@
 table.CuminDetails > tbody > tr > td {
   width: 50%;
   padding: 0.5em;
+  vertical-align: top;
 }
 
+table.CuminDetails ul.ActionSet {
+  margin: 1em 0.5em;
+}
+
 [CuminDetails.html]
 <table class="CuminDetails">
   <tr>
-    <th>Properties</th>
-    <th>Actions</th>
+    <td>
+      <h2>Properties</h2>
+      {properties}
+    </td>
+    <td>
+      <h2>Actions</h2>
+      {actions}
+    </td>
   </tr>
-  <tr>
-    <td>{properties}</td>
-    <td>{actions}</td>
-  </tr>
 </table>
 
 [CuminSummary.css]
@@ -242,6 +249,21 @@
   </div>
 </div>
 
+[SummaryProperties.css]
+table.SummaryProperties th {
+  color: #444;
+  font-weight: normal;
+  padding: 0 0.5em 0 0;
+}
+
+[SummaryProperties.html]
+<table class="SummaryProperties">
+  <tbody>{items}</tbody>
+</table>
+
+[SummaryProperties.property_html]
+<tr><th>{title}</th><td>{value}</td></tr>
+
 [StateSwitch.html]
 <ul class="radiotabs">
   {items}

Modified: mgmt/cumin/python/wooly/widgets.strings
===================================================================
--- mgmt/cumin/python/wooly/widgets.strings	2008-05-09 15:13:34 UTC (rev 2029)
+++ mgmt/cumin/python/wooly/widgets.strings	2008-05-09 16:12:32 UTC (rev 2030)
@@ -132,19 +132,42 @@
 <li><a {class_attr} href="{href}">{content}</a></li>
 
 [PropertySet.css]
+table.PropertySet {
+  width: 100%;
+  border-collapse: collapse;
+  margin: 1em 0.5em;
+}
+
+table.PropertySet tr {
+  border-top: 1px dotted #ccc;
+}
+
 table.PropertySet th, table.PropertySet td {
-  padding: 0 0.5em 0 0;
+  padding: 0.35em 0.5em;
+  font-weight: normal;
   vertical-align: top;
 }
 
 table.PropertySet th {
   color: #444;
-  font-weight: normal;
   text-align: left;
 }
 
+table.PropertySet thead th {
+  font-style: italic;
+  font-size: 0.9em;
+}
+
 [PropertySet.html]
-<table class="PropertySet">{items}</table>
+<table class="PropertySet">
+  <thead>
+    <tr>
+      <th style="width: 50%;">Name</th>
+      <th style="width: 50%;">Value</th>
+    </tr>
+  </thead>
+  <tbody>{items}</tbody>
+</table>
 
 [PropertySet.property_html]
 <tr><th>{title}</th><td>{value}</td></tr>




More information about the rhmessaging-commits mailing list