Sha256: 2409fa86502531cc30cb81753e2c49f33bc8f299d9acbd89532d47ca4181d11d
Contents?: true
Size: 1.49 KB
Versions: 35
Compression:
Stored size: 1.49 KB
Contents
<% environment.context_class.instance_eval { include ActionView::Helpers::UrlHelper } %> <% url = Faalis::Engine.routes.url_helpers %> <div class=""> <div class=""> <nav class="clearpadding top-bar"> <section class="top-bar-section"> <ul class="title-area"> <li><a href="#"><i class="fa-cog fa icon-medium fa-2x"></i></a></li> <!-- Title Area --> <li class="name brand"> <h1><%= Faalis::Engine.site_title %></h1> </li> <!-- Remove the class "menu-icon" to get rid of menu icon. Take out "Menu" to just have icon alone --> <li class="toggle-topbar menu-icon"><a href="#"><span>Menu</span></a></li> </ul> </section> <section class="top-bar-section"> <ul class="float-right"> <li class="has-dropdown"><a href="#"> {{_ 'Languages'}}</a> <ul class="dropdown"> <% ::I18n.available_locales.each do |locale| %> <li><a href="<%= "/#{locale.to_s}/#{Faalis::Engine.dashboard_namespace.to_s}/" %>"><%= locale %></a></li> <% end %> </ul> </li> <li class="has-dropdown"><a href="#">User{{ current_user.first_name }} {{ current_user.last_name }}</a> <ul class="dropdown"> <li><a href="">Dashboard</a></li> <li><a href="">Change Password</a></li> <li><a href="<%= url.destroy_user_session_path %>" data-method="delete">Sign Out</a></li> </ul> </li> </ul> </section> </nav> </div> </div>
Version data entries
35 entries across 35 versions & 1 rubygems