pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msahy...@apache.org
Subject svn commit: r971576 [2/2] - in /websites/production/pdfbox/content: ./ 1.8/ 1.8/cookbook/ 2.0/ 2.0/cookbook/ css/ errors/
Date Fri, 06 Nov 2015 16:39:51 GMT
Modified: websites/production/pdfbox/content/download.html
==============================================================================
--- websites/production/pdfbox/content/download.html (original)
+++ websites/production/pdfbox/content/download.html Fri Nov  6 16:39:50 2015
@@ -39,38 +39,7 @@
      
     
     
-    
-    <!-- Twitter Bootstrap and jQuery after this line. -->
-    <script src="//code.jquery.com/jquery-latest.js"></script>
-    <script src="/bootstrap/js/bootstrap.min.js"></script>
-    <script type="text/javascript">
-        $(function() {
-            // collapse tree nodes dynamically to support noscript
-            $('.sidebar-node').addClass('collapsed');
-            
 
-            // toggle expand/collapse
-            $('.sidebar-node > a').click(function(e) {
-                $(this).parent().toggleClass('collapsed');
-                e.preventDefault();
-            });
-
-            // preserve expand/collapse across page navigation
-            var path = document.location.pathname;
-            if (path.indexOf('/2.0') == 0) {
-                $('#v2-0').removeClass('collapsed');
-                if (path.indexOf('/2.0/cookbook') == 0) {
-                    $('#v2-0-cookbook').removeClass('collapsed');
-                }
-            } else {
-                $('#v1-8').removeClass('collapsed');
-                if (path.indexOf('/1.8/cookbook') == 0) {
-                    $('#v1-8-cookbook').removeClass('collapsed');
-                }
-            }
-
-        });
-    </script>
 </head>
 
 <body>
@@ -80,14 +49,17 @@
           <a href="/index.html">
             <img class="logo" src="/images/logo-head.gif">
           </a>
+          <p class="pull-right visible-xs">
+            <button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Menu</button>
+          </p>
         </div>
       </div>
     </nav>
     
     <div class="container">
         
-        <div class="row">
-            <div class="col-xs-3">
+        <div class="row row-offcanvas row-offcanvas-left">
+            <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar">
                 
                 <ul class="sidebar">
                     <li class="sidebar-header">Apache PDFBox</li>
@@ -158,7 +130,7 @@
                     <li><a href="http://www.apache.org/security/">Security</a></li>
                 </ul>
             </div>
-            <div class="col-xs-9">
+            <div class="col-xs-12 col-sm-9">
                 <h1>Downloads</h1>
 
 <p>There are several ways to obtain the PDFBox binaries or sources:</p>
@@ -432,6 +404,46 @@ Section 740.13) for both object code and
             </div>
         </div>
     </footer>
+
+        <!-- Twitter Bootstrap and jQuery after this line. -->
+    <script src="//code.jquery.com/jquery-latest.js"></script>
+    <script src="/bootstrap/js/bootstrap.min.js"></script>
+    <script type="text/javascript">
+        
+        $(document).ready(function () {
+                $('[data-toggle="offcanvas"]').click(function () {
+                $('.row-offcanvas').toggleClass('active')
+            });
+        });
+        
+        $(function() {
+            // collapse tree nodes dynamically to support noscript
+            $('.sidebar-node').addClass('collapsed');
+            
+
+            // toggle expand/collapse
+            $('.sidebar-node > a').click(function(e) {
+                $(this).parent().toggleClass('collapsed');
+                e.preventDefault();
+            });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+                if (path.indexOf('/2.0/cookbook') == 0) {
+                    $('#v2-0-cookbook').removeClass('collapsed');
+                }
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
+
+        });
+    </script>
+
 </body>
 
 </html>
\ No newline at end of file

Modified: websites/production/pdfbox/content/errors/403.html
==============================================================================
--- websites/production/pdfbox/content/errors/403.html (original)
+++ websites/production/pdfbox/content/errors/403.html Fri Nov  6 16:39:50 2015
@@ -39,38 +39,7 @@
      
     
     
