Sha256: ab940acdee54b45693735790122f2499769dafc0508d80da9aa6652b88aaac2f
Contents?: true
Size: 1.88 KB
Versions: 2
Compression:
Stored size: 1.88 KB
Contents
%nav#topbar.navbar.navbar-expand-md.navbar-dark.bg-dark.py-1.px-3 %button.navbar-toggler.navbar-toggler-right{"aria-controls" => "navbarTopmenu", "aria-expanded" => "false", "aria-label" => "Toggle navigation", "data-target" => "#navbarTopmenu", "data-toggle" => "collapse", :type => "button"} %span.navbar-toggler-icon =link_to '/'+Optimacms.config.admin_namespace, class: "navbar-brand text-white" do %i.fa.fa-cube OptimaCMS #navbarTopmenu.collapse.navbar-collapse -#%form.form-inline.ml-auto.my-lg-0 .input-group %span#basic-addon1.input-group-addon @ %input.form-control{"aria-describedby" => "basic-addon1", :placeholder => "Username", :type => "text"}/ .ml-auto = render 'optimacms/admin/shared/menu_user' -##topbar.navbar.navbar-default -#%button.navbar-toggle.pull-left( data-target="#sidebar" type="button") %span.sr-only Toggle sidebar %span.icon-bar %span.icon-bar %span.icon-bar -#.navbar-header.pull-left <a class="navbar-brand" href="#"><small><i class="fa fa-cube"></i> Admin</small></a> -#.navbar-buttons.pull-right(role="navigation") %ul.nav -#%li =link_to 'Login', new_user_session_path %li %a.dropdown-toggle(href="#" data-toggle="dropdown" aria-expanded="true") %span.user-info Admin %i.fa.fa-caret-down %ul.dropdown-menu-right.dropdown-menu %li %a{:href => '#'} = fa_icon "user" #{current_cms_admin_user.email} %li <a href="#"><i class="fa fa-cog"></i> Settings</a> %li <a href="profile.html"><i class="fa fa-user"></i> Profile</a> %li.divider %li =link_to destroy_cms_admin_user_session_path, :method => :delete do = fa_icon "fa-power-off" Logout
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
optimacms-0.4.3 | app/views/optimacms/admin/shared/_header.html.haml |
optimacms-0.4.2 | app/views/optimacms/admin/shared/_header.html.haml |