[CMF-checkins] CVS: CMF/CMFCollector/skins/collector - collector_add_issue_form.pt:1.14 collector_contents.pt:1.21 collector_edit_form.pt:1.14 collector_issue_contents.pt:1.9 collector_issue_edit_form.pt:1.11 collector_issue_followup_form.pt:1.14 collector_macros.pt:1.27

Ken Manheimer klm@zope.com
Thu, 1 Nov 2001 12:25:10 -0500


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

Modified Files:
	collector_add_issue_form.pt collector_contents.pt 
	collector_edit_form.pt collector_issue_contents.pt 
	collector_issue_edit_form.pt collector_issue_followup_form.pt 
	collector_macros.pt 
Log Message:
Adding a tiny bit of color:

 - to distinguish the page main bodies from the header

 - to distinguish the collector-browse view entries from eachother
   (classic alternating gray/white ledger rows).


=== CMF/CMFCollector/skins/collector/collector_add_issue_form.pt 1.13 => 1.14 ===
 <div metal:fill-slot="main">	  
 
-  <h2> Submit New Issue </h2>
- 
   <div tal:define="pm python: here.portal_membership;
                    member python: pm.getAuthenticatedMember();
                    authenticated python: member.has_role('Authenticated')
@@ -35,6 +33,16 @@
         action="collector_add_issue">
 
       <table class="FormLayout">
+
+        <tr bgcolor="#ccffcc">
+          <td colspan="5" align="center">
+            <font size="+1"> <strong> Submit A New Issue </strong> </font>
+          </td>
+        </tr>
+
+        <tr>
+          <td> &nbsp; </td>
+        </tr>
 
        <tr valign="top">
         <th align="right"> Issue Title </th>


=== CMF/CMFCollector/skins/collector/collector_contents.pt 1.20 => 1.21 ===
                  last_batch python: max(int(here.length()) - BATCHSIZE, 1)">
 
-    <div metal:use-macro="here/collector_macros/macros/issue_batch_nav">
-      ISSUE-BATCH NAVIGATION
-    </div>
-
-    <table class="FormLayout">
+    <table class="FormLayout" cellspacing="0">
+      <tr bgcolor="#ccffcc">
+        <td colspan="3">
+          <div metal:use-macro="here/collector_macros/macros/issue_batch_nav">
+            ISSUE-BATCH NAVIGATION
+          </div>
+        </td>
+      </tr>
 
       <tbody tal:repeat="itemnum python: range(len(batch))">
 
-        <tr tal:define="global item python: batch[itemnum];
+        <tr bgcolor="ALTERNATING"
+            tal:attributes="bgcolor alternatingcolor"
+            tal:define="global item python: batch[itemnum];
                         itemurl item/getURL;
                         itemtype item/Type|nothing;
-                        icon item/getIcon|item/icon|nothing">
+                        icon item/getIcon|item/icon|nothing;
+                        odd repeat/itemnum/odd;
+                        global alternatingcolor python:
+                                                ['#ffffff', '#eeeeee'][odd]">
 
           <td>
              <a href=""
@@ -90,18 +98,14 @@
           </td>
 
         </tr>
-        <tr>
 
-        <tr tal:define="crdate item/created;
+        <tr tal:attributes="bgcolor alternatingcolor"
+            tal:define="crdate item/created;
                         moddate item/modified;
                         global numcmts python: int(item.action_number)-1;
                         datesdiff python: ((moddate - crdate) * 86400) > 30">
-          <td> <font color="gray"> # </font> </td>
-          <td>
-            <font color="gray">
-              <span tal:replace="python: itemnum + b_start + 1">#</span>
-            </font>
-          </td>
+          <td> </td>
+          <td> </td>
 
           <td>
 
@@ -118,12 +122,13 @@
             </span>
           </td>
 
-       </tr>
+        </tr>
 
-       <tr tal:define="security python: item.security_related;
-                       confidential python: split(item.status, '_')[-1]
-                                             == 'confidential';
-                       plrlcmts python: (numcmts != 1) and 's' or ''">
+        <tr tal:attributes="bgcolor alternatingcolor"
+            tal:define="security python: item.security_related;
+                        confidential python: split(item.status, '_')[-1]
+                                              == 'confidential';
+                        plrlcmts python: (numcmts != 1) and 's' or ''">
           <td> </td>
           <td> </td>
           <td NOWRAP>
@@ -168,7 +173,8 @@
 
         </tr>
 
