pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jahew...@apache.org
Subject svn commit: r1649664 - in /pdfbox/cmssite/trunk: content/css/site.css templates/skeleton.html
Date Mon, 05 Jan 2015 21:16:53 GMT
Author: jahewson
Date: Mon Jan  5 21:16:52 2015
New Revision: 1649664

URL: http://svn.apache.org/r1649664
Log:
Put cookbook into sidebar tree

Modified:
    pdfbox/cmssite/trunk/content/css/site.css
    pdfbox/cmssite/trunk/templates/skeleton.html

Modified: pdfbox/cmssite/trunk/content/css/site.css
URL: http://svn.apache.org/viewvc/pdfbox/cmssite/trunk/content/css/site.css?rev=1649664&r1=1649663&r2=1649664&view=diff
==============================================================================
--- pdfbox/cmssite/trunk/content/css/site.css (original)
+++ pdfbox/cmssite/trunk/content/css/site.css Mon Jan  5 21:16:52 2015
@@ -130,7 +130,7 @@ table tr:nth-child(even) td, table tr.ev
 }
 
 .sidebar li.sidebar-node > a {
-    padding-left: 0px;
+    padding-left: 5px;
 }
 
 .sidebar-node.collapsed > ul{

Modified: pdfbox/cmssite/trunk/templates/skeleton.html
URL: http://svn.apache.org/viewvc/pdfbox/cmssite/trunk/templates/skeleton.html?rev=1649664&r1=1649663&r2=1649664&view=diff
==============================================================================
--- pdfbox/cmssite/trunk/templates/skeleton.html (original)
+++ pdfbox/cmssite/trunk/templates/skeleton.html Mon Jan  5 21:16:52 2015
@@ -49,8 +49,9 @@
     <script src="/bootstrap/js/bootstrap.min.js"></script>
     <script type="text/javascript">
         $(function() {
-            $('.sidebar-node').click(function() {
-                $(this).toggleClass('collapsed');
+            $('.sidebar-node > a').click(function(e) {
+                $(this).parent().toggleClass('collapsed');
+                e.preventDefault();
             });
         });
     </script>
@@ -94,17 +95,15 @@
                         <ul>
                             <li><a href="/1.8/architecture.html">Architecture</a></li>
                             <li><a href="/1.8/dependencies.html">Dependencies</a></li>
-                            <li class="dropdown">
-                                <a class="dropdown-toggle" data-toggle="dropdown" href="#">
-                                    Cookbook <b class="caret"></b>
-                                </a>
-                                <ul class="dropdown-menu">
+                            <li class="sidebar-node collapsed">
+                                <a href="#">Cookbook</a>
+                                <ul>
                                     <li><a href="/1.8/cookbook/documentcreation.html">Document
Creation</a></li>
                                     <li><a href="/1.8/cookbook/textextraction.html">Text
Extraction</a></li>
-                                    <li><a href="/1.8/cookbook/pdfavalidation.html">PDF/A
Validation</a></li>
                                     <li><a href="/1.8/cookbook/workingwithfonts.html">Working
with Fonts</a></li>
                                     <li><a href="/1.8/cookbook/workingwithmetadata.html">Working
with Metadata</a></li>
                                     <li><a href="/1.8/cookbook/workingwithattachments.html">Working
with Attachments</a></li>
+                                    <li><a href="/1.8/cookbook/pdfavalidation.html">PDF/A
Validation</a></li>
                                     <li><a href="/1.8/cookbook/pdfacreation.html">Creating
a PDF/A document</a></li>
                                 </ul>
                             </li>



Mime
View raw message