Sha256: ce9c0441624bc37f75f72c50f338e4c6476a14446f0cdd65c9383aa9057622fb

Contents?: true

Size: 1.99 KB

Versions: 33

Compression:

Stored size: 1.99 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 signout_path, method: "delete", title: 'Logout', id: "signout-button" do %>
                <i class="fa fa-power-off"></i>
              <% end %>
            <% end %>
          </li>
        </ul>
      </div>

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

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
adminpanel-3.6.1 app/views/layouts/adminpanel/_top_bar.html.erb
adminpanel-3.6.0 app/views/layouts/adminpanel/_top_bar.html.erb
adminpanel-3.5.1 app/views/layouts/adminpanel/_top_bar.html.erb
adminpanel-3.5.0 app/views/layouts/adminpanel/_top_bar.html.erb
adminpanel-3.4.7 app/views/layouts/adminpanel/_top_bar.html.erb
adminpanel-3.4.6 app/views/layouts/adminpanel/_top_bar.html.erb
adminpanel-3.4.5 app/views/layouts/adminpanel/_top_bar.html.erb
adminpanel-3.4.4 app/views/layouts/adminpanel/_top_bar.html.erb
adminpanel-3.4.3 app/views/layouts/adminpanel/_top_bar.html.erb
adminpanel-3.4.2 app/views/layouts/adminpanel/_top_bar.html.erb
adminpanel-3.4.1 app/views/layouts/adminpanel/_top_bar.html.erb
adminpanel-3.4.0 app/views/layouts/adminpanel/_top_bar.html.erb
adminpanel-3.3.4 app/views/layouts/adminpanel/_top_bar.html.erb
adminpanel-3.3.3 app/views/layouts/adminpanel/_top_bar.html.erb
adminpanel-3.3.0 app/views/layouts/adminpanel/_top_bar.html.erb
adminpanel-3.2.1 app/views/layouts/adminpanel/_top_bar.html.erb
adminpanel-3.2.0 app/views/layouts/adminpanel/_top_bar.html.erb
adminpanel-3.1.0 app/views/layouts/adminpanel/_top_bar.html.erb
adminpanel-3.0.0 app/views/layouts/adminpanel/_top_bar.html.erb
adminpanel-2.6.1 app/views/layouts/adminpanel/_top_bar.html.erb