-    
-    <!-- Twitter Bootstrap and jQuery after this line. -->
-    <script src="//code.jquery.com/jquery-latest.js"></script>
-    <script src="/bootstrap/js/bootstrap.min.js"></script>
-    <script type="text/javascript">
-        $(function() {
-            // collapse tree nodes dynamically to support noscript
-            $('.sidebar-node').addClass('collapsed');
-            
 
-            // toggle expand/collapse
-            $('.sidebar-node > a').click(function(e) {
-                $(this).parent().toggleClass('collapsed');
-                e.preventDefault();
-            });
-
-            // preserve expand/collapse across page navigation
-            var path = document.location.pathname;
-            if (path.indexOf('/2.0') == 0) {
-                $('#v2-0').removeClass('collapsed');
-                if (path.indexOf('/2.0/cookbook') == 0) {
-                    $('#v2-0-cookbook').removeClass('collapsed');
-                }
-            } else {
-                $('#v1-8').removeClass('collapsed');
-                if (path.indexOf('/1.8/cookbook') == 0) {
-                    $('#v1-8-cookbook').removeClass('collapsed');
-                }
-            }
-
-        });
-    </script>
 </head>
 
 <body>
@@ -80,14 +49,17 @@
           <a href="/index.html">
             <img class="logo" src="/images/logo-head.gif">
           </a>
+          <p class="pull-right visible-xs">
+            <button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Menu</button>
+          </p>
         </div>
       </div>
     </nav>
     
     <div class="container">
         
-        <div class="row">
-            <div class="col-xs-3">
+        <div class="row row-offcanvas row-offcanvas-left">
+            <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar">
                 
                 <ul class="sidebar">
                     <li class="sidebar-header">Apache PDFBox</li>
@@ -158,7 +130,7 @@
                     <li><a href="http://www.apache.org/security/">Security</a></li>
                 </ul>
             </div>
-            <div class="col-xs-9">
+            <div class="col-xs-12 col-sm-9">
                 <h1 id="403">403</h1>
 
 <p>We&#39;re sorry, but the page you requested cannot be accessed. </p>
@@ -189,6 +161,46 @@
             </div>
         </div>
     </footer>
+
+        <!-- Twitter Bootstrap and jQuery after this line. -->
+    <script src="//code.jquery.com/jquery-latest.js"></script>
+    <script src="/bootstrap/js/bootstrap.min.js"></script>
+    <script type="text/javascript">
+        
+        $(document).ready(function () {
+                $('[data-toggle="offcanvas"]').click(function () {
+                $('.row-offcanvas').toggleClass('active')
+            });
+        });
+        
+        $(function() {
+            // collapse tree nodes dynamically to support noscript
+            $('.sidebar-node').addClass('collapsed');
+            
+
+            // toggle expand/collapse
+            $('.sidebar-node > a').click(function(e) {
+                $(this).parent().toggleClass('collapsed');
+                e.preventDefault();
+            });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+                if (path.indexOf('/2.0/cookbook') == 0) {
+                    $('#v2-0-cookbook').removeClass('collapsed');
+                }
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
+
+        });
+    </script>
+
 </body>
 
 </html>
\ No newline at end of file

Modified: websites/production/pdfbox/content/errors/404.html
==============================================================================
--- websites/production/pdfbox/content/errors/404.html (original)
+++ websites/production/pdfbox/content/errors/404.html Fri Nov  6 16:39:50 2015
@@ -39,38 +39,7 @@
      
     
     
-    
-    <!-- Twitter Bootstrap and jQuery after this line. -->
-    <script src="//code.jquery.com/jquery-latest.js"></script>
-    <script src="/bootstrap/js/bootstrap.min.js"></script>
-    <script type="text/javascript">
-        $(function() {
-            // collapse tree nodes dynamically to support noscript
-            $('.sidebar-node').addClass('collapsed');
-            
 
-            // toggle expand/collapse
-            $('.sidebar-node > a').click(function(e) {
-                $(this).parent().toggleClass('collapsed');
-                e.preventDefault();
-            });
-
-            // preserve expand/collapse across page navigation
-            var path = document.location.pathname;
-            if (path.indexOf('/2.0') == 0) {
-                $('#v2-0').removeClass('collapsed');
-                if (path.indexOf('/2.0/cookbook') == 0) {
-                    $('#v2-0-cookbook').removeClass('collapsed');
-                }
-            } else {
-                $('#v1-8').removeClass('collapsed');
-                if (path.indexOf('/1.8/cookbook') == 0) {
-                    $('#v1-8-cookbook').removeClass('collapsed');
-                }
-            }
-
-        });
-    </script>
 </head>
 
 <body>
@@ -80,14 +49,17 @@
           <a href="/index.html">
             <img class="logo" src="/images/logo-head.gif">
           </a>
