[Pcsclite-cvs-commit] r3429 - /website/matrix.py
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Fri Apr 10 09:46:24 UTC 2009
Author: rousseau
Date: Fri Apr 10 09:46:24 2009
New Revision: 3429
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=3429
Log:
add documentation and title
Modified:
website/matrix.py
Modified: website/matrix.py
URL: http://svn.debian.org/wsvn/pcsclite/website/matrix.py?rev=3429&op=diff
==============================================================================
--- website/matrix.py (original)
+++ website/matrix.py Fri Apr 10 09:46:24 2009
@@ -174,7 +174,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
- <title>Title</title>
+ <title>%s</title>
<link rel="stylesheet" type="text/css" href="default.css">
</head>
<body>"""
@@ -182,9 +182,21 @@
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-2404298-2"; urchinTracker(); </script>
</body>
</html>"""
+ documentation = """
+ <p>Click on the column header to sort by that column.</p>
+ <p>The background color indicates the section of the reader:
+ <table border="1">
+ <tr><td>supported</td>
+ <td bgcolor="#aff">should work</td>
+ <td bgcolor="#faa">unsupported</td></tr></table></p>
+ """
file = open(field + ".html", "w")
- file.write(header)
+ title = "Readers sorted by '%s' field" % field
+ file.write(header % title)
+
+ file.write("<h1>" + title + "</h1>")
+ file.write(documentation)
file.write('<table border="1" summary="">\n')
More information about the Pcsclite-cvs-commit
mailing list