Changeset 24382
- Timestamp:
- 11/20/08 07:39:14 (7 weeks ago)
- Location:
- lang/perl/CGI-Carp-DebugScreen/trunk
- Files:
-
- 6 modified
-
README (modified) (2 diffs)
-
lib/CGI/Carp/DebugScreen.pm (modified) (7 diffs)
-
lib/CGI/Carp/DebugScreen/DefaultView.pm (modified) (5 diffs)
-
lib/CGI/Carp/DebugScreen/Dumper.pm (modified) (2 diffs)
-
lib/CGI/Carp/DebugScreen/HTML/Template.pm (modified) (5 diffs)
-
lib/CGI/Carp/DebugScreen/TT.pm (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/CGI-Carp-DebugScreen/trunk/README
r24376 r24382 4 4 CGI::Carp::DebugScreen provides decent debug/error screens for Web 5 5 applications via CGI::Carp's set_message() function. You don't need 6 to care $SIG{__DIE__} anymore. Just die or croak to get the right 6 to care $SIG{__DIE__} anymore. Just die or croak to get the right 7 7 thing. You can customize those screens as well. 8 8 … … 22 22 CGI::Carp 23 23 24 COPYRIGHT AND LICEN CE24 COPYRIGHT AND LICENSE 25 25 26 Copyright (C) 2005-200 6by Kenichi Ishigaki26 Copyright (C) 2005-2008 by Kenichi Ishigaki 27 27 28 28 This library is free software; you can redistribute it and/or modify -
lang/perl/CGI-Carp-DebugScreen/trunk/lib/CGI/Carp/DebugScreen.pm
r24376 r24382 36 36 color: #000; 37 37 background-color: #f60; 38 margin: 0 px;39 padding: 0 px;38 margin: 0; 39 padding: 0; 40 40 } 41 41 :link, :link:hover, :visited, :visited:hover { … … 76 76 font-size: .8em; 77 77 line-height: 120%; 78 font-family: 'Courier New', Courier, monospace;78 font-family: "Courier New", Courier, monospace; 79 79 background-color: #fc9; 80 80 color: #333; … … 95 95 table.code td.num { 96 96 width: 4em; 97 text-align: right97 text-align: right; 98 98 } 99 99 table.watch { … … 124 124 font-size: .8em; 125 125 line-height: 120%; 126 font-family: 'Courier New', Courier, monospace;126 font-family: "Courier New", Courier, monospace; 127 127 overflow: auto; 128 128 } … … 137 137 margin: 0 1em; 138 138 font-size: .8em; 139 text-align: right;139 text-align: right; 140 140 } 141 141 … … 164 164 } 165 165 166 sub debug { shift; $Debug = shift; }166 sub debug { shift; $Debug = shift; } 167 167 sub set_debug_template { shift; $DebugTemplate = shift; } 168 168 sub set_error_template { shift; $ErrorTemplate = shift; } … … 553 553 =head1 COPYRIGHT AND LICENSE 554 554 555 Copyright (C) 2005-200 6by Kenichi Ishigaki556 557 This library is free software; you can redistribute it and/or 555 Copyright (C) 2005-2008 by Kenichi Ishigaki 556 557 This library is free software; you can redistribute it and/or 558 558 modify it under the same terms as Perl itself. 559 559 -
lang/perl/CGI-Carp-DebugScreen/trunk/lib/CGI/Carp/DebugScreen/DefaultView.pm
r24376 r24382 62 62 63 63 my $html =<<"EOT"; 64 <!DOCTYPE html> 64 65 <html> 65 66 <head> … … 144 145 $html .=<<"EOT"; 145 146 <li> 146 < b>$key</b><br>147 <strong>$key</strong><br> 147 148 <div class="scrollable"> 148 149 $table … … 225 226 226 227 my $html =<<"EOT"; 228 <!DOCTYPE html> 227 229 <html> 228 230 <head> … … 233 235 <div id="page"> 234 236 <h1>An unexpected error has been detected</h1> 235 <p>Sorry for inconvenience.</p>237 <p>Sorry for the inconvenience.</p> 236 238 </div> 237 239 </body> … … 280 282 =head1 COPYRIGHT AND LICENSE 281 283 282 Copyright (C) 2005-200 6by Kenichi Ishigaki284 Copyright (C) 2005-2008 by Kenichi Ishigaki 283 285 284 286 This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. -
lang/perl/CGI-Carp-DebugScreen/trunk/lib/CGI/Carp/DebugScreen/Dumper.pm
r24376 r24382 134 134 =head1 TODO 135 135 136 I'm afraid that this module should have another (and shorter) name and stand alone. The dumps() method should take array, hash, or multiple variables. 136 I'm afraid that this module should have another (and shorter) name and stand alone. The dumps() method should take array, hash, or multiple variables. 137 137 138 138 =head1 SEE ALSO … … 146 146 =head1 COPYRIGHT AND LICENSE 147 147 148 Copyright (C) 2006 by Kenichi Ishigaki148 Copyright (C) 2006-2008 by Kenichi Ishigaki 149 149 150 150 This library is free software; you can redistribute it and/or modify it -
lang/perl/CGI-Carp-DebugScreen/trunk/lib/CGI/Carp/DebugScreen/HTML/Template.pm
r24376 r24382 8 8 9 9 my $DebugTemplate =<<'EOT'; 10 <!DOCTYPE html> 10 11 <html> 11 12 <head> … … 49 50 <TMPL_LOOP NAME="watchlist"> 50 51 <li> 51 < b><TMPL_VAR NAME="key" ESCAPE=HTML></b>52 <strong><TMPL_VAR NAME="key" ESCAPE=HTML></strong> 52 53 <div class="scrollable"> 53 54 <TMPL_VAR NAME="value"> … … 89 90 90 91 my $ErrorTemplate =<<'EOT'; 92 <!DOCTYPE html> 91 93 <html> 92 94 <head> … … 99 101 <div id="page"> 100 102 <h1>An unexpected error has been detected</h1> 101 <p>Sorry for inconvenience.</p>103 <p>Sorry for the inconvenience.</p> 102 104 </div> 103 105 </body> … … 158 160 =head1 COPYRIGHT AND LICENSE 159 161 160 Copyright (C) 2005-200 6by Kenichi Ishigaki162 Copyright (C) 2005-2008 by Kenichi Ishigaki 161 163 162 164 This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. -
lang/perl/CGI-Carp-DebugScreen/trunk/lib/CGI/Carp/DebugScreen/TT.pm
r24376 r24382 8 8 9 9 my $DebugTemplate =<<'EOT'; 10 <!DOCTYPE html> 10 11 <html> 11 12 <head> … … 64 65 [%- FOREACH watch = watchlist %] 65 66 <li> 66 < b>[% watch.key | html %]</b>67 <strong>[% watch.key | html %]</strong> 67 68 <div class="scrollable"> 68 69 [%- watch.value %] … … 104 105 105 106 my $ErrorTemplate =<<'EOT'; 107 <!DOCTYPE html> 106 108 <html> 107 109 <head> … … 114 116 <div id="page"> 115 117 <h1>An unexpected error has been detected</h1> 116 <p>Sorry for inconvenience.</p>118 <p>Sorry for the inconvenience.</p> 117 119 </div> 118 120 </body> … … 183 185 =head1 COPYRIGHT AND LICENSE 184 186 185 Copyright (C) 2005-200 6by Kenichi Ishigaki187 Copyright (C) 2005-2008 by Kenichi Ishigaki 186 188 187 189 This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)