+          <p class="pull-right visible-xs">
+            <button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Menu</button>
+          </p>
         </div>
       </div>
     </nav>
     
     <div class="container">
         
-        <div class="row">
-            <div class="col-xs-3">
+        <div class="row row-offcanvas row-offcanvas-left">
+            <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar">
                 
                 <ul class="sidebar">
                     <li class="sidebar-header">Apache PDFBox</li>
@@ -158,7 +130,7 @@
                     <li><a href="http://www.apache.org/security/">Security</a></li>
                 </ul>
             </div>
-            <div class="col-xs-9">
+            <div class="col-xs-12 col-sm-9">
                 <h1 id="404">404</h1>
 
 <p>We&#39;re sorry, but the page you requested cannot be found. </p>
@@ -189,6 +161,46 @@
             </div>
         </div>
     </footer>
+
+        <!-- Twitter Bootstrap and jQuery after this line. -->
+    <script src="//code.jquery.com/jquery-latest.js"></script>
+    <script src="/bootstrap/js/bootstrap.min.js"></script>
+    <script type="text/javascript">
+        
+        $(document).ready(function () {
+                $('[data-toggle="offcanvas"]').click(function () {
+                $('.row-offcanvas').toggleClass('active')
+            });
+        });
+        
+        $(function() {
+            // collapse tree nodes dynamically to support noscript
+            $('.sidebar-node').addClass('collapsed');
+            
+
+            // toggle expand/collapse
+            $('.sidebar-node > a').click(function(e) {
+                $(this).parent().toggleClass('collapsed');
+                e.preventDefault();
+            });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+                if (path.indexOf('/2.0/cookbook') == 0) {
+                    $('#v2-0-cookbook').removeClass('collapsed');
+                }
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
+
+        });
+    </script>
+
 </body>
 
 </html>
\ No newline at end of file

Modified: websites/production/pdfbox/content/ideas.html
==============================================================================
--- websites/production/pdfbox/content/ideas.html (original)
+++ websites/production/pdfbox/content/ideas.html Fri Nov  6 16:39:50 2015
@@ -39,38 +39,7 @@
      
     
     
-    
-    <!-- Twitter Bootstrap and jQuery after this line. -->
-    <script src="//code.jquery.com/jquery-latest.js"></script>
-    <script src="/bootstrap/js/bootstrap.min.js"></script>
-    <script type="text/javascript">
-        $(function() {
-            // collapse tree nodes dynamically to support noscript
-            $('.sidebar-node').addClass('collapsed');
-            
 
-            // toggle expand/collapse
-            $('.sidebar-node > a').click(function(e) {
-                $(this).parent().toggleClass('collapsed');
-                e.preventDefault();
-            });
-
-            // preserve expand/collapse across page navigation
-            var path = document.location.pathname;
-            if (path.indexOf('/2.0') == 0) {
-                $('#v2-0').removeClass('collapsed');
-                if (path.indexOf('/2.0/cookbook') == 0) {
-                    $('#v2-0-cookbook').removeClass('collapsed');
-                }
-            } else {
-                $('#v1-8').removeClass('collapsed');
-                if (path.indexOf('/1.8/cookbook') == 0) {
-                    $('#v1-8-cookbook').removeClass('collapsed');
-                }
-            }
-
-        });
-    </script>
 </head>
 
 <body>
@@ -80,14 +49,17 @@
           <a href="/index.html">
             <img class="logo" src="/images/logo-head.gif">
           </a>
+          <p class="pull-right visible-xs">
+            <button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Menu</button>
+          </p>
         </div>
       </div>
     </nav>
     
     <div class="container">
         
-        <div class="row">
-            <div class="col-xs-3">
+        <div class="row row-offcanvas row-offcanvas-left">
+            <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar">
                 
                 <ul class="sidebar">
                     <li class="sidebar-header">Apache PDFBox</li>
@@ -158,7 +130,7 @@
                     <li><a href="http://www.apache.org/security/">Security</a></li>
                 </ul>
             </div>
-            <div class="col-xs-9">
+            <div class="col-xs-12 col-sm-9">
                 <h1 id="ideas">Ideas</h1>
 
 <p>There are several ideas to enhance PDFBox. These are outlined below together with

@@ -263,6 +235,46 @@ level. This could in addition be a good
             </div>
         </div>
     </footer>
