Sha256: d84afedb71b40c4354241c908d781622951161a21f33977552f4336fb339dc79

Contents?: true

Size: 1.08 KB

Versions: 8

Compression:

Stored size: 1.08 KB

Contents

!!!
%html{ lang: 'en' }
  %head
    - engine_name = request.path_info.split('/')
    %title
      = "Workarea #{engine_name[1].capitalize} API"
      - if engine_name[3].present?
        = " - #{engine_name[3].split('_').join(' ').capitalize}"
    = haml :stylesheets
    = haml :javascripts_head

  %body
    .frame.frame--row.frame--top
      .header
        %a{ href: "#{url_location}", class: 'header__logo clearfix' }
          = haml :logo
          .header__heading= "#{api_name} | #{engine_name[1].capitalize}"
    .frame.frame--column.frame--left.frame--full-column#left-frame
      %nav.nav
        %strong.nav__heading Sections
        .nav
          %ul.nav__list
            %li.nav__item
              %a{ href: "#{url_location}/admin", class: 'nav__class' } Admin API
            %li.nav__item
              %a{ href: "#{url_location}/storefront", class: 'nav__class' } Storefront API
        = haml :nav, locals: { index: index, api_name: api_name }
    .frame.frame--column.frame--center
      %main.main.main--with-sidebar
        .container.container--full= yield

    = haml :javascripts

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
workarea-api-4.5.6 app/views/workarea/api/docs/layout.haml
workarea-api-4.5.5 app/views/workarea/api/docs/layout.haml
workarea-api-4.5.4 app/views/workarea/api/docs/layout.haml
workarea-api-4.5.3 app/views/workarea/api/docs/layout.haml
workarea-api-4.5.2 app/views/workarea/api/docs/layout.haml
workarea-api-4.5.0 app/views/workarea/api/docs/layout.haml
workarea-api-4.4.7 app/views/workarea/api/docs/layout.haml
workarea-api-4.4.6 app/views/workarea/api/docs/layout.haml