[CMF-checkins] CVS: CMF/CMFCollector/skins/collector - collector_macros.pt:1.28

Ken Manheimer klm@zope.com
Thu, 15 Nov 2001 13:37:39 -0500


Update of /cvs-repository/CMF/CMFCollector/skins/collector
In directory cvs.zope.org:/tmp/cvs-serv18616

Modified Files:
	collector_macros.pt 
Log Message:
Correct some batch-nav-bar glitch:

 - Explicitly left-align the "Previous" link, and avoid conventional
   CMF forcing of right-align on <TH> table entries by using a
   <strong>ified <TD> (sigh).

 - Space out the beginning/end arrows and their corresponding
   Previous/Next tags a bit.


=== CMF/CMFCollector/skins/collector/collector_macros.pt 1.27 => 1.28 ===
 
         <tr>
-          <td align="right" width="10%">
+          <td align="left" width="10%">
            <strong>
             <span tal:condition="prev">
-              <a href="FIRST BATCH"
-                 tal:attributes="href here/absolute_url">
-              &lt;&lt; </a>
+               <a href="FIRST BATCH"
+                  tal:attributes="href here/absolute_url">
+               &lt;&lt; </a>
             </span>
            </strong>
           </td>
 
-          <th align="center" width="30%">
+          <td align="left" width="30%">
             <span tal:condition="prev">
+             <strong>
               <a href="PREVIOUS BATCH"
                 tal:attributes="href python:
                                      base+'&'+make_query(b_start=prev.first)">
                Previous</a>
+              </strong>
              </span>
-          </th>
+          </td>
 
           <td align="center" NOWRAP
               tal:define="total here/length;
@@ -296,23 +298,25 @@
             </b>
           </td>
 
-          <th align="center" width="30%">
+          <td align="right" width="30%">
             <span tal:condition="next">
+             <strong>
               <a href="NEXT BATCH"
                 tal:attributes="href python:
                                      base+'&'+make_query(b_start=next.first)">
               Next</a>
+             </strong>
             </span>
-          </th>
+          </td>
 
-          <td align="left" width="10%">
+          <td align="right" width="10%">
             <strong>
-            <span tal:condition="next">
-              <a href="LAST BATCH"
-                tal:attributes="href python:
-                                     base+'&'+make_query(b_start=last_batch)">
-               &gt;&gt; </a>
-            </span>
+              <span tal:condition="next">
+                <a href="LAST BATCH"
+                 tal:attributes="href python:
+                                      base+'&'+make_query(b_start=last_batch)">
+                &gt;&gt; </a>
+              </span>
             </strong>
           </td>
         </tr>