+
+        <!-- Twitter Bootstrap and jQuery after this line. -->
+    <script src="//code.jquery.com/jquery-latest.js"></script>
+    <script src="/bootstrap/js/bootstrap.min.js"></script>
+    <script type="text/javascript">
+        
+        $(document).ready(function () {
+                $('[data-toggle="offcanvas"]').click(function () {
+                $('.row-offcanvas').toggleClass('active')
+            });
+        });
+        
+        $(function() {
+            // collapse tree nodes dynamically to support noscript
+            $('.sidebar-node').addClass('collapsed');
+            
+
+            // toggle expand/collapse
+            $('.sidebar-node > a').click(function(e) {
+                $(this).parent().toggleClass('collapsed');
+                e.preventDefault();
+            });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+                if (path.indexOf('/2.0/cookbook') == 0) {
+                    $('#v2-0-cookbook').removeClass('collapsed');
+                }
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
+
+        });
+    </script>
+
 </body>
 
 </html>
\ No newline at end of file

Modified: websites/production/pdfbox/content/index.html
==============================================================================
--- websites/production/pdfbox/content/index.html (original)
+++ websites/production/pdfbox/content/index.html Fri Nov  6 16:39:50 2015
@@ -39,38 +39,7 @@
      
     
     
-    
-    <!-- Twitter Bootstrap and jQuery after this line. -->
-    <script src="//code.jquery.com/jquery-latest.js"></script>
-    <script src="/bootstrap/js/bootstrap.min.js"></script>
-    <script type="text/javascript">
-        $(function() {
-            // collapse tree nodes dynamically to support noscript
-            $('.sidebar-node').addClass('collapsed');
-            
 
-            // toggle expand/collapse
-            $('.sidebar-node > a').click(function(e) {
-                $(this).parent().toggleClass('collapsed');
-                e.preventDefault();
-            });
-
-            // preserve expand/collapse across page navigation
-            var path = document.location.pathname;
-            if (path.indexOf('/2.0') == 0) {
-                $('#v2-0').removeClass('collapsed');
-                if (path.indexOf('/2.0/cookbook') == 0) {
-                    $('#v2-0-cookbook').removeClass('collapsed');
-                }
-            } else {
-                $('#v1-8').removeClass('collapsed');
-                if (path.indexOf('/1.8/cookbook') == 0) {
-                    $('#v1-8-cookbook').removeClass('collapsed');
-                }
-            }
-
-        });
-    </script>
 </head>
 
 <body>
@@ -80,14 +49,17 @@
           <a href="/index.html">
             <img class="logo" src="/images/logo-head.gif">
           </a>
+          <p class="pull-right visible-xs">
+            <button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Menu</button>
+          </p>
         </div>
       </div>
     </nav>
     
     <div class="container">
         
-        <div class="row">
-            <div class="col-xs-3">
+        <div class="row row-offcanvas row-offcanvas-left">
+            <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar">
                 
                 <ul class="sidebar">
                     <li class="sidebar-header">Apache PDFBox</li>
@@ -158,7 +130,7 @@
                     <li><a href="http://www.apache.org/security/">Security</a></li>
                 </ul>
             </div>
-            <div class="col-xs-9">
+            <div class="col-xs-12 col-sm-9">
                 <h1 id="apache-pdfbox-a-java-pdf-library">Apache PDFBox - A Java PDF
Library</h1>
 
 <p class="lead">The Apache PDFBox™ library is an open source Java tool for working
with
@@ -239,6 +211,46 @@ skills. Subscribe to the <a href="/maili
             </div>
         </div>
     </footer>
+
+        <!-- Twitter Bootstrap and jQuery after this line. -->
+    <script src="//code.jquery.com/jquery-latest.js"></script>
+    <script src="/bootstrap/js/bootstrap.min.js"></script>
+    <script type="text/javascript">
+        
+        $(document).ready(function () {
+                $('[data-toggle="offcanvas"]').click(function () {
+                $('.row-offcanvas').toggleClass('active')
+            });
+        });
+        
+        $(function() {
+            // collapse tree nodes dynamically to support noscript
+            $('.sidebar-node').addClass('collapsed');
+            
+
+            // toggle expand/collapse
+            $('.sidebar-node > a').click(function(e) {
+                $(this).parent().toggleClass('collapsed');
+                e.preventDefault();
+            });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+                if (path.indexOf('/2.0/cookbook') == 0) {
+                    $('#v2-0-cookbook').removeClass('collapsed');
+                }
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
+
+        });
+    </script>
+
 </body>
 
 </html>
\ No newline at end of file

