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">
<%= 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>
<div id="sidebar-menu">
<%= render ((local_assigns.has_key? :side_bar_content) ? side_bar_content : 'layouts/side_bar_content') %>
</div>
<%= render ((local_assigns.has_key? :side_bar_content) ? side_bar_content : 'layouts/side_bar_content') %>
<div class="sub-nav-arrow"></div>
</nav>

View File

@ -1,9 +1,11 @@
<div class="scroller">
<ul class="sidebar-nav">
<% OrbitApp::Module::SideBarRegisition.all.each do |t| %>
<%= t.render_head(request, params, current_user, @module_app) %>
<% end %>
</ul>
<div id="sidebar-menu">
<div class="scroller">
<ul class="sidebar-nav">
<% OrbitApp::Module::SideBarRegisition.all.each do |t| %>
<%= t.render_head(request, params, current_user, @module_app) %>
<% end %>
</ul>
</div>
</div>
<div class="sub-nav-block-list">