Orbit/app/views/layouts/_side_bar.html.erb

21 lines
786 B
Plaintext
Raw Permalink Normal View History

2012-10-15 07:30:48 +00:00
<div id="main-sidebar" class="my_scroll">
<div id="position">
2012-12-03 17:12:15 +00:00
<%= link_to content_tag(:i, nil, :class => (local_assigns.has_key? :icon) ? icon : 'icons-gauge') + content_tag(:span, (local_assigns.has_key? :link_name) ? link_name : t(:dashboard_)), (local_assigns.has_key? :link_url) ? link_url : admin_dashboards_path %>
2012-10-15 07:30:48 +00:00
<div id="collapse-menu"><i class="icon-chevron-right"></i><i class="icon-chevron-right"></i></div>
</div>
<div class="scrollbar">
<div class="track">
<div class="thumb">
<div class="end"></div>
</div>
</div>
</div>
<div class="viewport">
<div class="overview">
<ul class="nav nav-list">
<%= render ((local_assigns.has_key? :side_bar_content) ? side_bar_content : 'layouts/side_bar_content') %>
2012-10-15 07:30:48 +00:00
</ul>
</div>
</div>
2012-05-15 20:35:19 +00:00
</div>