Modified: websites/production/pdfbox/content/mailinglists.html
==============================================================================
--- websites/production/pdfbox/content/mailinglists.html (original)
+++ websites/production/pdfbox/content/mailinglists.html Fri Nov  6 16:39:50 2015
@@ -39,38 +39,7 @@
      
     
     
-    
-    <!-- Twitter Bootstrap and jQuery after this line. -->
-    <script src="//code.jquery.com/jquery-latest.js"></script>
-    <script src="/bootstrap/js/bootstrap.min.js"></script>
-    <script type="text/javascript">
-        $(function() {
-            // collapse tree nodes dynamically to support noscript
-            $('.sidebar-node').addClass('collapsed');
-            
 
-            // toggle expand/collapse
-            $('.sidebar-node > a').click(function(e) {
-                $(this).parent().toggleClass('collapsed');
-                e.preventDefault();
-            });
-
-            // preserve expand/collapse across page navigation
-            var path = document.location.pathname;
-            if (path.indexOf('/2.0') == 0) {
-                $('#v2-0').removeClass('collapsed');
-                if (path.indexOf('/2.0/cookbook') == 0) {
-                    $('#v2-0-cookbook').removeClass('collapsed');
-                }
-            } else {
-                $('#v1-8').removeClass('collapsed');
-                if (path.indexOf('/1.8/cookbook') == 0) {
-                    $('#v1-8-cookbook').removeClass('collapsed');
-                }
-            }
-
-        });
-    </script>
 </head>
 
 <body>
@@ -80,14 +49,17 @@
           <a href="/index.html">
             <img class="logo" src="/images/logo-head.gif">
           </a>
+          <p class="pull-right visible-xs">
+            <button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Menu</button>
+          </p>
         </div>
       </div>
     </nav>
     
     <div class="container">
         
-        <div class="row">
-            <div class="col-xs-3">
+        <div class="row row-offcanvas row-offcanvas-left">
+            <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar">
                 
                 <ul class="sidebar">
                     <li class="sidebar-header">Apache PDFBox</li>
@@ -158,7 +130,7 @@
                     <li><a href="http://www.apache.org/security/">Security</a></li>
                 </ul>
             </div>
-            <div class="col-xs-9">
+            <div class="col-xs-12 col-sm-9">
                 <h1 id="mailing-lists">Mailing Lists</h1>
 
 <p>Mailing Lists are the primary communication channels for all projects at 
@@ -234,6 +206,46 @@ to the <strong>Commit Mailing List</stro
             </div>
         </div>
     </footer>
+
+        <!-- Twitter Bootstrap and jQuery after this line. -->
+    <script src="//code.jquery.com/jquery-latest.js"></script>
+    <script src="/bootstrap/js/bootstrap.min.js"></script>
+    <script type="text/javascript">
+        
+        $(document).ready(function () {
+                $('[data-toggle="offcanvas"]').click(function () {
+                $('.row-offcanvas').toggleClass('active')
+            });
+        });
+        
+        $(function() {
+            // collapse tree nodes dynamically to support noscript
+            $('.sidebar-node').addClass('collapsed');
+            
+
+            // toggle expand/collapse
+            $('.sidebar-node > a').click(function(e) {
+                $(this).parent().toggleClass('collapsed');
+                e.preventDefault();
+            });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+                if (path.indexOf('/2.0/cookbook') == 0) {
+                    $('#v2-0-cookbook').removeClass('collapsed');
+                }
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
+
+        });
+    </script>
+
 </body>
 
 </html>
\ No newline at end of file

Modified: websites/production/pdfbox/content/references.html
==============================================================================
--- websites/production/pdfbox/content/references.html (original)
+++ websites/production/pdfbox/content/references.html Fri Nov  6 16:39:50 2015
@@ -39,38 +39,7 @@
      
     
     
-    
-    <!-- Twitter Bootstrap and jQuery after this line. -->
-    <script src="//code.jquery.com/jquery-latest.js"></script>
-    <script src="/bootstrap/js/bootstrap.min.js"></script>
-    <script type="text/javascript">
-        $(function() {
-            // collapse tree nodes dynamically to support noscript
-            $('.sidebar-node').addClass('collapsed');
-            
 
-            // toggle expand/collapse
-            $('.sidebar-node > a').click(function(e) {
-                $(this).parent().toggleClass('collapsed');
-                e.preventDefault();
-            });
-
-            // preserve expand/collapse across page navigation
-            var path = document.location.pathname;
-            if (path.indexOf('/2.0') == 0) {
-                $('#v2-0').removeClass('collapsed');
-                if (path.indexOf('/2.0/cookbook') == 0) {
-                    $('#v2-0-cookbook').removeClass('collapsed');
-                }
-            } else {
-                $('#v1-8').removeClass('collapsed');
-                if (path.indexOf('/1.8/cookbook') == 0) {
-                    $('#v1-8-cookbook').removeClass('collapsed');
-                }
-            }
-
-        });
-    </script>
 </head>
 
 <body>
