]> iEval git - gruntmaster-page.git/blobdiff - lib/Gruntmaster/Page/Ct.pm
Heeere's Plack/PSGI!
[gruntmaster-page.git] / lib / Gruntmaster / Page / Ct.pm
index ac035854dd637a48824a8787e49c7924c117d0d7..4aa3254c4a58daccead353d15daf2659bc9e8297 100644 (file)
@@ -11,7 +11,7 @@ use constant TEMPLATES => {
        en => <<'HTML',
 <tmpl_if running>
 <h1>Running contests</h1>
-<table border>
+<table border class="table table-bordered table-striped">
 <thead>
 <tr><th>Name<th>Start date<th>End date<th>Owner
 <tbody>
@@ -25,7 +25,7 @@ use constant TEMPLATES => {
 
 <tmpl_if pending>
 <h1>Pending contests</h1>
-<table border>
+<table border class="table table-bordered table-striped">
 <thead>
 <tr><th>Name<th>Start date<th>End date<th>Owner
 <tbody>
@@ -39,7 +39,7 @@ use constant TEMPLATES => {
 
 <tmpl_if finished>
 <h1>Finished contests</h1>
-<table border>
+<table border class="table table-bordered table-striped">
 <thead>
 <tr><th>Name<th>Start date<th>End date<th>Owner
 <tbody>
@@ -54,7 +54,8 @@ HTML
 };
 
 sub _generate{
-       my ($self, $htc, $path, $lang) = @_;
+       my ($self, $htc, $lang, $logger) = @_;
+       debug $logger => "language is '$lang'";
 
        my (@running, @pending, @finished);
        for (contests) {
This page took 0.016518 seconds and 4 git commands to generate.