orbit-basic/app/views/layouts/_side_bar.html.erb

21 lines
785 B
Plaintext
Raw Normal View History

2012-10-15 07:30:48 +00:00
<div id="main-sidebar" class="my_scroll">
<div id="position">
2012-11-27 03:15: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') %>
</ul>
</div>
</div>
2012-05-15 20:35:19 +00:00
</div>