diff options
-rw-r--r-- | lib/VNDB/Handler/ULists.pm | 13 | ||||
-rw-r--r-- | static/f/style.css | 3 |
2 files changed, 13 insertions, 3 deletions
diff --git a/lib/VNDB/Handler/ULists.pm b/lib/VNDB/Handler/ULists.pm index 786db9df..110ded30 100644 --- a/lib/VNDB/Handler/ULists.pm +++ b/lib/VNDB/Handler/ULists.pm @@ -275,12 +275,21 @@ sub _vnlist_browse { td class => 'tc2'; acronym class => "icons lang $_->{language}", title => $self->{languages}{$_->{language}}, ' '; acronym class => 'icons '.substr(lc $self->{release_types}[$_->{type}], 0, 3), title => $self->{release_types}[$_->{type}].' release', ' '; - txt substr($self->{vn_rstat}[$_->{rstat}],0,2).'/'.substr($self->{vn_vstat}[$_->{vstat}],0,2); end; td class => 'tc3'; a href => "/r$_->{rid}", title => $_->{original}||$_->{title}, shorten $_->{title}, 50; end; - td colspan => 2, ' '; + td colspan => 2, class => 'tc4'; + my $rs = $self->{vn_rstat}[$_->{rstat}]; + $rs = qq|<b class="done">$rs</b>| if $_->{rstat} == 2; # Obtained + $rs = qq|<b class="todo">$rs</b>| if $_->{rstat} < 2; # Unknown/pending + lit $rs; + txt ' / '; + my $vs = $self->{vn_vstat}[$_->{vstat}]; + $vs = qq|<b class="done">$vs</b>| if $_->{vstat} == 2; # Finished + $vs = qq|<b class="todo">$vs</b>| if $_->{vstat} == 0 || $_->{vstat} == 4; # Unknown/dropped + lit $vs; + end; end; } }, diff --git a/static/f/style.css b/static/f/style.css index 2c1eb78a..6394676d 100644 --- a/static/f/style.css +++ b/static/f/style.css @@ -835,8 +835,9 @@ ul#catselect li li.exc { background-position: 0px -33px; color: #c00; } .browse.rlist .relhid .tc1 { padding-left: 40px; width: 70px; } .browse.rlist .relhid .tc1.own { padding: 0 0 0 25px; width: 95px } .browse.rlist .relhid input { margin-right: 5px } -.browse.rlist .relhid .tc2 { padding: 0; width: 60px; } +.browse.rlist .relhid .tc2 { padding: 0; width: 30px; } .browse.rlist .relhid .tc3 { width: auto } +.browse.rlist .relhid .tc4 { text-align: right } .rlist .done { font-weight: normal; color: #0c0 } .rlist .todo { font-weight: normal; color: #c00 } |