Sha256: d8f87c8f8c0480dc2cda75ae7ad6a2ef6a3cd2e02bdb4068ac7ecb0d610bc772

Contents?: true

Size: 1.19 KB

Versions: 2

Compression:

Stored size: 1.19 KB

Contents

!!! 5
%html{lang: 'en'}
  %head
    %title #{Flms.application_name} administration
    %meta{name:"viewport", content:"width=device-width, initial-scale=1.0"}
    = stylesheet_link_tag 'flms/admin', media: 'all'
    = csrf_meta_tags

  %body{class: "#{params[:controller].sub('/', ' ')} #{params[:action]}"}
    - unless notice.blank?
      %p.flash.notice= notice
    - unless alert.blank?
      %p.flash.alert= alert

    .container-narrow

      .masthead
        %ul.nav.nav-pills.pull-right
          - clazz = params[:controller] == 'flms/dashboard' ? 'active' : ''
          %li{class: clazz}
            %a{href: "/flms"}
              %d.icon-home
              Home
          - clazz = ['flms/pages', 'flms/blocks'].include?(params[:controller]) ? 'active' : ''
          %li{class: clazz}
            %a{href: "/flms/pages"}
              %i.icon-book
              Pages
          - clazz = params[:controller] == 'flms/users' ? 'active' : ''
          %li{class: clazz}
            %a{href: "/flms/users"}
              %i.icon-user
              Users
        %h3.muted #{Flms.application_name} administration
      -#%hr

      = yield

      = javascript_include_tag 'flms/admin'
      = yield :js

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
flms-0.0.3 app/views/layouts/flms/admin.html.haml
flms-0.0.2 app/views/layouts/flms/admin.html.haml