Author: justi9
Date: 2007-10-26 14:03:15 -0400 (Fri, 26 Oct 2007)
New Revision: 1169
Modified:
mgmt/cumin/python/cumin/broker.strings
mgmt/cumin/python/cumin/brokergroup.strings
mgmt/cumin/python/cumin/page.strings
mgmt/notes/Todo
Log:
Revision of style for actions on selections.
Modified: mgmt/cumin/python/cumin/broker.strings
===================================================================
--- mgmt/cumin/python/cumin/broker.strings 2007-10-26 17:59:32 UTC (rev 1168)
+++ mgmt/cumin/python/cumin/broker.strings 2007-10-26 18:03:15 UTC (rev 1169)
@@ -21,22 +21,27 @@
[BrokerSetForm.html]
<form id="{id}" method="post" action="?">
<!-- <select
onchange="document.getElementById('{id}.submit').submit()"> -->
- <select>
- <option>Act on Selection...</option>
- <optgroup label="Actions">
- <option>Shutdown</option>
- <option>Load Balance</option>
- </optgroup>
- <optgroup label="Add to Group">
- <option>East Coast</option>
- <option>West Coast</option>
- <option>Marketing</option>
- <option>Sales</option>
- </optgroup>
- </select>
- {submit}
- <br/><br/>
+ <div>
+ <div class="sactions">
+ <h2>Act on Selected Brokers:</h2>
+ <select>
+ <option>Choose Action...</option>
+ <optgroup label="Actions">
+ <option>Shutdown</option>
+ <option>Load Balance</option>
+ </optgroup>
+ <optgroup label="Add to Group">
+ <option>East Coast</option>
+ <option>West Coast</option>
+ <option>Marketing</option>
+ <option>Sales</option>
+ </optgroup>
+ </select>
+ {submit}
+ </div>
+ </div>
+
<table class="mobjects">
<tr>
<th><input type="checkbox"/></th>
Modified: mgmt/cumin/python/cumin/brokergroup.strings
===================================================================
--- mgmt/cumin/python/cumin/brokergroup.strings 2007-10-26 17:59:32 UTC (rev 1168)
+++ mgmt/cumin/python/cumin/brokergroup.strings 2007-10-26 18:03:15 UTC (rev 1169)
@@ -3,11 +3,12 @@
<li><a href="{group_add_href}">Add Broker
Group</a></li>
</ul>
-<button>Shutdown</button>
-<button>Remove</button>
+<div class="sactions">
+ <h2>Act on Selected Groups:</h2>
+ <button>Shutdown</button>
+ <button>Remove</button>
+</div>
-<br/><br/>
-
<table class="mobjects">
<tr>
<th><input type="checkbox"/></th>
Modified: mgmt/cumin/python/cumin/page.strings
===================================================================
--- mgmt/cumin/python/cumin/page.strings 2007-10-26 17:59:32 UTC (rev 1168)
+++ mgmt/cumin/python/cumin/page.strings 2007-10-26 18:03:15 UTC (rev 1169)
@@ -143,6 +143,19 @@
list-style: none;
}
+div.sactions {
+ margin: 0;
+ padding: 0.5em 0.75em;
+ background-color: #e7e7f7;
+}
+
+div.sactions h2 {
+ display: inline;
+ font-size: 0.9em;
+ font-weight: normal;
+ margin: 0 0.5em 0 0;
+}
+
dl.properties {
margin: 1em 0;
width: 25em;
Modified: mgmt/notes/Todo
===================================================================
--- mgmt/notes/Todo 2007-10-26 17:59:32 UTC (rev 1168)
+++ mgmt/notes/Todo 2007-10-26 18:03:15 UTC (rev 1169)
@@ -103,3 +103,5 @@
log
* Move q,e to server level (using default vhost)
+
+ * Make actions more uniform
Show replies by date