[CMF-checkins] CVS: Products/CMFDecor/skins/zpt_generic - folder_filter_form.pt:1.1 folder_factories.pt:1.2 search.pt:1.3 zpt_stylesheet.css:1.3

Andrew Sawyers andrew@digicool.com
Wed, 1 Aug 2001 15:00:59 -0400


Update of /cvs-repository/Products/CMFDecor/skins/zpt_generic
In directory cvs.zope.org:/tmp/cvs-serv9070/skins/zpt_generic

Modified Files:
	folder_factories.pt search.pt zpt_stylesheet.css 
Added Files:
	folder_filter_form.pt 
Log Message:

*various zpt fixes
*added folder_filter_form.pt -- 1st pass (i.e. still needs work)

 
=== Added File Products/CMFDecor/skins/zpt_generic/folder_filter_form.pt ===
<span tal:condition="python:request.get('close_filter_form', 0)">
    <span tal:define="
        dummy1 python:request.RESPONSE.expireCookie('show_filter_form', path='/');
        dummy2 python:request.RESPONSE.setCookie('show_filter_form', '');
        dummy3 python:request.set('show_filter_form', '')
        " />
</span>
<span tal:condition="python:request.get('open_filter_form', 0)">
    <span tal:define="
        dummy1 python:request.RESPONSE.setCookie('show_filter_form', path='/', expires='Wed, 19 Feb 2020 14:28:00 GMT', value='1');
        dummy2 python:request.set('show_filter_form', '1')
        " />
</span>
<form action="" method="POST"
    tal:define="showfilter request/show_filter_form|nothing; hidefilter python:not showfilter; formaction python:here.absolute_url() + '/folder_contents'"
    tal:attributes="action formaction"
    >
<table class="FormLayout"
    tal:condition="showfilter"
    tal:define="Type python:(); Subject python:'';filter python:here.decodeFolderFilter(request.get('folderfilter', ''))">
<tr>
    <td colspan="2" align="left" valign="top">
        Contents View Filter
    </td>
</tr>
<tr>
    <td align="left" valign="top" width="*">Subject:</td>
    <td align="left" valign="top">
     <input type="text" name="filter_by_Subject:tokens"
      value="" tal:attributes="value python:modules['string'].join(Subject, ' ')" />
    </td>
</tr>
<tr>
    <td align="left" valign="top" width="*">Content Type:</td>
    <td align="left" valign="top">
        <select name="filter_by_Type:list" multiple size="3"
            tal:define="types python:here.portal_types.listContentTypes( container=container )">
            <option value="&dtml-sequence-item;"
                tal:repeat="type types"
                tal:attributes="value type"
                >
            <span tal:replace="type" /></option>
        </select>
    </td>
</tr>
<tr>
    <td colspan="1" align="left">
        <input type="submit" name="set_view_filter" value="Set Filter">
    </td>
    <td colspan="1" align="left">
        <input type="submit" name="close_filter_form" value="Close View Filter">
    </td>
    <td colspan="1" align="left">
        <input type="submit" name="clear_view_filter" value="Clear View Filter">
    </td>
</tr>
</table>
<span tal:condition="hidefilter">
  <input type="submit" name="open_filter_form" value="Set View Filter">
</span>
</form>

=== Products/CMFDecor/skins/zpt_generic/folder_factories.pt 1.1 => 1.2 ===
  </td></tr></table>
 
-<table>
+<table class="FormLayout">
  <tr valign="top">
   <td> <br> </td>
-  <td colspan="2"> <strong> ID: </strong>
+  <td colspan="2" class="TextField"> <strong> ID: </strong>
        <input type="text" name="id" size="20">
        <input type="submit" value="Add"> </td>
  </tr>


=== Products/CMFDecor/skins/zpt_generic/search.pt 1.2 => 1.3 ===
      <a href="" tal:attributes="href objURL"><img src="" border="0" alt="" title=""
 	                                              tal:define="alt results/Type"
-	                                              tal:attributes="src results/portal_url/iconHTML; alt alt; title alt">
+	                                              tal:attributes="src results/getIcon; alt alt; title alt">
 	 </a>
     </span>
   </td>


=== Products/CMFDecor/skins/zpt_generic/zpt_stylesheet.css 1.2 => 1.3 ===
 table.FormLayout tr th.TextField {
     vertical-align: top;
+    color: #000000;
 }
 
 table.FormLayout tr td.TextField {
     vertical-align: top;
+    color: #000000;
 }
 
 table.FormLayout th {
@@ -337,6 +339,18 @@
     font-size: 70%;
 }
 
+table.FormLayout td.ListName {
+    background-color:  #336699;
+    color: #FFFFFF;
+    font-weight: bold;
+    verticle-align: middle;
+}
+
+table.FormLayout td.ListDefinition {
+    font-style: italic;
+    color: #000000;
+}
+
 table.ContentsList tr td {
     font-size: 100%;
 }
@@ -417,12 +431,4 @@
 
 p.NewsHeadline {
     background-color:  #336699;
-}
-td.ListName {
-    background-color:  #336699;
-    color: #FFFFFF;
-    font-weight: bold;
-}
-td.ListDefinition {
-    font-style: italic;
 }