Sha256: d7efd120644d5e1cc31f3a472602ae37291dc57d5567e2ded07e24c5f420c26a

Contents?: true

Size: 1.17 KB

Versions: 3

Compression:

Stored size: 1.17 KB

Contents

doctype html
html
  head
    = display_meta_tags site: current_store.name, description: current_store.meta_description, keywords: current_store.meta_keywords

    = stylesheet_link_tag "comable/frontend/application", media: "all"
    = javascript_include_tag "comable/frontend/application"
    = csrf_meta_tags

    css:
      .hidden { display: none; }

    javascript:
      jQuery(document).ready(function() {
        $(".dropdown").hover(
          function() { $('.dropdown-menu', this).stop().delay(500).queue(function() { $(this).show().parent().addClass('open').dequeue(); }) },
          function() { $('.dropdown-menu', this).stop().hide().parent().removeClass('open'); });
      });

  - mini_header_flag = controller_name == 'orders' || devise_controller?
  body class="#{'comable-checkout-layout' if mini_header_flag}"
    = render 'comable/shared/tracker'

    - if mini_header_flag
      = render 'comable/shared/header_for_checkout'
    - else
      = render 'comable/shared/header'

    main class="#{'container' if controller_name != 'home'}"
      - flash.each do |name, msg|
        = content_tag(:div, msg, id: "flash_#{name}")

      == yield

    = render 'comable/shared/footer'

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
comable-frontend-0.7.0.beta1 app/views/layouts/comable/application.slim
comable-frontend-0.6.0 app/views/layouts/comable/application.slim
comable_frontend-0.5.0 app/views/layouts/comable/application.slim