Difference between revisions of "Template:Exeter"
(10 intermediate revisions by the same user not shown) | |||
Line 459: | Line 459: | ||
.navbar-search { | .navbar-search { | ||
− | width: | + | width:200px; |
+ | padding-left:25px; | ||
float:right; | float:right; | ||
+ | display: inline-block; | ||
} | } | ||
.navbar-search button { | .navbar-search button { | ||
Line 466: | Line 468: | ||
} | } | ||
</style> | </style> | ||
− | + | <!-- | |
+ | <script> | ||
+ | (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> | ||
+ | <gcse:search></gcse:search> | ||
+ | --> | ||
<script> | <script> | ||
$(document).ready(function() { | $(document).ready(function() { | ||
Line 609: | 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"> |
− | <input type="text" class="form-control" placeholder="Search..."> | + | <form id="frmSearch" method="get" action="default.html" /> |
+ | <input id="txtSearch" type="text" class="form-control" placeholder="Search..."> | ||
<span class="input-group-btn"> | <span class="input-group-btn"> | ||
<button class="btn btn-default" type="button"> | <button class="btn btn-default" type="button"> | ||
− | <img src="https://static.igem.org/mediawiki/2015/d/d2/ExeterSearch.png" height=" | + | <img src="https://static.igem.org/mediawiki/2015/d/d2/ExeterSearch.png" height="20px;"> |
</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