accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhava...@apache.org
Subject svn commit: r1581459 - in /accumulo/site/branches/redesign14: content/1.4/examples/index.mdtext content/1.5/examples/index.mdtext templates/nav.html templates/skeleton.html
Date Tue, 25 Mar 2014 18:43:21 GMT
Author: bhavanki
Date: Tue Mar 25 18:43:21 2014
New Revision: 1581459

URL: http://svn.apache.org/r1581459
Log:
Add active nav indicators for example index pages, and properly support pages without a Nav
header.

Modified:
    accumulo/site/branches/redesign14/content/1.4/examples/index.mdtext
    accumulo/site/branches/redesign14/content/1.5/examples/index.mdtext
    accumulo/site/branches/redesign14/templates/nav.html
    accumulo/site/branches/redesign14/templates/skeleton.html

Modified: accumulo/site/branches/redesign14/content/1.4/examples/index.mdtext
URL: http://svn.apache.org/viewvc/accumulo/site/branches/redesign14/content/1.4/examples/index.mdtext?rev=1581459&r1=1581458&r2=1581459&view=diff
==============================================================================
--- accumulo/site/branches/redesign14/content/1.4/examples/index.mdtext (original)
+++ accumulo/site/branches/redesign14/content/1.4/examples/index.mdtext Tue Mar 25 18:43:21
2014
@@ -1,4 +1,5 @@
 Title: Apache Accumulo Examples
+Nav: nav_examples_1_4
 Notice:    Licensed to the Apache Software Foundation (ASF) under one
            or more contributor license agreements.  See the NOTICE file
            distributed with this work for additional information

Modified: accumulo/site/branches/redesign14/content/1.5/examples/index.mdtext
URL: http://svn.apache.org/viewvc/accumulo/site/branches/redesign14/content/1.5/examples/index.mdtext?rev=1581459&r1=1581458&r2=1581459&view=diff
==============================================================================
--- accumulo/site/branches/redesign14/content/1.5/examples/index.mdtext (original)
+++ accumulo/site/branches/redesign14/content/1.5/examples/index.mdtext Tue Mar 25 18:43:21
2014
@@ -1,4 +1,5 @@
 Title: Apache Accumulo Examples
+Nav: nav_examples_1_5
 Notice:    Licensed to the Apache Software Foundation (ASF) under one
            or more contributor license agreements.  See the NOTICE file
            distributed with this work for additional information

Modified: accumulo/site/branches/redesign14/templates/nav.html
URL: http://svn.apache.org/viewvc/accumulo/site/branches/redesign14/templates/nav.html?rev=1581459&r1=1581458&r2=1581459&view=diff
==============================================================================
--- accumulo/site/branches/redesign14/templates/nav.html (original)
+++ accumulo/site/branches/redesign14/templates/nav.html Tue Mar 25 18:43:21 2014
@@ -56,8 +56,8 @@
 <li><a href="/1.5/apidocs">1.5</a></li>
 <li class="divider"</li>
 <li class="dropdown-header">Examples</li>
-<li><a href="/1.4/examples">1.4</a></li>
-<li><a href="/1.5/examples">1.5</a></li>
+<li id="nav_examples_1_4"><a href="/1.4/examples">1.4</a></li>
+<li id="nav_examples_1_5"><a href="/1.5/examples">1.5</a></li>
 <li class="divider"></li>
 <li id="nav_screenshots"><a href="/screenshots.html">Screenshots</a></li>
 <li id="nav_papers"><a href="/papers.html">Papers &amp; Other Links</a></li>

Modified: accumulo/site/branches/redesign14/templates/skeleton.html
URL: http://svn.apache.org/viewvc/accumulo/site/branches/redesign14/templates/skeleton.html?rev=1581459&r1=1581458&r2=1581459&view=diff
==============================================================================
--- accumulo/site/branches/redesign14/templates/skeleton.html (original)
+++ accumulo/site/branches/redesign14/templates/skeleton.html Tue Mar 25 18:43:21 2014
@@ -89,7 +89,9 @@
 </div>
 
 <script type="text/javascript">
+{% if headers.nav %}
 $("#{{headers.nav}}").addClass("active");
+{% endif %}
 </script>
 </body>
 </html>



Mime
View raw message