diff options
author | hardythe1 | 2014-10-28 15:01:51 +0530 |
---|---|---|
committer | hardythe1 | 2014-10-28 15:01:51 +0530 |
commit | bb5688c683a80c5de77505e42be228f46c369254 (patch) | |
tree | 3c951536eefa31f030fa509f6e4f025dfcf86681 /tbc | |
parent | 7aacfc7134ad8c23cea28366b9bd9fb5ee47ac1f (diff) | |
parent | 63fe48b1d91f3ccc6ca2368623fd39a87a3413b3 (diff) | |
download | Python-TBC-Interface-bb5688c683a80c5de77505e42be228f46c369254.tar.gz Python-TBC-Interface-bb5688c683a80c5de77505e42be228f46c369254.tar.bz2 Python-TBC-Interface-bb5688c683a80c5de77505e42be228f46c369254.zip |
Merge branch 'master' of https://github.com/FOSSEE/Python-TBC-Interface
Diffstat (limited to 'tbc')
-rwxr-xr-x | tbc/templates/base.html | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/tbc/templates/base.html b/tbc/templates/base.html index a9061be..e17d9bb 100755 --- a/tbc/templates/base.html +++ b/tbc/templates/base.html @@ -53,6 +53,11 @@ input[type="password"] { width: 100%; } + .gsc-search-button, + .gsc-clear-button { + position: relative; + top: -2px; + } </style> {% block css %} @@ -177,8 +182,24 @@ </center> <div class="clearfix"></div> {% endif %} + <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 = '005232764670660293566:hel7xfbbpf0'; + 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> + </div> + <div style="clear:both;"></div> <div class="row-fluid"> - <center><h3>Recent Submissions</h3></center> {% for item in items %} <div class ="module-list"> <a href="{% url 'tbc:BookDetails' item.book.id %}"><img src="{% static 'uploads/' %}{{ item.image.image }}"></a> |