[Pcsclite-cvs-commit] r3394 - in /website: matrix.py shouldwork.css unsupported.css webpage.template

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Fri Mar 27 14:06:51 UTC 2009


Author: rousseau
Date: Fri Mar 27 14:06:51 2009
New Revision: 3394

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=3394
Log:
add a CSS for each section

Added:
    website/shouldwork.css
    website/unsupported.css
Modified:
    website/matrix.py
    website/webpage.template

Modified: website/matrix.py
URL: http://svn.debian.org/wsvn/pcsclite/website/matrix.py?rev=3394&op=diff
==============================================================================
--- website/matrix.py (original)
+++ website/matrix.py Fri Mar 27 14:06:51 2009
@@ -112,7 +112,7 @@
     template = templayer.HTMLTemplate("webpage.template")
     file_writer = template.start_file(file=file(section + ".html", "w"))
     main_layer = file_writer.open(date=time.asctime(),
-        title=title, comment=comment)
+        title=title, comment=comment, section=section)
     
     # for each manufacturer
     for m in manufacturers:

Added: website/shouldwork.css
URL: http://svn.debian.org/wsvn/pcsclite/website/shouldwork.css?rev=3394&op=file
==============================================================================
--- website/shouldwork.css (added)
+++ website/shouldwork.css Fri Mar 27 14:06:51 2009
@@ -1,0 +1,4 @@
+body{background:#eff;}
+h1{background:#5ff;}
+h2{background:#66f;}
+h3{background:#aaf;}

Added: website/unsupported.css
URL: http://svn.debian.org/wsvn/pcsclite/website/unsupported.css?rev=3394&op=file
==============================================================================
--- website/unsupported.css (added)
+++ website/unsupported.css Fri Mar 27 14:06:51 2009
@@ -1,0 +1,4 @@
+body{background:#fdd;}
+h1{background:#f00;}
+h2{background:#f66;}
+h3{background:#faa;}

Modified: website/webpage.template
URL: http://svn.debian.org/wsvn/pcsclite/website/webpage.template?rev=3394&op=diff
==============================================================================
--- website/webpage.template (original)
+++ website/webpage.template Fri Mar 27 14:06:51 2009
@@ -11,6 +11,7 @@
     <title>%title%</title>
     <meta name="author" lang="en" content="list of supported CCID readers">
     <link rel="stylesheet" type="text/css" href="default.css">
+    <link rel="stylesheet" type="text/css" href="%section%.css">
   </head>
 
   <body>




More information about the Pcsclite-cvs-commit mailing list