[Zope3-checkins] CVS: zopeproducts/bugtracker/browser - tracker_overview.pt:1.5

Stephan Richter srichter@cosmos.phy.tufts.edu
Fri, 1 Aug 2003 13:20:02 -0400


Update of /cvs-repository/zopeproducts/bugtracker/browser
In directory cvs.zope.org:/tmp/cvs-serv9257/browser

Modified Files:
	tracker_overview.pt 
Log Message:
Garrett, whi has a background in usability, told me that having the filter 
options at the bottom sucks. So based on his suggestion, I moved it up the 
screen. 

Garrett, next time you can just do this yourself. ;-) I placed it in the 
Zope 3 CVS, so that everyone can play and fiddle with it a bit. :-)


=== zopeproducts/bugtracker/browser/tracker_overview.pt 1.4 => 1.5 ===
--- zopeproducts/bugtracker/browser/tracker_overview.pt:1.4	Sun Jul 27 11:45:49 2003
+++ zopeproducts/bugtracker/browser/tracker_overview.pt	Fri Aug  1 13:19:57 2003
@@ -10,6 +10,51 @@
   <body>
     <div metal:fill-slot="body" tal:define="bugs view/getBugs">
 
+      <form action="updateOverviewSettings.html" method="post"
+          tal:define="settings view/getSettingsInfo">
+
+        <div class="row">
+          <div class="field">
+            Filter Text: 
+            <input type="text" name="search_text" value=""
+                tal:attributes="value view/getSearchText">
+          </div>
+        </div>
+
+        <div class="row">
+          <div class="field" tal:repeat="var settings">
+
+        <tal:block replace="var/title">Status</tal:block>:<br> 
+	<select size="5" name="stati:list" multiple="yes"
+            tal:attributes="name string:${var/name}:list">
+	  <tal:block repeat="entry var/all">
+            <option value=""
+	      tal:condition="python: entry.value in var['setting']"
+	      tal:attributes="value entry/value"
+	      tal:content="entry/title" selected="">New</option>
+            <option value=""
+	      tal:condition="python: entry.value not in var['setting']"
+	      tal:attributes="value entry/value"
+	      tal:content="entry/title">New</option>
+	  </tal:block>
+        </select>
+
+          </div>
+          <div class="field">
+            <input type="submit" value="Apply Filter" 
+                i18n:attributes="value save_filter-button" />
+          </div>
+        </div>
+
+      </form>
+
+      <div class="row">
+        <div class="control">
+          <form action="./@@+/AddBug=" method="post">
+            <input type="submit" name="add" value="Add Bug" />
+          </form>
+        </div>
+      </div>
       <div class="batch" tal:condition="bugs/startNumber">
         <div class="prev_batch" tal:define="prev bugs/prevBatch">
           <a href=""
@@ -106,48 +151,13 @@
         </div>
         <div class="clear"></div> 
       </div>
-
-      <form action="./@@+/AddBug=" method="post">
-        <input type="submit" name="add" value="Add Bug" />
-      </form>
-
-      <form action="updateOverviewSettings.html" method="post"
-          tal:define="settings view/getSettingsInfo">
-
-        <div class="row">
-          <div class="field">
-            Filter Text: 
-            <input type="text" name="search_text" value=""
-                tal:attributes="value view/getSearchText">
-          </div>
-        </div>
-
-        <div class="row">
-          <div class="field" tal:repeat="var settings">
-
-        <tal:block replace="var/title">Status</tal:block>:<br> 
-	<select size="5" name="stati:list" multiple="yes"
-            tal:attributes="name string:${var/name}:list">
-	  <tal:block repeat="entry var/all">
-            <option value=""
-	      tal:condition="python: entry.value in var['setting']"
-	      tal:attributes="value entry/value"
-	      tal:content="entry/title" selected="">New</option>
-            <option value=""
-	      tal:condition="python: entry.value not in var['setting']"
-	      tal:attributes="value entry/value"
-	      tal:content="entry/title">New</option>
-	  </tal:block>
-        </select>
-
-          </div>
-          <div class="field">
-            <input type="submit" value="Apply Filter" 
-                i18n:attributes="value save_filter-button" />
-          </div>
+      <div class="row">
+        <div class="control">
+          <form action="./@@+/AddBug=" method="post">
+            <input type="submit" name="add" value="Add Bug" />
+          </form>
         </div>
-
-      </form>
+      </div>
 
     </div>
   </body>