[Pcsclite-cvs-commit] r5170 - in /website: ccid_extended_apdu.html matrix.py webpage.template

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Sun Aug 22 11:57:44 UTC 2010


Author: rousseau
Date: Sun Aug 22 11:57:42 2010
New Revision: 5170

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5170
Log:
Add flattr links

Modified:
    website/ccid_extended_apdu.html
    website/matrix.py
    website/webpage.template

Modified: website/ccid_extended_apdu.html
URL: http://svn.debian.org/wsvn/pcsclite/website/ccid_extended_apdu.html?rev=5170&op=diff
==============================================================================
--- website/ccid_extended_apdu.html (original)
+++ website/ccid_extended_apdu.html Sun Aug 22 11:57:42 2010
@@ -5,6 +5,19 @@
 <head>
 <title>Extended APDU support</title>
 <link rel="stylesheet" type="text/css" href="default.css" />
+<script type="text/javascript">
+/* <![CDATA[ */
+    (function() {
+        var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
+
+        s.type = 'text/javascript';
+        s.async = true;
+        s.src = 'http://api.flattr.com/js/0.5.0/load.js?mode=auto';
+
+        t.parentNode.insertBefore(s, t);
+    })();
+/* ]]> */
+</script>
 </head>
 
 <body>
@@ -12,6 +25,9 @@
 
 <p>The CCID driver supports extended APDU. But this support may be limited
 by the smart card reader itself.</p>
+
+<p><a class="FlattrButton" style="display:none;"
+      href="http://pcsclite.alioth.debian.org/ccid.html"></a></p>
 
 <h2>Readers that will NOT work with extended APDU</h2>
 

Modified: website/matrix.py
URL: http://svn.debian.org/wsvn/pcsclite/website/matrix.py?rev=5170&op=diff
==============================================================================
--- website/matrix.py (original)
+++ website/matrix.py Sun Aug 22 11:57:42 2010
@@ -329,6 +329,19 @@
     <title>%s</title>
     <link rel="stylesheet" type="text/css" href="default.css">
     <link rel="stylesheet" type="text/css" href="matrix.css">
+<script type="text/javascript">
+/* <![CDATA[ */
+    (function() {
+        var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
+        
+        s.type = 'text/javascript';
+        s.async = true;
+        s.src = 'http://api.flattr.com/js/0.5.0/load.js?mode=auto';
+        
+        t.parentNode.insertBefore(s, t);
+    })();
+/* ]]> */
+</script>
   </head>
   <body>"""
 
@@ -347,14 +360,18 @@
 </html>"""
 
     documentation = """
-    <p>Click on the column header to sort by that column.</p>
-    <p>The background color indicates the section of the reader:</p>
+    <ul>
+    <li>Click on the column header to sort by that column.</li>
+    <li>The background color indicates the section of the reader:
     <table border="1" summary="color codes">
     <tr>
     <td class="supported">supported</td>
     <td class="shouldwork">should work</td>
     <td class="unsupported">unsupported</td>
-    </tr></table>
+    </tr></table></li>
+    <li><a class="FlattrButton" style="display:none;"
+            href="http://pcsclite.alioth.debian.org/ccid.html"></a></li>
+    </ul>
     """
 
     file = open(field + ".html", "w")

Modified: website/webpage.template
URL: http://svn.debian.org/wsvn/pcsclite/website/webpage.template?rev=5170&op=diff
==============================================================================
--- website/webpage.template (original)
+++ website/webpage.template Sun Aug 22 11:57:42 2010
@@ -12,6 +12,19 @@
     <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">
+<script type="text/javascript">
+/* <![CDATA[ */
+    (function() {
+        var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
+        
+        s.type = 'text/javascript';
+        s.async = true;
+        s.src = 'http://api.flattr.com/js/0.5.0/load.js?mode=auto';
+        
+        t.parentNode.insertBefore(s, t);
+    })();
+/* ]]> */
+</script>
   </head>
 
   <body>
@@ -19,6 +32,9 @@
     <h1>%title%</h1>
 
     <p>%comment%</p>
+
+    <p><a class="FlattrButton" style="display:none;"
+            href="http://pcsclite.alioth.debian.org/ccid.html"></a></p>
 
     <h2>List in alphabetical order of manufacturer</h2>
 




More information about the Pcsclite-cvs-commit mailing list