Made SyntaxHighlight more generic so /commitdiff now gets highlighting too.
authorbroquaint <broq@cpan.org>
Tue, 27 Oct 2009 16:34:47 +0000 (16:34 +0000)
committerbroquaint <broq@cpan.org>
Tue, 27 Oct 2009 16:34:47 +0000 (16:34 +0000)
commitf5da8e7a3489dfcc3b1dbfd5b36a8c4d917190fc
treea5a5059400854b604aa62add310935208d521934
parent37997f11859dc8531624c23817ec7b50409cba2e
Made SyntaxHighlight more generic so /commitdiff now gets highlighting too.
Although this has come at the cost of cross contamination of responsibilities,
see note of IRC conversation with t0m in SyntaxHighlight.pm for a better approach.
lib/Gitalist/Controller/Root.pm
lib/Gitalist/View/SyntaxHighlight.pm
root/static/css/site.css
root/static/css/syntax/Diff.css [new file with mode: 0644]
root/static/css/syntax/Perl.css [moved from root/static/css/syntax-dark.css with 75% similarity]
templates/_diff.tt2
templates/blob.tt2