-        <tr tal:condition="item/Description">
+        <tr tal:attributes="bgcolor alternatingcolor"
+            tal:condition="item/Description">
           <td> </td>
           <td> </td>
           <td colspan="7">
@@ -181,11 +187,14 @@
 
       </tbody>
 
+      <tr bgcolor="#ccffcc">
+        <td colspan="3">
+          <div metal:use-macro="here/collector_macros/macros/issue_batch_nav">
+            ISSUE-BATCH NAVIGATION
+          </div>
+        </td>
+      </tr>
     </table>
-
-    <div metal:use-macro="here/collector_macros/macros/issue_batch_nav">
-      ISSUE-BATCH NAVIGATION
-    </div>
 
     <form action="RETURNHERE" method="get"
           tal:attributes="action python: here.absolute_url()


=== CMF/CMFCollector/skins/collector/collector_edit_form.pt 1.13 => 1.14 ===
 <div metal:fill-slot="main">	  
 
-<h2> Configure Collector </h2>
- 
 <form action="collector_edit" method="post">
 <table class="FormLayout" width="100%">
+ 
+ <tr bgcolor="#ccffcc">
+  <td align="center" colspan="4">
+    <font size="+1"> <strong> Configure Collector </strong> </font>
+  </td>
+ </tr>
+
+ <tr>
+  <td> &nbsp; </td>
+ </tr>
  
  <tr valign="top">
   <th align="right"> Title


=== CMF/CMFCollector/skins/collector/collector_issue_contents.pt 1.8 => 1.9 ===
                        ending python: (entries == 1 and 'y') or 'ies'">
 
-      <tr>
-        <th colspan="2" align="left">
+      <tr bgcolor="#ccffcc">
+        <td colspan="2" align="center">
           <font size="+1">
-            Issue <span tal:replace="here/id">ID</span> Transcript
+            <strong>
+              Issue <span tal:replace="here/id">ID</span> Transcript
+            </strong>
           </font>
-        </th>
+        </td>
       </tr>
       <tr>
         <th colspan="2" align="left">


=== CMF/CMFCollector/skins/collector/collector_issue_edit_form.pt 1.10 => 1.11 ===
   </div>
 
-  <h3> Edit Collector Issue <span tal:replace="here/id"></span> </h3>
+  <table width="100%">
 
-  <p>
-    Adjust various issue data - the current settings are indicated above.  Use
-    the regular issue followup, instead, to change the issue workflow state or
-    assigned supporters, and use the folder contents view to change the
-    uploads.
-  </p>
+    <tr bgcolor="ccffcc">
+      <td>
+        <font size="+1">
+          <strong>
+            Edit Collector Issue <span tal:replace="here/id"></span>
+          </strong>
+        </font>
+      </td>
+    </tr>
+
+    <tr>
+      <td>
+        <p>
+          Adjust various issue data - the current settings are indicated
+          above.  Use the regular issue followup, instead, to change the issue
+          workflow state or assigned supporters, and use the folder contents
+          view to change the uploads.
+        </p>
+      </td>
+    </tr>
+  </table>
 
   <form method="POST" enctype="multipart/form-data"
         action="collector_issue_edit">
@@ -51,6 +66,7 @@
       </span>
 
       <table>
+
         <tr>
           <td> ISSUE TITLE </td>
           <td metal:fill-slot="issue_title_slot" colspan="3">


=== CMF/CMFCollector/skins/collector/collector_issue_followup_form.pt 1.13 => 1.14 ===
     <table tal:define="actions_pairs here/valid_actions_pairs">
 
-      <tr>
-        <th align="left" NOWRAP>
+      <tr bgcolor="#ccffcc">
+        <td NOWRAP colspan="DEPENDS"
+            tal:attributes="colspan python: (here.no_submitter_email() and 2)
+                                            or 3">
           <font size="+1">
-            Issue <span tal:replace="here/id">ID</span>
+            <strong>
+              Issue <span tal:replace="here/id">ID</span>
+            </strong>
           </font>
-        </th>
+        </td>
         <td tal:condition="here/no_submitter_email" align="right">
           <em>
             Note: We have no submitter address, so they won't get followups.


=== CMF/CMFCollector/skins/collector/collector_macros.pt 1.26 => 1.27 ===
       </span>
 
-      <table bgcolor="#eeeeee" width="100%"
+      <table width="100%"
              tal:define="url_query nocall: modules/ZTUtils/url_query;
                          make_query nocall: modules/ZTUtils/make_query;
                          base python: url_query(request, omit='b_start')">