From 5b9f51525091f439f52936f970b9765119389187 Mon Sep 17 00:00:00 2001 From: Mike McLean Date: Jan 22 2012 01:45:02 +0000 Subject: new approach for web themes --- diff --git a/www/conf/kojiweb.conf b/www/conf/kojiweb.conf index 96c8dd7..a82c050 100644 --- a/www/conf/kojiweb.conf +++ b/www/conf/kojiweb.conf @@ -12,6 +12,7 @@ Alias /koji "/usr/share/koji-web/scripts/" PythonOption SiteName Koji PythonOption KojiHubURL http://hub.example.com/kojihub PythonOption KojiFilesURL http://server.example.com/mnt/koji + #PythonOption KojiTheme mytheme PythonOption WebPrincipal koji/web@EXAMPLE.COM PythonOption WebKeytab /etc/httpd.keytab PythonOption WebCCache /var/tmp/kojiweb.ccache diff --git a/www/kojiweb/buildsbystatus.chtml b/www/kojiweb/buildsbystatus.chtml index 8a27dd0..be7b6cb 100644 --- a/www/kojiweb/buildsbystatus.chtml +++ b/www/kojiweb/buildsbystatus.chtml @@ -37,17 +37,17 @@ Succeeded - graph row + graph row $numSucceeded Failed - graph row + graph row $numFailed Canceled - graph row + graph row $numCanceled diff --git a/www/kojiweb/buildsbytarget.chtml b/www/kojiweb/buildsbytarget.chtml index e68cb5b..97a7e7b 100644 --- a/www/kojiweb/buildsbytarget.chtml +++ b/www/kojiweb/buildsbytarget.chtml @@ -62,7 +62,7 @@ #for $target in $targets $target.name - graph row + graph row $target.builds #end for diff --git a/www/kojiweb/buildsbyuser.chtml b/www/kojiweb/buildsbyuser.chtml index e3740fa..002f645 100644 --- a/www/kojiweb/buildsbyuser.chtml +++ b/www/kojiweb/buildsbyuser.chtml @@ -36,7 +36,7 @@ #for $userBuild in $userBuilds $userBuild.name - graph row + graph row $userBuild.builds #end for diff --git a/www/kojiweb/includes/footer.chtml b/www/kojiweb/includes/footer.chtml index 4ed3b85..058c88b 100644 --- a/www/kojiweb/includes/footer.chtml +++ b/www/kojiweb/includes/footer.chtml @@ -1,8 +1,9 @@ +#from kojiweb import util #set $localfooterpath="/usr/share/koji-web/local/extra-footer.html" diff --git a/www/kojiweb/includes/header.chtml b/www/kojiweb/includes/header.chtml index a320483..850250d 100644 --- a/www/kojiweb/includes/header.chtml +++ b/www/kojiweb/includes/header.chtml @@ -1,5 +1,6 @@ #encoding utf-8 #import koji +#from kojiweb import util #import random @@ -33,9 +34,9 @@ $title | $siteName - - - + + + @@ -45,7 +46,7 @@