@@ -80,14 +49,17 @@
           <a href="/index.html">
             <img class="logo" src="/images/logo-head.gif">
           </a>
+          <p class="pull-right visible-xs">
+            <button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Menu</button>
+          </p>
         </div>
       </div>
     </nav>
     
     <div class="container">
         
-        <div class="row">
-            <div class="col-xs-3">
+        <div class="row row-offcanvas row-offcanvas-left">
+            <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar">
                 
                 <ul class="sidebar">
                     <li class="sidebar-header">Apache PDFBox</li>
@@ -158,7 +130,7 @@
                     <li><a href="http://www.apache.org/security/">Security</a></li>
                 </ul>
             </div>
-            <div class="col-xs-9">
+            <div class="col-xs-12 col-sm-9">
                 <h1 id="external-links">External Links</h1>
 
 <p>This page lists projects that utilize PDFBox and articles that have been written
about PDFBox. 
@@ -343,6 +315,46 @@ Please file an <a href="https://issues.a
             </div>
         </div>
     </footer>
+
+        <!-- Twitter Bootstrap and jQuery after this line. -->
+    <script src="//code.jquery.com/jquery-latest.js"></script>
+    <script src="/bootstrap/js/bootstrap.min.js"></script>
+    <script type="text/javascript">
+        
+        $(document).ready(function () {
+                $('[data-toggle="offcanvas"]').click(function () {
+                $('.row-offcanvas').toggleClass('active')
+            });
+        });
+        
+        $(function() {
+            // collapse tree nodes dynamically to support noscript
+            $('.sidebar-node').addClass('collapsed');
+            
+
+            // toggle expand/collapse
+            $('.sidebar-node > a').click(function(e) {
+                $(this).parent().toggleClass('collapsed');
+                e.preventDefault();
+            });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+                if (path.indexOf('/2.0/cookbook') == 0) {
+                    $('#v2-0-cookbook').removeClass('collapsed');
+                }
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
+
+        });
+    </script>
+
 </body>
 
 </html>
\ No newline at end of file

Modified: websites/production/pdfbox/content/siteupdate.html
==============================================================================
--- websites/production/pdfbox/content/siteupdate.html (original)
+++ websites/production/pdfbox/content/siteupdate.html Fri Nov  6 16:39:50 2015
@@ -39,38 +39,7 @@
      
     
     
-    
-    <!-- Twitter Bootstrap and jQuery after this line. -->
-    <script src="//code.jquery.com/jquery-latest.js"></script>
-    <script src="/bootstrap/js/bootstrap.min.js"></script>
-    <script type="text/javascript">
-        $(function() {
-            // collapse tree nodes dynamically to support noscript
-            $('.sidebar-node').addClass('collapsed');
-            
 
-            // toggle expand/collapse
-            $('.sidebar-node > a').click(function(e) {
-                $(this).parent().toggleClass('collapsed');
-                e.preventDefault();
-            });
-
-            // preserve expand/collapse across page navigation
-            var path = document.location.pathname;
-            if (path.indexOf('/2.0') == 0) {
-                $('#v2-0').removeClass('collapsed');
-                if (path.indexOf('/2.0/cookbook') == 0) {
-                    $('#v2-0-cookbook').removeClass('collapsed');
-                }
-            } else {
-                $('#v1-8').removeClass('collapsed');
-                if (path.indexOf('/1.8/cookbook') == 0) {
-                    $('#v1-8-cookbook').removeClass('collapsed');
-                }
-            }
-
-        });
-    </script>
 </head>
 
 <body>
@@ -80,14 +49,17 @@
           <a href="/index.html">
             <img class="logo" src="/images/logo-head.gif">
           </a>
+          <p class="pull-right visible-xs">
+            <button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Menu</button>
+          </p>
         </div>
       </div>
     </nav>
     
     <div class="container">
         
-        <div class="row">
-            <div class="col-xs-3">
+        <div class="row row-offcanvas row-offcanvas-left">
+            <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar">
                 
                 <ul class="sidebar">
                     <li class="sidebar-header">Apache PDFBox</li>
