Author: justi9
Date: 2007-10-23 10:19:24 -0400 (Tue, 23 Oct 2007)
New Revision: 1142
Modified:
mgmt/cumin/python/cumin/client.strings
mgmt/cumin/python/cumin/virtualhost.strings
Log:
Alignment changes to the clients table. Adds a placeholder status
block to vhost.
Modified: mgmt/cumin/python/cumin/client.strings
===================================================================
--- mgmt/cumin/python/cumin/client.strings 2007-10-23 12:55:04 UTC (rev 1141)
+++ mgmt/cumin/python/cumin/client.strings 2007-10-23 14:19:24 UTC (rev 1142)
@@ -6,18 +6,17 @@
<option>Detach Client</option>
</select>
- <input type="Submit" value="Submit">
-
<br/><br/>
<table class="mobjects">
<tr>
<th><input type="checkbox"/></th>
<th>Client</th>
- <th>Messages Produced</th>
- <th>Bytes Produced</th>
- <th>Messages Consumed</th>
- <th>Bytes Consumed</th>
+ <th>Status</th>
+ <th style="text-align: right;">Msgs. Produced</th>
+ <th style="text-align: right;">Bytes Produced</th>
+ <th style="text-align: right;">Msgs. Consumed</th>
+ <th style="text-align: right;">Bytes Consumed</th>
</tr>
{items}
@@ -28,8 +27,9 @@
<tr>
<td><input type="checkbox"/></td>
<td>{item_address}</td>
- <td>{item_messages_produced}</td>
- <td>{item_messages_consumed}</td>
- <td>{item_bytes_produced}</td>
- <td>{item_bytes_consumed}</td>
+ <td>Active</td>
+ <td style="text-align: right;">{item_messages_produced}</td>
+ <td style="text-align: right;">{item_messages_consumed}</td>
+ <td style="text-align: right;">{item_bytes_produced}</td>
+ <td style="text-align: right;">{item_bytes_consumed}</td>
</tr>
Modified: mgmt/cumin/python/cumin/virtualhost.strings
===================================================================
--- mgmt/cumin/python/cumin/virtualhost.strings 2007-10-23 12:55:04 UTC (rev 1141)
+++ mgmt/cumin/python/cumin/virtualhost.strings 2007-10-23 14:19:24 UTC (rev 1142)
@@ -5,7 +5,8 @@
<th>Configuration</th>
<th>Status</th>
</tr>
-{items}
+
+ {items}
</table>
[VirtualHostSet.item_html]
@@ -17,6 +18,12 @@
[VirtualHostView.html]
<div class="oblock">
+ <div class="mstatus green" id="{id}">
+ <h2>Functional Host Status</h2>
+
+ <div>0 errors, 0 warnings</div>
+ </div>
+
<h1>{title}</h1>
<dl class="properties">