Hi Mike,

I've just killed off this widget, because it doesn't generally follow
current conventions.

Kevin

On 1/21/06, Mike Kent <[EMAIL PROTECTED]> wrote:
>
> The grid widget has an embedded css link in its template, making it
> very difficult to override its css.  Here's a very simple patch to
> remove that link.  I'd submit this to Trac, but it's down again.
>
> Index: grid.py
> ===================================================================
> --- grid.py     (revision 548)
> +++ grid.py     (working copy)
> @@ -8,7 +8,6 @@
>  class Grid(Widget):
>      template = """
>  <div xmlns:py="http://purl.org/kid/ns#";>
> -<link href="/tg_static/css/widget.css" type="text/css"
> rel="stylesheet" />
>  <table id="${widget.name}" class="grid form_container ${'
> '.join(widget.css_classes)}" cellpadding="0" cellspacing="1"
> border="0">
>      <thead py:if="widget.headers">
>          <td py:for="head in widget.headers">
>
>


--
Kevin Dangoor
Author of the Zesty News RSS newsreader

email: [EMAIL PROTECTED]
company: http://www.BlazingThings.com
blog: http://www.BlueSkyOnMars.com

Reply via email to