Skip Menu |

This queue is for tickets about the CPAN-Mini-Webserver CPAN distribution.

Report information
The Basics
Id: 65554
Status: new
Priority: 0/
Queue: CPAN-Mini-Webserver

People
Owner: Nobody in particular
Requestors: MELEZHIK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.51
Fixed in: (no value)



Subject: suggestion on custom css styles
it would be good if one can add custome css style to cpan mini webserver. Let assume if one want to customize pod documentaion view - the workaround is attached.
Subject: diff.txt
--- /home/cpan/bin/cpan/patches/Templates.pm 2011-02-07 17:21:02.268723228 +0300 +++ /usr/lib/perl5/site_perl/5.8.8/CPAN/Mini/Webserver/Templates.pm 2011-01-30 18:09:07.000000000 +0300 @@ -12,14 +12,6 @@ link { attr { rel => 'stylesheet', - href => 'http://localhost/style.css', - type => 'text/css', - media => 'screen, projection' - } - }; - link { - attr { - rel => 'stylesheet', href => '/static/css/screen.css', type => 'text/css', media => 'screen, projection' @@ -694,7 +686,7 @@ }; if ( $html ) { div { - attr { id => "pod", class => "pod" }; + attr { id => "pod" }; outs_raw $html; }; }