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
Download (untitled) / with headers
text/plain 166b
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
Download diff.txt
text/plain 986b
--- /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; }; }


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.