Difference between revisions of "Template:Exeter"
(5 intermediate revisions by the same user not shown) | |||
Line 459: | Line 459: | ||
.navbar-search { | .navbar-search { | ||
− | width: | + | width:200px; |
padding-left:25px; | padding-left:25px; | ||
float:right; | float:right; | ||
+ | display: inline-block; | ||
} | } | ||
.navbar-search button { | .navbar-search button { | ||
Line 467: | Line 468: | ||
} | } | ||
</style> | </style> | ||
− | + | <!-- | |
− | <script | + | <script> |
− | document. | + | (function() { |
− | + | var cx = '013872312295473225681:zjqk8ipootc'; | |
− | + | var gcse = document.createElement('script'); | |
− | + | gcse.type = 'text/javascript'; | |
+ | gcse.async = true; | ||
+ | gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + | ||
+ | '//cse.google.com/cse.js?cx=' + cx; | ||
+ | var s = document.getElementsByTagName('script')[0]; | ||
+ | s.parentNode.insertBefore(gcse, s); | ||
+ | })(); | ||
</script> | </script> | ||
− | + | <gcse:search></gcse:search> | |
+ | --> | ||
<script> | <script> | ||
$(document).ready(function() { | $(document).ready(function() { | ||
Line 617: | Line 625: | ||
</li> | </li> | ||
<li class="navbar-search"> | <li class="navbar-search"> | ||
− | <div class="input-group custom-search-form"> | + | <!--<div class="input-group custom-search-form"> |
<form id="frmSearch" method="get" action="default.html" /> | <form id="frmSearch" method="get" action="default.html" /> | ||
<input id="txtSearch" type="text" class="form-control" placeholder="Search..."> | <input id="txtSearch" type="text" class="form-control" placeholder="Search..."> | ||
Line 625: | Line 633: | ||
</button> | </button> | ||
</span> | </span> | ||
− | </div> | + | </div>--> |
+ | <searchbox | ||
+ | label="Search this wiki for:" | ||
+ | searchlabel="Find it..." | ||
+ | golabel="Go!" | ||
+ | /> | ||
<!-- /input-group --> | <!-- /input-group --> | ||
</li> | </li> |
Latest revision as of 01:14, 19 September 2015