You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@steve.apache.org by ad...@apache.org on 2013/12/08 17:57:43 UTC

svn commit: r1549064 - /steve/site/trunk/templates/skeleton.html

Author: adc
Date: Sun Dec  8 16:57:42 2013
New Revision: 1549064

URL: http://svn.apache.org/r1549064
Log:
Another attempt at navbar formatting

Modified:
    steve/site/trunk/templates/skeleton.html

Modified: steve/site/trunk/templates/skeleton.html
URL: http://svn.apache.org/viewvc/steve/site/trunk/templates/skeleton.html?rev=1549064&r1=1549063&r2=1549064&view=diff
==============================================================================
--- steve/site/trunk/templates/skeleton.html (original)
+++ steve/site/trunk/templates/skeleton.html Sun Dec  8 16:57:42 2013
@@ -48,8 +48,8 @@
 
 <body>
 
-<div class="container">
-  <header class="navbar navbar-inverse navbar-fixed-top" role="navigation">
+<header class="navbar navbar-inverse navbar-fixed-top" role="navigation">
+  <div class="container">
     <div class="navbar-header">
       <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
         <span class="sr-only">Toggle navigation</span>
@@ -80,31 +80,17 @@
       <form class="navbar-form navbar-right" role="form" id="searchbox_015652626304508016898:osdr2lxru7s" action="http://www.google.com/cse">
         <input type="hidden" name="cx" value="015652626304508016898:osdr2lxru7s">
         <input type="hidden" name="cof" value="FORID:0">
-        <input name="q" type="text" placeholder="Search">
+
+        <div class="form-group">
+          <input name="q" type="text" placeholder="Search">
+        </div>
       </form>
-      <!--<SCRIPT type="text/javascript" src="http://www.google.com/coop/cse/brand?form=searchbox_015652626304508016898"></SCRIPT>-->
-      <!-- Google CSE Search Box Ends -->
     </div>
-  </header>
-
-</div>
+  </div>
+</header>
 
 
 <div class="container">
-  <script>
-    (function ()
-    {
-      var cx = '015652626304508016898:osdr2lxru7s';
-      var gcse = document.createElement('script');
-      gcse.type = 'text/javascript';
-      gcse.async = true;
-      gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
-                 '//www.google.com/cse/cse.js?cx=' + cx;
-      var s = document.getElementsByTagName('script')[0];
-      s.parentNode.insertBefore(gcse, s);
-    })();
-  </script>
-  <gcse:search></gcse:search>
 
   {% block content %}{{ content|markdown }}{% endblock %}