/[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 965 by dpavlin, Wed Jan 7 22:59:23 2009 UTC revision 1033 by dpavlin, Tue Feb 3 20:55:45 2009 UTC
# Line 3  use Moose::Role; Line 3  use Moose::Role;
3    
4  with 'Frey::Session';  with 'Frey::Session';
5    
 #use Continuity::Widget::DomNode;  
6  use Data::Dump qw/dump/;  use Data::Dump qw/dump/;
7  use Carp qw/confess cluck carp/;  use Carp qw/confess cluck carp/;
8  use File::Slurp;  use File::Slurp;
# Line 300  sub html_page { Line 299  sub html_page {
299    
300          my $right =          my $right =
301                  qq|                  qq|
302                          <span class="right">                          <span class="frey-status-right">
303                          <a title="reload $url"  href="/reload$url">reload</a>                          <a title="reload $url"  href="/reload$url">reload</a>
304                          <a title="$description" href="/exit$url" target="exit">$exit</a>                          <a title="$description" href="/exit$url" target="exit">$exit</a>
305                          </span>                          </span>
# Line 321  sub html_page { Line 320  sub html_page {
320    
321  #       $title =~ s{(\w)\w+::}{$1:}g; # XXX compress names of classes  #       $title =~ s{(\w)\w+::}{$1:}g; # XXX compress names of classes
322    
323            $self->add_css(qq|
324                    body {
325                            padding-bottom: 3em; /* don't overlap status line */
326                    }
327            |);
328    
329          my $html = join("\n",          my $html = join("\n",
330                  qq|<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"><html><head>|,                  qq|<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"><html><head>|,
331                  $self->_head_html,                  $self->_head_html,

Legend:
Removed from v.965  
changed lines
  Added in v.1033

  ViewVC Help
Powered by ViewVC 1.1.26