Sha256: c34a89ccc17d4ad42f9f8df430c6f5ae14ad670e0dbd700775b4464d55044128

Contents?: true

Size: 1.98 KB

Versions: 12

Compression:

Stored size: 1.98 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'
                  ) + " #{I18n.t('authentication.logout')}",
                signout_path,
                method: :delete,
                escape: true,
                id: 'signout-button'
              )
              %>
            <% else %>
              <%=
              link_to(
                content_tag(
                  'i',
                  nil,
                  class: 'fa fa-power-off'
                  ) + " #{I18n.t('authentication.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

12 entries across 12 versions & 1 rubygems

Version Path
adminpanel-2.2.5 app/views/layouts/_top_bar.html.erb
adminpanel-2.2.4 app/views/layouts/_top_bar.html.erb
adminpanel-2.2.3 app/views/layouts/_top_bar.html.erb
adminpanel-2.2.2 app/views/layouts/_top_bar.html.erb
adminpanel-2.2.1 app/views/layouts/_top_bar.html.erb
adminpanel-2.2.0 app/views/layouts/_top_bar.html.erb
adminpanel-2.1.7 app/views/layouts/_top_bar.html.erb
adminpanel-2.1.6 app/views/layouts/_top_bar.html.erb
adminpanel-2.1.5 app/views/layouts/_top_bar.html.erb
adminpanel-2.1.3 app/views/layouts/_top_bar.html.erb
adminpanel-2.1.2 app/views/layouts/_top_bar.html.erb
adminpanel-2.1.1 app/views/layouts/_top_bar.html.erb