diff options
| author | Jules Laplace <carbon@melanarchy.org> | 2013-08-02 21:08:00 -0500 |
|---|---|---|
| committer | Jules Laplace <carbon@melanarchy.org> | 2013-08-02 21:08:00 -0500 |
| commit | e848c99cdb5fec058dd5312deda3d2a612f69e3a (patch) | |
| tree | d29763e148453a8a654b4ead74595f36cbd5366b /bucky2/lib | |
| parent | 42fb39365d371ecb5102a68d7a120d14b8d6924d (diff) | |
styling svn box
Diffstat (limited to 'bucky2/lib')
| -rw-r--r-- | bucky2/lib/Bucky/SVN.pm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bucky2/lib/Bucky/SVN.pm b/bucky2/lib/Bucky/SVN.pm index c4f7679..d4714e4 100644 --- a/bucky2/lib/Bucky/SVN.pm +++ b/bucky2/lib/Bucky/SVN.pm @@ -29,7 +29,7 @@ sub query_list my ($self) = @_; my $svns = $self->list; my $out .= <<__HEAD__; -<table cellpadding=0 cellspacing=0 style="border: 1px solid #333;"> +<table id="svn" cellpadding=0 cellspacing=0 style="border: 1px solid #333;"> __HEAD__ my $r = 0; foreach my $svn (@$svns) @@ -39,7 +39,7 @@ __HEAD__ $user = "default" if $user eq "root"; my $user_profile = "/cgi-bin/bucky/profile/$user"; my $user_img = "/bucky/data/profile/.thumb/am.$user.jpg"; - my $date = $self->show_date($svn->{'date'}); + my $date = $self->get_age($svn->{'date'}); # my $revision = $svn->{'revision'}; my $comment = $svn->{'comment'}; my $cc = "cc" . $r; @@ -49,7 +49,8 @@ __HEAD__ <a href="$user_profile"><img src="$user_img" border=0></a><!--<br><small>$user</small>--> </td> <td style="border: 1px solid #333; padding: 3px" class="cc$r"> -<small>$comment</small> +<span style="float: right;color:#888;font-size:10px;">$date</span> +<small style="font-size:10px;">$comment</small> </td> </small> </tr> |
