Permalink
Browse files

add search glyph

  • Loading branch information...
1 parent 3ed4830 commit 12092da97df5a271ba09d517d27eadf5155b152a @ghostandthemachine ghostandthemachine committed Oct 11, 2012
@@ -403,5 +403,10 @@
top: -2px;
}
+#search-input {
+ background: white url(/images/glyphicons_027_search_small.png) left no-repeat;
+ padding-left: 18px;
+}
+
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -5,7 +5,7 @@
%a.brand{:href => "/user/#{session[:user].user_name}/dashboard"} Project X
-else
%a.brand{:href => '/'} Project X
- / %input.search-query.nav-search#search-input{:type => 'text', :placeholder => "Search"}
+ %input.search-query.nav-search#search-input{:type => 'text', :placeholder => "Search"}
-if logged_in?
%ul.nav.pull-right
%li.dropdown
@@ -38,21 +38,22 @@
%a{:href => "/logout"}
%i.icon-off
Logout
+ -if logged_in?
%ol.user-links.nav.pull-right
%li
.notifier-icon
%a#notifications-tooltip{href: '#', rel: "tooltip", "data-original-title".to_sym => "Notifications", "data-placement".to_sym => "bottom"}
%img{src: "/images/glyphicons/png/glyphicons_010_envelope.png"}
- if true # should look for new notifications
.notifier-badge
- .notifier-value= 10
+ .notifier-value= session[:user].r_messages.all(new_message: true).count
%li
%a{href: '#'}
%icon.icon-th-large
%li
%a{href: '#'}
%icon.icon-calendar
- -else
+ -else
%ul.nav.pull-right
%li
%a{:href => "/register"}

0 comments on commit 12092da

Please sign in to comment.