From: Marius Gavrilescu Date: Fri, 27 Feb 2015 10:43:28 +0000 (+0200) Subject: Make job list more compact X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=392487d620d90bca05d8706930d567be9eefb16b;p=gruntmaster-page.git Make job list more compact --- diff --git a/lib/Plack/App/Gruntmaster/HTML.pm b/lib/Plack/App/Gruntmaster/HTML.pm index 7fa63f5..f9f1eb7 100644 --- a/lib/Plack/App/Gruntmaster/HTML.pm +++ b/lib/Plack/App/Gruntmaster/HTML.pm @@ -234,9 +234,7 @@ sub process_log { $tr->fclass('contest')->namedlink($data->{contest}, $data->{contest_name}) if $data->{contest}; $tr->fclass('contest')->replace_content('None') unless $data->{contest}; $tr->fclass('date')->replace_content(ftime $data->{date}); - $tr->fclass('format')->replace_content($data->{format}); - $tr->fclass('size')->namedlink("$data->{id}.$data->{extension}", sprintf "%.2fKB", $data->{size}/1024); - $tr->fclass('size')->attr('data-private', '') if $data->{private}; + $tr->fclass('source')->namedlink("$data->{id}.$data->{extension}", sprintf "%.2fKB %s", $data->{size}/1024, $data->{format}); $tr->fclass('owner')->namedlink($data->{owner}, $data->{owner_name}); $tr->fclass('result_text')->replace_content($data->{result_text}); $tr->fclass('result_text')->attr(class => "r$data->{result}"); diff --git a/tmpl/log.en b/tmpl/log.en index c95d82b..b81e6ef 100644 --- a/tmpl/log.en +++ b/tmpl/log.en @@ -1,13 +1,12 @@ - - +
IDProblemContestDateFormatSizeUserResult
+
IDProblemContestDateSourceUserResult
Job ID Problem name Contest name Date -Format -3.14KB +3.14KB CPP Owner name