Fiix layout for safari

This commit is contained in:
chris 2013-07-29 17:34:29 +08:00
parent d190a50046
commit f332a3191a
2 changed files with 9 additions and 9 deletions

View File

@ -2,8 +2,6 @@
<h2 class="position"> <h2 class="position">
<%= link_to content_tag(:i, nil, :class => (local_assigns.has_key? :icon) ? icon : 'icons-gauge'), (local_assigns.has_key? :link_url) ? link_url : admin_dashboards_path %> <%= link_to content_tag(:i, nil, :class => (local_assigns.has_key? :icon) ? icon : 'icons-gauge'), (local_assigns.has_key? :link_url) ? link_url : admin_dashboards_path %>
</h2> </h2>
<div id="sidebar-menu">
<%= render ((local_assigns.has_key? :side_bar_content) ? side_bar_content : 'layouts/side_bar_content') %> <%= render ((local_assigns.has_key? :side_bar_content) ? side_bar_content : 'layouts/side_bar_content') %>
</div>
<div class="sub-nav-arrow"></div> <div class="sub-nav-arrow"></div>
</nav> </nav>

View File

@ -1,3 +1,4 @@
<div id="sidebar-menu">
<div class="scroller"> <div class="scroller">
<ul class="sidebar-nav"> <ul class="sidebar-nav">
<% OrbitApp::Module::SideBarRegisition.all.each do |t| %> <% OrbitApp::Module::SideBarRegisition.all.each do |t| %>
@ -5,6 +6,7 @@
<% end %> <% end %>
</ul> </ul>
</div> </div>
</div>
<div class="sub-nav-block-list"> <div class="sub-nav-block-list">
<% OrbitApp::Module::SideBarRegisition.all.each do |t| %> <% OrbitApp::Module::SideBarRegisition.all.each do |t| %>