[Zope] Ideas for the management-interface

Tino Wildenhain tino@wildenhain.de
Thu, 13 Apr 2000 23:55:27 +0200


This is a multi-part message in MIME format.
--------------DC672AF6861310F07D80D884
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi there,

I got some ideas for the management-interface.
First I wanted to get with= and height= attributes.
Second I wanted to know the owner and the time
of the last modify.

Let me know what you think about it. The included
.diff should work with all 
 /lib/python/OFS/main.dtml since Zope2.0

Regards
Tino Wildenhain
--------------DC672AF6861310F07D80D884
Content-Type: text/plain; charset=us-ascii;
 name="main.dtml.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="main.dtml.diff"

9c9
<
---
> <dtml-call "REQUEST.set('ccol',('#FFFFFF','#CCCCCC'))">
15c15
<   <TD ALIGN="LEFT" VALIGN="TOP" WIDTH="16">
---
>   <TD ALIGN="LEFT" VALIGN="TOP" WIDTH="16" BGCOLOR="<dtml-var "ccol[_['sequence-odd']]">">
18c18
<   <TD ALIGN="LEFT" VALIGN="TOP">
---
>   <TD ALIGN="LEFT" VALIGN="TOP" BGCOLOR="<dtml-var "ccol[_['sequence-odd']]">">
22c22
<    ALT="[<dtml-var meta_type>]" BORDER="0"></A>
---
>    ALT="[<dtml-var meta_type>]" BORDER="0" WIDTH="16" HEIGHT="16"></A>
25c25,36
<   <TD ALIGN="LEFT" VALIGN="TOP">
---
>   <TD ALIGN="LEFT" VALIGN="TOP" BGCOLOR="<dtml-var "ccol[_['sequence-odd']]">">
>   <dtml-in get_local_roles>
>   <dtml-if "'Owner' in _['sequence-item']">
>   [<dtml-var "this().get_local_roles()[_['sequence-index']][0]">]
>   </dtml-if>
>   </dtml-in>
>   &nbsp;
>   </TD>
>   <TD ALIGN="LEFT" VALIGN="TOP" BGCOLOR="<dtml-var "ccol[_['sequence-odd']]">">
>   <dtml-var bobobase_modification_time fmt="%d.%m.%Y&nbsp;%H:%M">
>   </TD>
>   <TD ALIGN="LEFT" VALIGN="TOP" BGCOLOR="<dtml-var "ccol[_['sequence-odd']]">">
29a41
>
--------------DC672AF6861310F07D80D884--