[WWdevel] Re: [Spam:******** SpamScore] [WWcvs] webwork2: Moved stylesheet into a separate file.
Davide P.Cervone
dpvc at union.edu
Fri Jan 28 11:01:41 EST 2005
> Log Message:
> -----------
> Moved stylesheet into a separate file. Created new htdocs/css
> directory,
> added stylesheet to that directory (ur.css). Include stylesheet in
> ur.template with new "url" template escape:
>
> <!--#url type="webwork" name="stylesheet"-->
>
> This is 132 lines that Template.pm doesn't have to parse and 4368 bytes
> that don't have to get sent to the client with every request.
>
> Modified Files:
> --------------
> webwork2/conf/templates:
> ur.template
> webwork2/lib/WeBWorK:
> ContentGenerator.pm
>
> Added Files:
> -----------
> webwork2/htdocs/css:
> ur.css
Sam:
I think this also requires an addition to global.conf to define a
webworkURL for stylesheet. It looks like this hasn't been added to the
CVS tree either in HEAD or in the backport.
I noticed this because I recently did a CVS update in my testbed server
(that is supposed to be just a plain copy of the HEAD revision), and it
started to produce error messages. I tracked it down to the missing
webworkURL value.
Davide
More information about the webwork-devel
mailing list