/[Frey]/branches/zimbardo/lib/Frey/Web.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /branches/zimbardo/lib/Frey/Web.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 468 by dpavlin, Wed Nov 19 19:59:52 2008 UTC revision 473 by dpavlin, Thu Nov 20 11:56:41 2008 UTC
# Line 24  has 'status' => ( Line 24  has 'status' => (
24          isa => 'ArrayRef[HashRef[Str]]',          isa => 'ArrayRef[HashRef[Str]]',
25          lazy => 1,          lazy => 1,
26          default => sub { [          default => sub { [
                 { 'Bookmarklets' => Frey::Bookmarklet->new->as_markup },  
27                  { 'ClassBrowser' => Frey::ClassBrowser->new( usage_on_top => 0 )->as_markup },                  { 'ClassBrowser' => Frey::ClassBrowser->new( usage_on_top => 0 )->as_markup },
28                    { 'Bookmarklets' => Frey::Bookmarklet->new->as_markup },
29          ] },          ] },
30  );  );
31    
# Line 186  sub page { Line 186  sub page {
186                  . qq|</code></span>|                  . qq|</code></span>|
187                  if $self->warnings;                  if $self->warnings;
188    
189            my $right =
190                    qq|
191                            <span class="right">
192                            <a href="?reload=$reload_counter"><code>$url</code></a>
193                            </span>
194                    |;
195    
196          my $html = join("\n",          my $html = join("\n",
197                  qq|<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"><html><head>|,                  qq|<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"><html><head>|,
198                  $self->_head_html,                  $self->_head_html,
# Line 197  sub page { Line 204  sub page {
204                  $body                  $body
205                  <div class="frey-status-line">                  <div class="frey-status-line">
206                          <a href="/">Frey</a> $Frey::VERSION                          <a href="/">Frey</a> $Frey::VERSION
                         <a href="?reload=$reload_counter"><code>$url</code></a>  
207                          $status_line                          $status_line
208                            $right
209                  </div>                  </div>
210              </body></html>              </body></html>
211                  |,                  |,

Legend:
Removed from v.468  
changed lines
  Added in v.473

  ViewVC Help
Powered by ViewVC 1.1.26