Sha256: c8648ff77ab0546c165f7a41cd0d05c91e5dba40ac41c3f66b029a88fac0435c

Contents?: true

Size: 1.53 KB

Versions: 9

Compression:

Stored size: 1.53 KB

Contents

<div class="navbar navbar-fixed-top">
  <div class="navbar-inner">
    <div class="container-fluid">
      <div class="logo"> 
        <%= link_to image_tag("logo.png", :alt => "logo"), main_root_path %>
      </div>
      <% if signed_in? %>
         <a class="btn btn-navbar visible-phone" data-toggle="collapse" data-target=".nav-collapse">
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </a>
         <a class="btn btn-navbar slide_menu_left visible-tablet">
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </a>
      <% end %>

      <div class="top-menu visible-desktop">
        <ul class="pull-right">  
          <li>
            <% if signed_in? %>
              <%= link_to content_tag('i', nil, :class => 'icon-off') + ' Logout', signout_path, :method => "delete", :escape => true %>
            <% else %>
              <%= link_to content_tag('i', nil, :class => 'icon-off') + ' Login', signin_path, :escape => true %>
            <% end %>
          </li>
        </ul>
      </div>
      
      <div class="top-menu visible-phone visible-tablet">
        <ul class="pull-right">  
          <li>
            <% if signed_in? %>
              <%= link_to content_tag('i', nil, :class => 'icon-off'), signout_path, :method => "delete", :title => 'Logout', :id => "signout-button" %>
            <% end %>
          </li>
        </ul>
      </div>
      
    </div>
  </div>
</div>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
adminpanel-1.2.7 app/views/layouts/_top_bar.html.erb
adminpanel-1.2.6 app/views/layouts/_top_bar.html.erb
adminpanel-1.2.5 app/views/layouts/_top_bar.html.erb
adminpanel-1.2.4 app/views/layouts/_top_bar.html.erb
adminpanel-1.2.3 app/views/layouts/_top_bar.html.erb
adminpanel-1.2.2 app/views/layouts/_top_bar.html.erb
adminpanel-1.2.1 app/views/layouts/_top_bar.html.erb
adminpanel-1.2.0 app/views/layouts/_top_bar.html.erb
adminpanel-1.1.0 app/views/layouts/_top_bar.html.erb