96 |
=cut |
=cut |
97 |
|
|
98 |
use Frey::Bookmarklet; |
use Frey::Bookmarklet; |
99 |
|
use Frey::ClassBrowser; |
100 |
|
|
101 |
sub page { |
sub page { |
102 |
my $self = shift; |
my $self = shift; |
112 |
. ( $a->{body} || '<!-- no body -->' ) |
. ( $a->{body} || '<!-- no body -->' ) |
113 |
. qq|<div class="frey-status-line"> |
. qq|<div class="frey-status-line"> |
114 |
<a href="/">Frey</a> $Frey::VERSION |
<a href="/">Frey</a> $Frey::VERSION |
115 |
<a href="?reload=$reload_counter">reload</a> |
<a href="?reload=$reload_counter"><code>| . dump( $ENV{'REQUEST_URI'} ) . qq|</code></a> |
116 |
<span class="frey-popup">Bookmarklets<span>| . Frey::Bookmarklet->markup . qq|</span>| |
<span class="frey-popup">Bookmarklets<span>| . Frey::Bookmarklet->markup . qq|</span></span> |
117 |
. '</body></html>' |
<span class="frey-popup">ClassBrowser<span>| . Frey::ClassBrowser->markup . qq|</span></span> |
118 |
; |
<span class="frey-popup">ENV<span><code>| . dump( %ENV ) . qq|</code></span></span> |
119 |
|
</div> |
120 |
|
</body></html> |
121 |
|
|; |
122 |
|
|
123 |
warn "## >>> page ",length($html), " bytes\n" if $self->debug; |
warn "## >>> page ",length($html), " bytes\n" if $self->debug; |
124 |
|
|