Add missing icons and css for icons in layout

This commit is contained in:
chris 2012-12-03 22:31:00 +08:00
parent 9254b9960d
commit 9c6c622a49
4 changed files with 4 additions and 2 deletions

View File

@ -12,4 +12,5 @@
*= require desktopmedia *= require desktopmedia
*= require orbitTimeline *= require orbitTimeline
*= require orbit-bar *= require orbit-bar
*= require icons
*/ */

View File

@ -13,4 +13,5 @@
*= require scroll_style *= require scroll_style
*= require site_items *= require site_items
*= require sidebar *= require sidebar
*= require icons
*/ */

View File

@ -12,7 +12,7 @@ module Admin::ItemsHelper
end end
ret << "<li id='#{node.id}' class='#{no_nested}'>" ret << "<li id='#{node.id}' class='#{no_nested}'>"
# ret << "<i class='icons-moves'></i>" # ret << "<i class='icons-moves'></i>"
ret << "<div class='with_action'><i class='icons-moves'></i>" ret << "<div class='with_action'><i class='icons-cplus'></i>"
ret << (link_to node.title, dest, :class => 'js_history') ret << (link_to node.title, dest, :class => 'js_history')
ret << "<div class='quick-edit hide'>" ret << "<div class='quick-edit hide'>"
ret << (link_to t(:edit), eval("edit_admin_#{node.class.to_s.downcase}_path(node)"), :class => 'js_history') if node.class.to_s.eql?('Page') ret << (link_to t(:edit), eval("edit_admin_#{node.class.to_s.downcase}_path(node)"), :class => 'js_history') if node.class.to_s.eql?('Page')

View File

@ -54,7 +54,7 @@
</li> </li>
<% else %> <% else %>
<li class="dropdown bar-login"> <li class="dropdown bar-login">
<a class="dropdown-toggle orbit-bar-member" href="#"><%= t(:login) %></a> <a class="dropdown-toggle orbit-bar-member" href="#" data-icon="inlog"></a>
<div class="dropdown-menu"> <div class="dropdown-menu">
<ul class="log"> <ul class="log">
<li class="title hide"></li> <li class="title hide"></li>