summaryrefslogtreecommitdiff
path: root/tbc
diff options
context:
space:
mode:
authorTrupti Rajesh Kini2017-02-23 16:36:21 +0530
committerGitHub2017-02-23 16:36:21 +0530
commita78b3a146e06851e8d7e8893f1ddf2999261cf6a (patch)
tree2b97485d909c5d3f51d6104af7db95b3e532be1a /tbc
parent5f058d18f30330a547788f3a243c89a956c574b6 (diff)
downloadPython-TBC-Interface-a78b3a146e06851e8d7e8893f1ddf2999261cf6a.tar.gz
Python-TBC-Interface-a78b3a146e06851e8d7e8893f1ddf2999261cf6a.tar.bz2
Python-TBC-Interface-a78b3a146e06851e8d7e8893f1ddf2999261cf6a.zip
Search results on same page
Diffstat (limited to 'tbc')
-rw-r--r--tbc/templates/base.html27
1 files changed, 13 insertions, 14 deletions
diff --git a/tbc/templates/base.html b/tbc/templates/base.html
index 645ceed..7bc4649 100644
--- a/tbc/templates/base.html
+++ b/tbc/templates/base.html
@@ -311,7 +311,7 @@ a.viewdescription:hover {background-color:#999; color: White;}
</center>
<div class="clearfix"></div>
{% endif %}
-<div style="float:right; margin-right: 50px; width: 400px;"><gcse:search></gcse:search>
+<div style="margin-right: 50px; width: 100%;"><gcse:search linktarget="_parent" enableHistory=True></gcse:search>
</div>
<script src="http://code.jquery.com/jquery-1.4.min.js" type="text/javascript"></script>
<script type="text/javascript">
@@ -353,7 +353,7 @@ a.viewdescription:hover {background-color:#999; color: White;}
</script>
- <div class="well span3" style="width:18%;margin-left:5px;margin-top:60px;">
+ <div class="well span3" style="width:18%;margin-left:5px">
<div class="nav nav-list">
<ul>
<li><a id="objective" href="#"><strong>Objective</strong></a></li>
@@ -409,18 +409,17 @@ a.viewdescription:hover {background-color:#999; color: White;}
<div class="row-fluid">
<h3 style='float: left;margin-left: 50px; display: inline-block;'>Recent Submissions</h3>
<div style="float:right; margin-right: 50px; width: 400px;">
- <script>
- (function() {
- var cx = '001620609421546248003:nyipppxclkw';
- 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>
+ <script>
+ (function() {
+ var cx = '009422730612774118498:mkvolg8osxm';
+ var gcse = document.createElement('script');
+ gcse.type = 'text/javascript';
+ gcse.async = true;
+ gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;
+ var s = document.getElementsByTagName('script')[0];
+ s.parentNode.insertBefore(gcse, s);
+ })();
+ </script>
</div>
<div style="clear:both;"></div>