diff options
author | 2017-02-15 18:56:24 +0530 | |
---|---|---|
committer | 2017-02-15 19:08:18 +0530 | |
commit | 51d1dd9fd95ce32247ec950235e2e91966390310 (patch) | |
tree | 80625af5e3fab0aa66d475e15e20048d6b8899ca /vnfcatalogue/VNF_Catalogue/public/javascripts | |
parent | 44afde12259d551b74cd0a5d66637e53443ad045 (diff) |
Added Search_Results Page
Also added animations and actions pertaining
to index and search_results page.
Change-Id: If3966991f165626ca2b13a4ac62af6a777a22903
Signed-off-by: Kumar Rishabh <shailrishabh@gmail.com>
Diffstat (limited to 'vnfcatalogue/VNF_Catalogue/public/javascripts')
-rw-r--r-- | vnfcatalogue/VNF_Catalogue/public/javascripts/global.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/vnfcatalogue/VNF_Catalogue/public/javascripts/global.js b/vnfcatalogue/VNF_Catalogue/public/javascripts/global.js index 73f16b6..3ae20d1 100644 --- a/vnfcatalogue/VNF_Catalogue/public/javascripts/global.js +++ b/vnfcatalogue/VNF_Catalogue/public/javascripts/global.js @@ -8,9 +8,20 @@ *******************************************************************************/
$(document).ready( function() {
+ $(".button-collapse").sideNav();
$('#Search').click(function() {
var tags = $('#Tags').val().toLowerCase().split(/[ ,]+/);
window.location.href = '/search_projects?tags=' + tags;
return false;
});
+ $('#SearchSpan').click(function(){
+ var tags = $('#Tags').val().toLowerCase().split(/[ ,]+/);
+ window.location.href = '/search_projects?tags=' + tags;
+ return false;
+ });
+ $('div.form-group-custom i.material-icons').click(function(e){
+ var tags = $('#Tags').val().toLowerCase().split(/[ ,]+/);
+ window.location.href = '/search_projects?tags=' + tags;
+ return false;
+ });
});
|