Sha256: d0d26772596d31931392277e78cba4fd21817cd14554e679612b1d2084bfbc41

Contents?: true

Size: 1.56 KB

Versions: 3

Compression:

Stored size: 1.56 KB

Contents

<div class="navbar navbar-fixed-top">
  <div class="navbar-inner">
    <div class="container-fluid">
      <div class="logo">
        <%= link_to image_tag("adminpanel/codn.png", :alt => "logo"), main_root_path, :target => '_blank' %>
      </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 => 'fa fa-power-off') + ' Logout', signout_path, :method => "delete", :escape => true %>
            <% else %>
              <%= link_to content_tag('i', nil, :class => 'fa fa-power-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 => 'fa fa-power-off'), signout_path, :method => "delete", :title => 'Logout', :id => "signout-button" %>
            <% end %>
          </li>
        </ul>
      </div>

    </div>
  </div>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
adminpanel-2.1.0 app/views/layouts/_top_bar.html.erb
adminpanel-2.0.1 app/views/layouts/_top_bar.html.erb
adminpanel-2.0.0 app/views/layouts/_top_bar.html.erb