@@ -158,7 +130,7 @@
                     <li><a href="http://www.apache.org/security/">Security</a></li>
                 </ul>
             </div>
-            <div class="col-xs-9">
+            <div class="col-xs-12 col-sm-9">
                 <h1 id="updating-the-pdfbox-website">Updating the PDFBox Website</h1>
 
 <p>The content for the PDFBox website is kept in a <a href="https://git-wip-us.apache.org/repos/asf/pdfbox-docs">git
repository</a> which is also mirrored to <a href="https://github.com/apache/pdfbox-docs">GitHub</a>.
The site is split into two parts: the static content and the Javadoc for the PDFBox API. Both
parts are build independently as further described below.</p>
@@ -246,6 +218,46 @@ the changes to the PDFBox production web
             </div>
         </div>
     </footer>
+
+        <!-- Twitter Bootstrap and jQuery after this line. -->
+    <script src="//code.jquery.com/jquery-latest.js"></script>
+    <script src="/bootstrap/js/bootstrap.min.js"></script>
+    <script type="text/javascript">
+        
+        $(document).ready(function () {
+                $('[data-toggle="offcanvas"]').click(function () {
+                $('.row-offcanvas').toggleClass('active')
+            });
+        });
+        
+        $(function() {
+            // collapse tree nodes dynamically to support noscript
+            $('.sidebar-node').addClass('collapsed');
+            
+
+            // toggle expand/collapse
+            $('.sidebar-node > a').click(function(e) {
+                $(this).parent().toggleClass('collapsed');
+                e.preventDefault();
+            });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+                if (path.indexOf('/2.0/cookbook') == 0) {
+                    $('#v2-0-cookbook').removeClass('collapsed');
+                }
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
+
+        });
+    </script>
+
 </body>
 
 </html>
\ No newline at end of file

Modified: websites/production/pdfbox/content/support.html
==============================================================================
--- websites/production/pdfbox/content/support.html (original)
+++ websites/production/pdfbox/content/support.html Fri Nov  6 16:39:50 2015
@@ -39,38 +39,7 @@
      
     
     
-    
-    <!-- Twitter Bootstrap and jQuery after this line. -->
-    <script src="//code.jquery.com/jquery-latest.js"></script>
-    <script src="/bootstrap/js/bootstrap.min.js"></script>
-    <script type="text/javascript">
-        $(function() {
-            // collapse tree nodes dynamically to support noscript
-            $('.sidebar-node').addClass('collapsed');
-            
 
-            // toggle expand/collapse
-            $('.sidebar-node > a').click(function(e) {
-                $(this).parent().toggleClass('collapsed');
-                e.preventDefault();
-            });
-
-            // preserve expand/collapse across page navigation
-            var path = document.location.pathname;
-            if (path.indexOf('/2.0') == 0) {
-                $('#v2-0').removeClass('collapsed');
-                if (path.indexOf('/2.0/cookbook') == 0) {
-                    $('#v2-0-cookbook').removeClass('collapsed');
-                }
-            } else {
-                $('#v1-8').removeClass('collapsed');
-                if (path.indexOf('/1.8/cookbook') == 0) {
-                    $('#v1-8-cookbook').removeClass('collapsed');
-                }
-            }
-
-        });
-    </script>
 </head>
 
 <body>
@@ -80,14 +49,17 @@
           <a href="/index.html">
             <img class="logo" src="/images/logo-head.gif">
           </a>
+          <p class="pull-right visible-xs">
+            <button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Menu</button>
+          </p>
         </div>
       </div>
     </nav>
     
     <div class="container">
         
-        <div class="row">
-            <div class="col-xs-3">
+        <div class="row row-offcanvas row-offcanvas-left">
+            <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar">
                 
                 <ul class="sidebar">
                     <li class="sidebar-header">Apache PDFBox</li>
@@ -158,7 +130,7 @@
                     <li><a href="http://www.apache.org/security/">Security</a></li>
                 </ul>
             </div>
-            <div class="col-xs-9">
+            <div class="col-xs-12 col-sm-9">
                 <h1 id="support">Support</h1>
 
 <h2 id="questions-about-how-to-use-pdfbox">Questions about How to use PDFBox</h2>
@@ -230,6 +202,46 @@ before.</p>
             </div>
         </div>
     </footer>
