]> iEval git - plack-app-gruntmaster.git/blobdiff - lib/Gruntmaster/Page/St.pm
Add nice tables to standings
[plack-app-gruntmaster.git] / lib / Gruntmaster / Page / St.pm
index 97d0d065d48e3990aff57b514a553cf58020defa..a812cfa0124b89bee6481e8a6b94cafed6cfd4e3 100644 (file)
@@ -9,7 +9,7 @@ our $VERSION = '0.001';
 
 use constant TEMPLATES => {
        en => <<'HTML',
-<table border>
+<table border class="table table-border table-striped">
 <thead>
 <tmpl_if problems><tr><th>Username<tmpl_loop problems><th><tmpl_var _></tmpl_loop><th>Total
 <tmpl_else><tr><th>Username<th>Score
@@ -45,8 +45,8 @@ sub calc_score{
 }
 
 sub _generate{
-       my ($self, $htc, $lang, $logger, $ct) = @_;
-       debug $logger => "language is '$lang' and contest is '$ct'";
+       my ($self, $htc, $lang, $env, $ct) = @_;
+       debug $env => "language is '$lang' and contest is '$ct'";
        my ($totaltime, $start);
 
        local $Gruntmaster::Data::contest;
This page took 0.024013 seconds and 4 git commands to generate.