html5/spec toc-status.html,1.6,1.7 tocmix.xsl,1.6,1.7

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv29806

Modified Files:
	toc-status.html tocmix.xsl 
Log Message:
added edit-status links to toc-status.html


Index: toc-status.html
===================================================================
RCS file: /sources/public/html5/spec/toc-status.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- toc-status.html	25 Jul 2009 19:15:14 -0000	1.6
+++ toc-status.html	26 Jul 2009 05:19:44 -0000	1.7
@@ -4,6 +4,7 @@
 <title>Draft status by section</title><style>
         body { font-family: sans-serif; }
         li { margin: 4px; list-style-type: none; }
+        a.status { text-decoration: none; }
         .status { padding: 1px; border: 1px solid white; }
         .status.UNKNOWN { background: gray; color: white; }
         .status.TBW { background: red; color: white; }
@@ -18,1636 +19,1638 @@
         .status.SPLITFD { background: navy; color: white; }
         .status.SPLIT/*CR*/ { background: navy; color: white; }
         .status.SPLITREC { background: navy; color: white; }
[...2372 lines suppressed...]
 using other technologies that are further described herein</a>
 <ol>
-<li><a href="../spec/#localization">13.1
+<li><a href="http://www.whatwg.org/specs/web-apps/current-work/edit-section.html?section=localization" class="status ADD">ADD</a> <a href="../spec/#localization">13.1
 Localization</a></li>
-<li><a href="../spec/#declarative-3d-scenes">13.2 Declarative 3D scenes</a></li>
-<li><a href="../spec/#rendering-and-the-dom">13.3 Rendering and the DOM</a></li>
+<li><a href="http://www.whatwg.org/specs/web-apps/current-work/edit-section.html?section=declarative-3d-scenes" class="status ADD">ADD</a> <a href="../spec/#declarative-3d-scenes">13.2 Declarative 3D scenes</a></li>
+<li><a href="http://www.whatwg.org/specs/web-apps/current-work/edit-section.html?section=rendering-and-the-dom" class="status ADD">ADD</a> <a href="../spec/#rendering-and-the-dom">13.3 Rendering and the DOM</a></li>
 </ol>
 </li>
-<li><b class="status TBW">TBW</b> <a href="../spec/#index">Index</a></li>
-<li><b class="status TBW">TBW</b> <a href="../spec/#references">References</a></li>
-<li><b class="status WIP">WIP</b> <a href="../spec/#acknowledgements">Acknowledgements</a></li>
+<li><a href="http://www.whatwg.org/specs/web-apps/current-work/edit-section.html?section=index" class="status TBW">TBW</a> <a href="../spec/#index">Index</a></li>
+<li><a href="http://www.whatwg.org/specs/web-apps/current-work/edit-section.html?section=references" class="status TBW">TBW</a> <a href="../spec/#references">References</a></li>
+<li><a href="http://www.whatwg.org/specs/web-apps/current-work/edit-section.html?section=acknowledgements" class="status WIP">WIP</a> <a href="../spec/#acknowledgements">Acknowledgements</a></li>
 
 </body>
 </html>

Index: tocmix.xsl
===================================================================
RCS file: /sources/public/html5/spec/tocmix.xsl,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- tocmix.xsl	25 Jul 2009 19:15:14 -0000	1.6
+++ tocmix.xsl	26 Jul 2009 05:19:44 -0000	1.7
@@ -20,15 +20,24 @@
       select="substring(h:a/@href, 2)" />
     <xsl:variable name="entry"
       select="$AnnoDB/annotations/entry[@section=$frag]" />
+    <xsl:variable name="status">
+      <xsl:choose>
+        <xsl:when test="$entry">
+          <xsl:value-of select="$entry/@status"/>
+        </xsl:when>
+        <xsl:otherwise>ADD</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
     <!-- * <xsl:message> -->
       <!-- * TOC section: <xsl:value-of select="$frag"/> <xsl:value-of select="$entry"/> -->
-    <!-- * </xsl:message> -->
+      <!-- * </xsl:message> -->
     <xsl:copy>
       <xsl:apply-templates select="@*" mode="toc"/>
-      <xsl:if test="$entry">
-        <b class="status {$entry/@status}"><xsl:value-of select="$entry/@status" /></b>
-        <xsl:text> </xsl:text>
-      </xsl:if>
+      <a
+        href="http://www.whatwg.org/specs/web-apps/current-work/edit-section.html?section={$frag}"
+        class="status {$status}"
+        ><xsl:value-of select="$status" /></a>
+      <xsl:text> </xsl:text>
       <xsl:apply-templates select="node()" mode="toc"/>
     </xsl:copy>
   </xsl:template>
@@ -50,6 +59,7 @@
       <style>
         body { font-family: sans-serif; }
         li { margin: 4px; list-style-type: none; }
+        a.status { text-decoration: none; }
         .status { padding: 1px; border: 1px solid white; }
         .status.UNKNOWN { background: gray; color: white; }
         .status.TBW { background: red; color: white; }
@@ -64,6 +74,8 @@
         .status.SPLITFD { background: navy; color: white; }
         .status.SPLIT/*CR*/ { background: navy; color: white; }
         .status.SPLITREC { background: navy; color: white; }
+        .status.ADD { background: white; color: white; }
+        a.status.ADD:hover{ background: purple; color: white; }
       </style>
       <xsl:text>&#10;</xsl:text>
     </head>

Received on Sunday, 26 July 2009 05:19:55 UTC