diff --git a/app/assets/javascripts/sidebar.js b/app/assets/javascripts/sidebar.js index dbaa31eaf..97a48ebd0 100644 --- a/app/assets/javascripts/sidebar.js +++ b/app/assets/javascripts/sidebar.js @@ -6,7 +6,7 @@ context.JK.Sidebar = function(app) { var logger = context.JK.logger; - function populateFriendsPanel() { + function initializeFriendsPanel() { $('#sidebar-search-header').hide(); @@ -69,6 +69,14 @@ return false; } + function initializeNotificationsPanel() { + + } + + function initializeChatPanel() { + + } + // TODO: same code is in searchResults.js - REFACTOR function search(query) { @@ -194,9 +202,10 @@ this.initialize = function() { events(); - populateFriendsPanel(); + initializeFriendsPanel(); + initializeChatPanel(); + initializeNotificationsPanel(); }; }; - })(window,jQuery); \ No newline at end of file diff --git a/app/assets/stylesheets/client/sidebar.css.scss b/app/assets/stylesheets/client/sidebar.css.scss index 32972ff1e..a3e01fd19 100644 --- a/app/assets/stylesheets/client/sidebar.css.scss +++ b/app/assets/stylesheets/client/sidebar.css.scss @@ -213,7 +213,6 @@ } .result { - width:270px; display:block; position:relative; border-bottom:solid 1px #01545f; @@ -233,14 +232,17 @@ } .results-wrapper { - width: 270px; + width: 300px; overflow-y:auto; overflow-x:hidden; } .sidebar-search-connected { + text-align:center; + vertical-align:middle; background-color:#4c4c4c; - height:100%; + padding-bottom:10px; + font-size:11px; } } diff --git a/app/views/clients/_sidebar.html.erb b/app/views/clients/_sidebar.html.erb index b7ae4065f..49914e9df 100644 --- a/app/views/clients/_sidebar.html.erb +++ b/app/views/clients/_sidebar.html.erb @@ -33,9 +33,10 @@ -
+