Sha256: be671dd1c33c5aa594d1a015f6bef8ed0f94f67cb739dbfaae95a06882fdfadc

Contents?: true

Size: 1.31 KB

Versions: 1

Compression:

Stored size: 1.31 KB

Contents

doctype html
html
  head
    title = current_store.name

    - if current_store.meta_keywords.present?
      meta name="keywords" content="#{current_store.meta_keywords}"

    - if current_store.meta_description.present?
      meta name="description" content="#{current_store.meta_description}"

    = 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

1 entries across 1 versions & 1 rubygems

Version Path
comable_frontend-0.4.2 app/views/layouts/comable/application.slim