+
+        <!-- Twitter Bootstrap and jQuery after this line. -->
+    <script src="//code.jquery.com/jquery-latest.js"></script>
+    <script src="/bootstrap/js/bootstrap.min.js"></script>
+    <script type="text/javascript">
+        
+        $(document).ready(function () {
+                $('[data-toggle="offcanvas"]').click(function () {
+                $('.row-offcanvas').toggleClass('active')
+            });
+        });
+        
+        $(function() {
+            // collapse tree nodes dynamically to support noscript
+            $('.sidebar-node').addClass('collapsed');
+            
+
+            // toggle expand/collapse
+            $('.sidebar-node > a').click(function(e) {
+                $(this).parent().toggleClass('collapsed');
+                e.preventDefault();
+            });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+                if (path.indexOf('/2.0/cookbook') == 0) {
+                    $('#v2-0-cookbook').removeClass('collapsed');
+                }
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
+
+        });
+    </script>
+
 </body>
 
 </html>
\ No newline at end of file

Modified: websites/production/pdfbox/content/team.html
==============================================================================
--- websites/production/pdfbox/content/team.html (original)
+++ websites/production/pdfbox/content/team.html Fri Nov  6 16:39:50 2015
@@ -39,38 +39,7 @@
      
     
     
-    
-    <!-- Twitter Bootstrap and jQuery after this line. -->
-    <script src="//code.jquery.com/jquery-latest.js"></script>
-    <script src="/bootstrap/js/bootstrap.min.js"></script>
-    <script type="text/javascript">
-        $(function() {
-            // collapse tree nodes dynamically to support noscript
-            $('.sidebar-node').addClass('collapsed');
-            
 
-            // toggle expand/collapse
-            $('.sidebar-node > a').click(function(e) {
-                $(this).parent().toggleClass('collapsed');
-                e.preventDefault();
-            });
-
-            // preserve expand/collapse across page navigation
-            var path = document.location.pathname;
-            if (path.indexOf('/2.0') == 0) {
-                $('#v2-0').removeClass('collapsed');
-                if (path.indexOf('/2.0/cookbook') == 0) {
-                    $('#v2-0-cookbook').removeClass('collapsed');
-                }
-            } else {
-                $('#v1-8').removeClass('collapsed');
-                if (path.indexOf('/1.8/cookbook') == 0) {
-                    $('#v1-8-cookbook').removeClass('collapsed');
-                }
-            }
-
-        });
-    </script>
 </head>
 
 <body>
@@ -80,14 +49,17 @@
           <a href="/index.html">
             <img class="logo" src="/images/logo-head.gif">
           </a>
+          <p class="pull-right visible-xs">
+            <button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Menu</button>
+          </p>
         </div>
       </div>
     </nav>
     
     <div class="container">
         
-        <div class="row">
-            <div class="col-xs-3">
+        <div class="row row-offcanvas row-offcanvas-left">
+            <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar">
                 
                 <ul class="sidebar">
                     <li class="sidebar-header">Apache PDFBox</li>
@@ -158,7 +130,7 @@
                     <li><a href="http://www.apache.org/security/">Security</a></li>
                 </ul>
             </div>
-            <div class="col-xs-9">
+            <div class="col-xs-12 col-sm-9">
                 <h1 id="project-team">Project Team</h1>
 
 <p>A successful project requires many people to play many roles. Some members write
code or documentation, while others are valuable as testers,
@@ -301,6 +273,46 @@ Get involved today. All contributions to
             </div>
         </div>
     </footer>
+
+        <!-- Twitter Bootstrap and jQuery after this line. -->
+    <script src="//code.jquery.com/jquery-latest.js"></script>
+    <script src="/bootstrap/js/bootstrap.min.js"></script>
+    <script type="text/javascript">
+        
+        $(document).ready(function () {
+                $('[data-toggle="offcanvas"]').click(function () {
+                $('.row-offcanvas').toggleClass('active')
+            });
+        });
+        
+        $(function() {
+            // collapse tree nodes dynamically to support noscript
+            $('.sidebar-node').addClass('collapsed');
+            
+
+            // toggle expand/collapse
+            $('.sidebar-node > a').click(function(e) {
+                $(this).parent().toggleClass('collapsed');
+                e.preventDefault();
+            });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+                if (path.indexOf('/2.0/cookbook') == 0) {
+                    $('#v2-0-cookbook').removeClass('collapsed');
+                }
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
+
+        });
+    </script>
+
 </body>
 
 </html>
\ No newline at end of file




Mime
View raw message